@Override public void writeToNBT(NBTTagCompound tagCompound) { super.writeToNBT(tagCompound); inventory.writeToNBT(tagCompound); energy.writeToNBT(tagCompound); crafter.writeToNBT(tagCompound); }
@Override public void readFromNBT(NBTTagCompound tagCompound) { super.readFromNBT(tagCompound); inventory.readFromNBT(tagCompound); energy.readFromNBT(tagCompound); crafter.readFromNBT(tagCompound); }
@Override public void updateEntity() { super.updateEntity(); if (getMutliBlock()) { crafter.updateEntity(); energy.updateEntity(); } }