mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 14:52:58 +00:00
Cardboard Box block states and render
This commit is contained in:
1 parent
13893bd705
commit
4ecde79334
6 files changed
+94
-72
No files matched your search
@@ -27,14 +27,6 @@ public class ItemBlockPlastic extends ItemBlock
|
||||
return i;
|
||||
}
|
||||
|
||||
/*
|
||||
@Override
|
||||
public IIcon getIconFromDamage(int i)
|
||||
{
|
||||
return metaBlock.getIcon(2, i);
|
||||
}
|
||||
*/
|
||||
|
||||
@Override
|
||||
public String getItemStackDisplayName(ItemStack stack)
|
||||
{
|
||||
@@ -61,6 +53,6 @@ public class ItemBlockPlastic extends ItemBlock
|
||||
@SideOnly(Side.CLIENT)
|
||||
public int getColorFromItemStack(ItemStack stack, int renderPass)
|
||||
{
|
||||
return this.metaBlock.getRenderColor(this.metaBlock.getStateFromMeta(stack.getMetadata()));
|
||||
return metaBlock.getRenderColor(metaBlock.getStateFromMeta(stack.getMetadata()));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user