@Override public void readEntityFromNBT(NBTTagCompound tag) { super.readEntityFromNBT(tag); if (tag.hasKey("texture")) this.setTextureID(tag.getByte("texture")); if (tag.hasKey("cryseType")) this.setCryseType(tag.getByte("cryseType")); if (tag.hasKey("spinTicks")) this.setSpinTicks(tag.getInteger("spinTicks")); if (tag.hasKey("attackTime")) this.setAttackTime(tag.getInteger("attackTime")); if (tag.hasKey("flutterTicks")) this.setFlutterTicks(tag.getInteger("flutterTicks")); }