TileEntitySkull.java 文件源码

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

项目:Cauldron 作者:
public void readFromNBT(NBTTagCompound p_145839_1_)
{
    super.readFromNBT(p_145839_1_);
    this.field_145908_a = p_145839_1_.getByte("SkullType");
    this.field_145910_i = p_145839_1_.getByte("Rot");

    if (this.field_145908_a == 3)
    {
        if (p_145839_1_.hasKey("Owner", 10))
        {
            this.field_152110_j = NBTUtil.func_152459_a(p_145839_1_.getCompoundTag("Owner"));
        }
        else if (p_145839_1_.hasKey("ExtraType", 8) && !StringUtils.isNullOrEmpty(p_145839_1_.getString("ExtraType")))
        {
            this.field_152110_j = new GameProfile((UUID)null, p_145839_1_.getString("ExtraType"));
            this.func_152109_d();
        }
    }
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号