Added crafting monitor item TESR (refactored out item rendering of that kind into a shared class).

Fixes server startup issues due to sidedness.
This commit is contained in:
Sebastian Hartte
2016-09-14 00:50:02 +02:00
parent dc88dda1f2
commit 7584d00681
12 changed files with 210 additions and 101 deletions
@@ -24,6 +24,8 @@ import java.io.IOException;
import io.netty.buffer.ByteBuf;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.util.EnumFacing;
import net.minecraftforge.fml.relauncher.Side;
@@ -132,7 +134,7 @@ public class TileCraftingMonitorTile extends TileCraftingTile implements IColora
public IAEItemStack getJobProgress()
{
return this.dspPlay;// AEItemStack.create( new ItemStack( Items.diamond, 64 ) );
return AEItemStack.create( new ItemStack( Items.DIAMOND, 64 ) ); // this.dspPlay;//
}
@Override