public interface IAnimal<T extends net.minecraft.entity.passive.EntityAnimal> extends IEntityLiving<T>
| Modifier and Type | Method and Description |
|---|---|
boolean |
canMateWith(IAnimal animal) |
boolean |
interact(IPlayer player)
Called when a player interacts with a mob.
|
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)
|
boolean |
isInLove() |
void |
resetInLove() |
allowLeashing, canPickUpLoot, clearLeashed, clearNavigation, enablePersistence, faceEntity, getAlwaysRenderNameTag, getCustomNameTag, getLeashed, getLeashedTo, getMCEntity, hasCustomNameTag, isNavigating, isPersistent, navigateTo, playLivingSound, setAlwaysRenderNameTag, setCanPickUpLoot, setCustomNameTag, setLeashedTo, setMoveForward, spawnExplosionParticleaddPotionEffect, canSeeEntity, clearPotionEffects, getAbsorptionAmount, getAIMoveSpeed, getArmor, getAttackTarget, getHealth, getHeldItem, getLookingAtBlock, getLookingAtEntities, getLookingAtEntities, getLookingAtPos, getLookVector, getMaxHealth, getPotionEffect, getType, hurt, hurt, hurt, isAttacking, setAbsorptionAmount, setAIMoveSpeed, setArmor, setAttackTarget, setHealth, setHeldItem, swingHand, typeOfclearStoredData, clearTempData, despawn, dropItem, extinguish, getAge, getAllNbt, getBlockX, getBlockY, getBlockZ, getDimension, getEntityId, getHeight, getMotion, getMotionX, getMotionY, getMotionZ, getMount, getNbt, getNbtOptional, getPitch, getPosition, getRider, getRotation, getStoredData, getSurroundingEntities, getSurroundingEntities, getTempData, getTypeName, getUniqueID, getWidth, getWorld, getX, getY, getYOffset, getZ, hasCollided, hasStoredData, hasTempData, inFire, inLava, inWater, isAirborne, isAlive, isBurning, isSneaking, isSprinting, knockback, knockback, knockback, removeStoredData, removeTempData, setBurning, setImmune, setInvisible, setMotion, setMotion, setMotionX, setMotionY, setMotionZ, setMount, setNbt, setPitch, setPosition, setPosition, setRider, setRotation, setSneaking, setSprinting, setStoredData, setTempData, setX, setY, setZ, spawnParticle, storeAsCloneboolean isBreedingItem(IItemStack itemStack)
boolean interact(IPlayer player)
boolean isInLove()
void resetInLove()
boolean canMateWith(IAnimal animal)