@Override public void writeToNBT(NBTTagCompound tagCompound) { super.writeToNBT(tagCompound); Boolean value = redstoneOut.getValue(); tagCompound.setBoolean("rs", value == null ? false : value); tagCompound.setBoolean("prevIn", prevIn); }
@Override public void writeToNBT(NBTTagCompound tagCompound) { super.writeToNBT(tagCompound); tagCompound.setBoolean("powerOn", powerOn); tagCompound.setBoolean("connected", connected); tagCompound.setInteger("rfPerTick", totalRfPerTick); }
@Override public void writeToNBT(NBTTagCompound tagCompound) { super.writeToNBT(tagCompound); }