protected void addUpgrade(NBTTagCompound compound) {
NBTTagCompound upgrades = compound.getCompoundTag(UPGRADE_COMPOUND);
if(!compound.hasKey(UPGRADE_COMPOUND)) {
compound.setTag(UPGRADE_COMPOUND, upgrades);
}
NBTBase data = createUpgradeData();
upgrades.setTag(getTagName(), data == null ? new NBTTagByte((byte)1) : data);
}
GolemUpgrade.java 文件源码
java
阅读 17
收藏 0
点赞 0
评论 0
项目:Gadomancy
作者:
评论列表
文章目录