mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 14:52:58 +00:00
~80 errors remaining. Need to properly add offhand support for most items
This commit is contained in:
1 parent
a89b8f666c
commit
79af86daae
40 files changed
+586
-436
No files matched your search
@@ -7,8 +7,6 @@ import net.minecraft.item.EnumDyeColor;
|
||||
import net.minecraft.item.ItemBlock;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.text.translation.I18n;
|
||||
import net.minecraftforge.fml.relauncher.Side;
|
||||
import net.minecraftforge.fml.relauncher.SideOnly;
|
||||
|
||||
public class ItemBlockPlastic extends ItemBlock
|
||||
{
|
||||
@@ -49,10 +47,4 @@ public class ItemBlockPlastic extends ItemBlock
|
||||
|
||||
return colourName + " " + super.getItemStackDisplayName(stack);
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public int getColorFromItemStack(ItemStack stack, int renderPass)
|
||||
{
|
||||
return metaBlock.getRenderColor(metaBlock.getStateFromMeta(stack.getMetadata()));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user