getting really close

This commit is contained in:
Progwml6 committed 2014-02-01 15:43:24 -05:00
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;
}