mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-21 20:52:26 +00:00
fix moar things
This commit is contained in:
1 parent
e3282b14db
commit
625d319b0c
7 files changed
+34
-31
No files matched your search
@@ -10,20 +10,17 @@ import net.minecraft.world.World;
|
||||
|
||||
public class WoolSlab2Item extends MultiItemBlock
|
||||
{
|
||||
int blockID;
|
||||
Block block;
|
||||
|
||||
public WoolSlab2Item(Block b)
|
||||
{
|
||||
super(b, "", "slab" ,ItemDye.field_150923_a);
|
||||
this.setSpecialIndex(7,7);
|
||||
this.blockID = id + 256;
|
||||
this.block = Block.blocksList[id + 256];
|
||||
super(b, "", "slab", ItemDye.field_150923_a);
|
||||
this.setSpecialIndex(7, 7);
|
||||
this.block = b;
|
||||
setMaxDamage(0);
|
||||
setHasSubtypes(true);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public boolean onItemUse (ItemStack stack, EntityPlayer player, World world, int x, int y, int z, int side, float hitX, float hitY, float hitZ)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user