EntityStatue.java 文件源码

java
阅读 18 收藏 0 点赞 0 评论 0

项目:Mods 作者:
@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);
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号