Class EntityTameable

    • Constructor Detail

      • EntityTameable

        public EntityTameable​(World worldIn)
    • Method Detail

      • writeEntityToNBT

        public void writeEntityToNBT​(NBTTagCompound nbttagcompound)
        + (abstract) Protected helper method to write subclass entity data to NBT.
        Overrides:
        writeEntityToNBT in class EntityAnimal
      • readEntityFromNBT

        public void readEntityFromNBT​(NBTTagCompound nbttagcompound)
        + (abstract) Protected helper method to read subclass entity data from NBT.
        Overrides:
        readEntityFromNBT in class EntityAnimal
      • playTameEffect

        protected void playTameEffect​(boolean play)
        + Play the taming effect, will either be hearts or smoke depending on status
      • isTamed

        public boolean isTamed()
      • setTamed

        public void setTamed​(boolean tamed)
      • setupTamedAI

        protected void setupTamedAI()
      • isSitting

        public boolean isSitting()
      • setSitting

        public void setSitting​(boolean sitting)
      • setOwnerId

        public void setOwnerId​(java.lang.String ownerUuid)