mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-25 06:24:43 +00:00
21 lines
1.5 KiB
Diff
21 lines
1.5 KiB
Diff
--- ../src-base/minecraft/net/minecraft/item/ItemSlab.java
|
|
+++ ../src-work/minecraft/net/minecraft/item/ItemSlab.java
|
|
@@ -60,7 +60,7 @@
|
|
|
|
if (axisalignedbb != Block.field_185506_k && p_180614_3_.func_72855_b(axisalignedbb.func_186670_a(p_180614_4_)) && p_180614_3_.func_180501_a(p_180614_4_, iblockstate1, 11))
|
|
{
|
|
- SoundType soundtype = this.field_179226_c.func_185467_w();
|
|
+ SoundType soundtype = this.field_179226_c.getSoundType(iblockstate1, p_180614_3_, p_180614_4_,p_180614_2_);
|
|
p_180614_3_.func_184133_a(p_180614_2_, p_180614_4_, soundtype.func_185841_e(), SoundCategory.BLOCKS, (soundtype.func_185843_a() + 1.0F) / 2.0F, soundtype.func_185847_b() * 0.8F);
|
|
--p_180614_1_.field_77994_a;
|
|
}
|
|
@@ -115,7 +115,7 @@
|
|
|
|
if (axisalignedbb != Block.field_185506_k && p_180615_3_.func_72855_b(axisalignedbb.func_186670_a(p_180615_4_)) && p_180615_3_.func_180501_a(p_180615_4_, iblockstate1, 11))
|
|
{
|
|
- SoundType soundtype = this.field_179226_c.func_185467_w();
|
|
+ SoundType soundtype = this.field_179226_c.getSoundType(iblockstate1, p_180615_3_, p_180615_4_, p_180615_1_);
|
|
p_180615_3_.func_184133_a(p_180615_1_, p_180615_4_, soundtype.func_185841_e(), SoundCategory.BLOCKS, (soundtype.func_185843_a() + 1.0F) / 2.0F, soundtype.func_185847_b() * 0.8F);
|
|
--p_180615_2_.field_77994_a;
|
|
}
|