@Override
public void writeEntityToNBT(NBTTagCompound compound) {
try {
NBTTagCompound tag= this.data;
if (tag != null)
compound.setTag("Entity", tag);
}
catch(Exception e){
}
compound.setShort("TicksLeft", (short) this.ticksLeft);
if(this.profile != null) {
compound.setTag("Profile", NBTUtil.writeGameProfile(new NBTTagCompound(), this.profile));
}
compound.setBoolean("Player", this.player);
compound.setBoolean("UseArm", this.useHand);
}
EntityStatue.java 文件源码
java
阅读 18
收藏 0
点赞 0
评论 0
项目:Mods
作者:
评论列表
文章目录