Interface IAnimal<T extends net.minecraft.entity.passive.EntityAnimal>

    • Method Detail

      • isBreedingItem

        boolean isBreedingItem​(IItemStack itemStack)
        Checks if the parameter is an item which this animal can be fed to breed it (wheat, carrots or seeds depending on the animal type)
      • interact

        boolean interact​(IPlayer player)
        Called when a player interacts with a mob. e.g. gets milk from a cow, gets into the saddle on a pig
      • setFollowPlayer

        void setFollowPlayer​(IPlayer player)
      • followingPlayer

        IPlayer followingPlayer()
      • isInLove

        boolean isInLove()
      • resetInLove

        void resetInLove()
      • canMateWith

        boolean canMateWith​(IAnimal animal)