mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-22 05:02:39 +00:00
Co-authored-by: Charsy89 <[email protected]>
This commit is contained in:
1 parent
9409f3d05b
commit
5f6c16fa9d
6 files changed
+7
-6
No files matched your search
@@ -50,7 +50,7 @@ public class SlimeGel extends TConstructBlock {
|
||||
x + 0.5F,
|
||||
y + 0.5F,
|
||||
z + 0.5F,
|
||||
var9.stepSound.soundName,
|
||||
var9.stepSound.getStepResourcePath(),
|
||||
(var9.stepSound.getVolume()) / 2.0F,
|
||||
var9.stepSound.getPitch() * 0.65F);
|
||||
}
|
||||
|
||||
@@ -29,6 +29,7 @@ public class BarricadeBlock extends MantleBlock {
|
||||
this.modelBlock = model;
|
||||
this.modelMeta = meta;
|
||||
setHardness(4.0F);
|
||||
this.setStepSound(Block.soundTypeWood);
|
||||
this.setCreativeTab(TConstructRegistry.blockTab);
|
||||
}
|
||||
|
||||
@@ -90,7 +91,7 @@ public class BarricadeBlock extends MantleBlock {
|
||||
x + 0.5F,
|
||||
y + 0.5F,
|
||||
z + 0.5F,
|
||||
var9.stepSound.soundName,
|
||||
var9.stepSound.func_150496_b(),
|
||||
(var9.stepSound.getVolume() + 1.0F) / 2.0F,
|
||||
var9.stepSound.getPitch() * 0.8F);
|
||||
player.swingItem();
|
||||
|
||||
@@ -60,7 +60,7 @@ public class Punji extends MantleBlock {
|
||||
(float) x + 0.5F,
|
||||
(float) y + 0.5F,
|
||||
(float) z + 0.5F,
|
||||
this.stepSound.soundName,
|
||||
this.stepSound.func_150496_b(),
|
||||
(this.stepSound.getVolume() + 1.0F) / 2.0F,
|
||||
this.stepSound.getPitch() * 0.8F);
|
||||
player.swingItem();
|
||||
|
||||
@@ -82,7 +82,7 @@ public class BarricadeItem extends ItemBlock {
|
||||
(float) x + 0.5F,
|
||||
(float) y + 0.5F,
|
||||
(float) z + 0.5F,
|
||||
block.stepSound.soundName,
|
||||
block.stepSound.func_150496_b(),
|
||||
(block.stepSound.getVolume() + 1.0F) / 2.0F,
|
||||
block.stepSound.getPitch() * 0.8F);
|
||||
--stack.stackSize;
|
||||
|
||||
@@ -48,7 +48,7 @@ public class WoolSlab1Item extends MultiItemBlock {
|
||||
(float) x + 0.5F,
|
||||
(float) y + 0.5F,
|
||||
(float) z + 0.5F,
|
||||
this.block.stepSound.soundName,
|
||||
this.block.stepSound.func_150496_b(),
|
||||
(this.block.stepSound.getVolume() + 1.0F) / 2.0F,
|
||||
this.block.stepSound.getPitch() * 0.8F);
|
||||
--stack.stackSize;
|
||||
|
||||
@@ -53,7 +53,7 @@ public class WoolSlab2Item extends MultiItemBlock {
|
||||
(float) x + 0.5F,
|
||||
(float) y + 0.5F,
|
||||
(float) z + 0.5F,
|
||||
this.block.stepSound.soundName,
|
||||
this.block.stepSound.func_150496_b(),
|
||||
(this.block.stepSound.getVolume() + 1.0F) / 2.0F,
|
||||
this.block.stepSound.getPitch() * 0.8F);
|
||||
--stack.stackSize;
|
||||
|
||||
Reference in new issue
Block a user