Compiles for 1.9! Very buggy, some things are missing.

This commit is contained in:
mezz committed 2016-05-05 01:11:21 -07:00
1 parent 5d74c1254b
commit 7bf554b024
135 files changed
+1710 -1919

No files matched your search

@@ -11,6 +11,7 @@
package forestry.apiculture.items;
import net.minecraft.block.Block;
import net.minecraft.client.renderer.color.IItemColor;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
@@ -20,7 +21,7 @@ import net.minecraftforge.fml.relauncher.SideOnly;
import forestry.apiculture.blocks.BlockCandle;
import forestry.core.items.ItemBlockForestry;
public class ItemBlockCandle extends ItemBlockForestry<BlockCandle> {
public class ItemBlockCandle extends ItemBlockForestry<BlockCandle> implements IItemColor {
public ItemBlockCandle(Block block) {
super(block);
@@ -28,7 +29,7 @@ public class ItemBlockCandle extends ItemBlockForestry<BlockCandle> {
@Override
@SideOnly(Side.CLIENT)
public int getColorFromItemStack(ItemStack stack, int pass) {
public int getColorFromItemstack(ItemStack stack, int pass) {
int value = 0xffffff;
if (pass == 1 && stack.hasTagCompound()) {
NBTTagCompound tag = stack.getTagCompound();