mirror of
https://github.com/neoforged/NeoForge
synced 2026-08-20 08:23:13 -04:00
Backport to 1.21.1: Override context-aware getPlaceSound in SolidBucketItem (#3375)
Some checks failed
Release / release (push) Has been cancelled
Some checks failed
Release / release (push) Has been cancelled
Co-authored-by: sciwhiz12 <21304337+sciwhiz12@users.noreply.github.com>
This commit is contained in:
parent
89f705da9e
commit
d8d64b44bb
1 changed files with 14 additions and 0 deletions
14
patches/net/minecraft/world/item/SolidBucketItem.java.patch
Normal file
14
patches/net/minecraft/world/item/SolidBucketItem.java.patch
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
--- a/net/minecraft/world/item/SolidBucketItem.java
|
||||
+++ b/net/minecraft/world/item/SolidBucketItem.java
|
||||
@@ -33,6 +_,11 @@
|
||||
}
|
||||
|
||||
@Override
|
||||
+ protected SoundEvent getPlaceSound(BlockState state, Level level, BlockPos pos, Player entity) {
|
||||
+ return this.getPlaceSound(state);
|
||||
+ }
|
||||
+
|
||||
+ @Override
|
||||
public String getDescriptionId() {
|
||||
return this.getOrCreateDescriptionId();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue