@Override
public NBTTagCompound writeToNBT(NBTTagCompound tagIn) {
NBTTagCompound tagOut = super.writeToNBT(tagIn);
tagOut.setTag("inputtank", CapabilityFluidHandler.FLUID_HANDLER_CAPABILITY.writeNBT(inputTank, null));
tagOut.setTag("outputtank", CapabilityFluidHandler.FLUID_HANDLER_CAPABILITY.writeNBT(outputTank, null));
tagOut.setTag("heatstorage", Thermionics.CAPABILITY_HEATSTORAGE.writeNBT(heat, null));
tagOut.setTag("inventory", CapabilityItemHandler.ITEM_HANDLER_CAPABILITY.writeNBT(itemStorage, null));
tagOut.setTag("locked", new NBTTagByte((byte) (tanksLocked ? 1 : 0)));
return tagOut;
}
TileEntityPotStill.java 文件源码
java
阅读 25
收藏 0
点赞 0
评论 0
项目:Thermionics
作者:
评论列表
文章目录