mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 19:59:55 +00:00
getting really close
This commit is contained in:
1 parent
8ae89ba70e
commit
7c0fc5ed4a
21 files changed
+39
-39
No files matched your search
@@ -15,7 +15,7 @@ public class WoolSlab2Item extends MultiItemBlock
|
||||
|
||||
public WoolSlab2Item(Block b)
|
||||
{
|
||||
super(b, "", "slab" ,ItemDye.dyeColorNames);
|
||||
super(b, "", "slab" ,ItemDye.field_150923_a);
|
||||
this.setSpecialIndex(7,7);
|
||||
this.blockID = id + 256;
|
||||
this.block = Block.blocksList[id + 256];
|
||||
@@ -36,8 +36,8 @@ public class WoolSlab2Item extends MultiItemBlock
|
||||
{
|
||||
if (world.func_147465_d(x, y, z, Blocks.wool, trueMeta + 8, 3))
|
||||
{
|
||||
world.playSoundEffect((double) ((float) x + 0.5F), (double) ((float) y + 0.5F), (double) ((float) z + 0.5F), this.block.field_149762_H.getPlaceSound(),
|
||||
(this.block.field_149762_H.func_150497_c() + 1.0F) / 2.0F, this.block.field_149762_H.getPitch() * 0.8F);
|
||||
world.playSoundEffect((double) ((float) x + 0.5F), (double) ((float) y + 0.5F), (double) ((float) z + 0.5F), this.block.field_149762_H.field_150501_a,
|
||||
(this.block.field_149762_H.func_150497_c() + 1.0F) / 2.0F, this.block.field_149762_H.func_150494_d() * 0.8F);
|
||||
--stack.stackSize;
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user