public abstract class AbstractHorseEntity extends AnimalEntity implements IInventoryChangedListener, IJumpingMount
AgeableEntity.AgeableData
Entity.IMoveCallback
Modifier and Type | Field and Description |
---|---|
private boolean |
allowStandSliding |
protected boolean |
canGallop |
private int |
eatingCounter |
protected int |
gallopTime |
private float |
headLean |
protected Inventory |
horseChest |
protected boolean |
horseJumping |
private static java.util.function.Predicate<LivingEntity> |
IS_HORSE_BREEDING |
private LazyOptional<?> |
itemHandler |
protected static IAttribute |
JUMP_STRENGTH |
protected float |
jumpPower |
private int |
jumpRearingCounter |
private static EntityPredicate |
MOMMY_TARGETING |
private float |
mouthOpenness |
private int |
openMouthCounter |
private static DataParameter<java.util.Optional<java.util.UUID>> |
OWNER_UNIQUE_ID |
private float |
prevHeadLean |
private float |
prevMouthOpenness |
private float |
prevRearingAmount |
private float |
rearingAmount |
int |
sprintCounter |
private static DataParameter<java.lang.Byte> |
STATUS |
int |
tailCounter |
protected int |
temper |
forcedAge, forcedAgeTimer, growingAge
experienceValue, goalSelector, inventoryArmorDropChances, inventoryHandsDropChances, jumpController, livingSoundTime, lookController, moveController, navigator, targetSelector
activeItemStack, activeItemStackUseCount, arrowHitTimer, attackedAtYaw, attackingPlayer, beeStingRemovalCooldown, brain, dead, deathTime, ENTITY_GRAVITY, hurtTime, idleTime, interpTargetHeadYaw, interpTargetPitch, interpTargetX, interpTargetY, interpTargetYaw, interpTargetZ, interpTicksHead, isJumping, isSwingInProgress, jumpMovementFactor, lastDamage, limbSwing, limbSwingAmount, LIVING_FLAGS, maxHurtResistantTime, maxHurtTime, movedDistance, moveForward, moveStrafing, moveVertical, NAMETAG_DISTANCE, newPosRotationIncrements, onGroundSpeedFactor, prevLimbSwingAmount, prevMovedDistance, prevOnGroundSpeedFactor, prevRenderYawOffset, prevRotationYawHead, prevSwingProgress, randomUnused1, randomUnused2, recentlyHit, renderYawOffset, rotationYawHead, scoreValue, SLEEPING_SIZE, spinAttackDuration, SWIM_SPEED, swingingHand, swingProgress, swingProgressInt, ticksElytraFlying, ticksSinceLastSwing, unused180
addedToChunk, cachedUniqueIdString, chunkCoordX, chunkCoordY, chunkCoordZ, collided, collidedHorizontally, collidedVertically, dataManager, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, eyesInWater, fallDistance, firstUpdate, FLAGS, forceSpawn, glowing, hurtResistantTime, ignoreFrustumCheck, inLava, inPortal, inWater, isAirBorne, lastPortalPos, lastPortalVec, lastTickPosX, lastTickPosY, lastTickPosZ, LOGGER, motionMultiplier, noClip, onGround, portalCounter, POSE, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, removed, rideCooldown, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, stepHeight, submergedHeight, teleportDirection, ticksExisted, timeUntilPortal, velocityChanged, world
DUMMY
Modifier | Constructor and Description |
---|---|
protected |
AbstractHorseEntity(EntityType<? extends AbstractHorseEntity> type,
World worldIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
attackEntityFrom(DamageSource source,
float amount) |
protected int |
calculateFallDamage(float p_225508_1_,
float p_225508_2_) |
boolean |
canBeLeashedTo(PlayerEntity player) |
boolean |
canBePushed() |
boolean |
canBeSaddled() |
boolean |
canBeSteered() |
boolean |
canEatGrass() |
boolean |
canJump() |
protected boolean |
canMate() |
boolean |
canMateWith(AnimalEntity otherAnimal) |
AgeableEntity |
createChild(AgeableEntity ageable) |
protected void |
dropInventory() |
private void |
eatingHorse() |
protected void |
followMother() |
protected SoundEvent |
getAmbientSound() |
protected SoundEvent |
getAngrySound() |
<T> LazyOptional<T> |
getCapability(Capability<T> capability,
Direction facing)
Retrieves the Optional handler for the capability requested on the specific side.
|
Entity |
getControllingPassenger() |
protected SoundEvent |
getDeathSound() |
float |
getGrassEatingAmount(float p_110258_1_) |
double |
getHorseJumpStrength() |
protected boolean |
getHorseWatchableBoolean(int p_110233_1_) |
protected SoundEvent |
getHurtSound(DamageSource damageSourceIn) |
protected int |
getInventorySize() |
int |
getMaxSpawnedInChunk() |
int |
getMaxTemper() |
protected double |
getModifiedJumpStrength() |
protected float |
getModifiedMaxHealth() |
protected double |
getModifiedMovementSpeed() |
float |
getMouthOpennessAngle(float p_110201_1_) |
java.util.UUID |
getOwnerUniqueId() |
float |
getRearingAmount(float p_110223_1_) |
protected float |
getSoundVolume() |
protected float |
getStandingEyeHeight(Pose poseIn,
EntitySize sizeIn) |
int |
getTalkInterval() |
int |
getTemper() |
protected boolean |
handleEating(PlayerEntity player,
ItemStack stack) |
void |
handleStartJump(int p_184775_1_) |
void |
handleStatusUpdate(byte id) |
void |
handleStopJump() |
int |
increaseTemper(int p_110198_1_) |
protected void |
initExtraAI() |
protected void |
initHorseChest() |
boolean |
isArmor(ItemStack stack) |
boolean |
isBreeding() |
boolean |
isBreedingItem(ItemStack stack) |
boolean |
isEatingHaystack() |
boolean |
isHorseJumping() |
boolean |
isHorseSaddled() |
protected boolean |
isMovementBlocked() |
boolean |
isOnLadder() |
boolean |
isRearing() |
boolean |
isTame() |
void |
livingTick() |
private void |
makeHorseRear() |
void |
makeMad() |
protected void |
mountTo(PlayerEntity player) |
private void |
moveTail() |
ILivingEntityData |
onInitialSpawn(IWorld worldIn,
DifficultyInstance difficultyIn,
SpawnReason reason,
ILivingEntityData spawnDataIn,
CompoundNBT dataTag) |
void |
onInventoryChanged(IInventory invBasic) |
protected void |
onLeashDistance(float p_142017_1_) |
boolean |
onLivingFall(float distance,
float damageMultiplier) |
void |
openGUI(PlayerEntity playerEntity) |
private void |
openHorseMouth() |
protected void |
playGallopSound(SoundType p_190680_1_) |
protected void |
playJumpSound() |
protected void |
playStepSound(BlockPos pos,
BlockState blockIn) |
void |
readAdditional(CompoundNBT compound) |
protected void |
registerAttributes() |
protected void |
registerData() |
protected void |
registerGoals() |
void |
remove(boolean keepData) |
boolean |
replaceItemInInventory(int inventorySlot,
ItemStack itemStackIn) |
void |
setBreeding(boolean breeding) |
void |
setEatingHaystack(boolean p_110227_1_) |
void |
setHorseJumping(boolean jumping) |
void |
setHorseSaddled(boolean saddled) |
void |
setHorseTamed(boolean tamed) |
protected void |
setHorseWatchableBoolean(int p_110208_1_,
boolean p_110208_2_) |
void |
setJumpPower(int jumpPowerIn) |
protected void |
setOffspringAttributes(AgeableEntity p_190681_1_,
AbstractHorseEntity p_190681_2_) |
void |
setOwnerUniqueId(java.util.UUID uniqueId) |
void |
setRearing(boolean rearing) |
boolean |
setTamedBy(PlayerEntity player) |
void |
setTemper(int temperIn) |
protected void |
spawnHorseParticles(boolean p_110216_1_) |
void |
tick() |
void |
travel(Vec3d p_213352_1_) |
protected void |
updateHorseSlots() |
void |
updatePassenger(Entity passenger) |
boolean |
wearsArmor() |
void |
writeAdditional(CompoundNBT compound) |
canAnimalSpawn, canBreed, canDespawn, consumeItemFromStack, getBlockPathWeight, getExperiencePoints, getLoveCause, getYOffset, isInLove, processInteract, resetInLove, setInLove, setInLove, updateAITasks
addGrowth, ageUp, getGrowingAge, isChild, notifyDataManagerChange, onChildSpawnFromEgg, onGrowingAdult, setGrowingAge
canSpawn, followLeashSpeed, getBlockPathWeight, hasPath, updateLeashedState
attackEntityAsMob, baseTick, canAttack, canAttack, canEquipItem, canPassengerSteer, canPickUpItem, canPickUpLoot, canSpawnOn, checkDespawn, clearLeashed, createBodyController, createNavigator, detachHome, dropLoot, dropSpecialItems, eatGrassBonus, enablePersistence, faceEntity, getArmorByChance, getArmorInventoryList, getAttackTarget, getDropChance, getEntitySenses, getFaceRotSpeed, getHeldEquipment, getHomePosition, getHorizontalFaceSpeed, getItemStackFromSlot, getJumpController, getLeashed, getLeashHolder, getLookController, getLootContextBuilder, getLootTable, getLootTableResourceLocation, getMaxFallHeight, getMaximumHomeDistance, getMoveHelper, getNavigator, getPathPriority, getPrimaryHand, getSlotForItemStack, getVerticalFaceSpeed, handleFluidJump, isAggressive, isAIDisabled, isDespawnPeaceful, isHolding, isInDaylight, isItemStackInSlot, isLeftHanded, isMaxGroupSize, isNoDespawnRequired, isNotColliding, isServerWorld, isWithinHomeDistanceCurrentPosition, isWithinHomeDistanceFromPosition, playAmbientSound, playHurtSound, preventDespawn, processInitialInteract, sendDebugPackets, setAggroed, setAIMoveSpeed, setAttackTarget, setCanPickUpLoot, setDropChance, setEnchantmentBasedOnDifficulty, setEquipmentBasedOnDifficulty, setHomePosAndDistance, setItemStackToSlot, setLeashHolder, setLeftHanded, setMoveForward, setMoveStrafing, setMoveVertical, setNoAI, setPathPriority, setVehicleEntityId, shouldExchangeEquipment, spawnExplosionParticle, startRiding, updateDistance, updateEntityActionState, updateEquipmentIfNeeded, updateMovementGoalFlags
addPotionEffect, applyArmorCalculations, applyEntityCollision, applyPotionDamageCalculations, areAllPotionsAmbient, attackable, attemptTeleport, blockUsingShield, canAttack, canBeCollidedWith, canBeHitWithPotion, canBeRiddenInWater, canBreatheUnderwater, canDropLoot, canEntityBeSeen, clearActivePotions, clearBedPosition, collideWithEntity, collideWithNearbyEntities, constructKnockBackVector, createBrain, createSpawnPacket, createWitherRose, curePotionEffects, damageArmor, damageEntity, damageShield, decreaseAirSupply, determineNextAir, dropExperience, findAmmo, frostWalk, getAbsorptionAmount, getActiveHand, getActiveItemStack, getActivePotionEffect, getActivePotionEffects, getActivePotionMap, getAIMoveSpeed, getAlwaysRenderNameTagForRender, getArmorCoverPercentage, getArrowCountInEntity, getAttackingEntity, getAttribute, getAttributes, getBedDirection, getBedPosition, getBeeStingCount, getBlockState, getBrain, getCombatTracker, getCreatureAttribute, getDrinkSound, getEatSound, getEyeHeight, getFallSound, getHealth, getHeldItem, getHeldItemMainhand, getHeldItemOffhand, getIdleTime, getItemInUseCount, getItemInUseMaxCount, getJumpUpwardsMotion, getLastAttackedEntity, getLastAttackedEntityTime, getLastDamageSource, getMaxHealth, getRenderScale, getRevengeTarget, getRevengeTimer, getRNG, getRotationYawHead, getSize, getSoundPitch, getSwimAnimation, getSwingProgress, getTicksElytraFlying, getTotalArmorValue, getVisibilityMultiplier, getWaterSlowDown, getYaw, handleFluidSneak, hasItemInSlot, heal, isActiveItemStackBlocking, isActualySwimming, isAlive, isElytraFlying, isEntityInsideOpaqueBlock, isEntityUndead, isHandActive, isPlayer, isPotionActive, isPotionApplicable, isSleeping, isSpinAttacking, isSuppressingSlidingDownLadder, jump, knockBack, lookAt, markPotionsDirty, markVelocityChanged, onChangedPotionEffect, onDeath, onDeathUpdate, onFinishedPotionEffect, onFoodEaten, onItemPickup, onItemUseFinish, onKillCommand, onNewPotionEffect, outOfWorld, performHurtAnimation, playEquipSound, playFallSound, removeActivePotionEffect, removePotionEffect, resetActiveHand, resetPotionEffectMetadata, sendBreakAnimation, sendBreakAnimation, sendEndCombat, sendEnterCombat, setAbsorptionAmount, setActiveHand, setArrowCountInEntity, setBedPosition, setBeeStingCount, setHeadRotation, setHealth, setHeldItem, setIdleTime, setJumping, setLastAttackedEntity, setLivingFlag, setPartying, setPositionAndRotationDirect, setRenderYawOffset, setRevengeTarget, setRotationYawHead, setSprinting, shouldRiderFaceForward, spawnDrops, spinAttack, startSleeping, startSpinAttack, stopActiveHand, stopRiding, swing, swingArm, triggerItemUseEffects, updateArmSwingProgress, updateFallState, updatePotionEffects, updatePotionMetadata, updateRidden, updateSpinAttack, wakeUp
addPassenger, addTag, addTrackingPlayer, addVelocity, allowLogging, applyEnchantments, applyOrientationToEntity, applyPlayerInteraction, areEyesInFluid, areEyesInFluid, awardKillScore, calculateUpVector, canBeAttackedWithItem, canBeRidden, canExplosionDestroyBlock, canFitPassenger, canRenderOnFire, canSwim, canTrample, canTriggerWalking, canUpdate, canUpdate, captureDrops, captureDrops, changeDimension, changeDimension, collideBoundingBox, collideBoundingBoxHeuristically, copyDataFromOld, copyLocationAndAnglesFrom, createRunningParticles, dealFireDamage, decrementTimeUntilPortal, detach, determineNextStepDistance, doBlockCollisions, doesEntityNotTriggerPressurePlate, doWaterSplashEffect, entityDropItem, entityDropItem, entityDropItem, entityDropItem, equals, extinguish, fillCrashReport, forceSetPosition, getAdjustedHorizontalFacing, getAir, getAllowedMovement, getBoundingBox, getBoundingBox, getBrightness, getCachedUniqueIdString, getCollisionBorderSize, getCollisionBoundingBox, getCollisionBox, getCommandSource, getCustomName, getDataManager, getDisplayName, getDistance, getDistanceSq, getDistanceSq, getDistanceSq, getEntityId, getEntityString, getEntityWorld, getEquipmentAndArmor, getExplosionResistance, getEyeHeight, getEyeHeight, getEyePosition, getFireImmuneTicks, getFireTimer, getFlag, getForward, getHeight, getHighspeedSplashSound, getHorizontalFacing, getHoverEvent, getJumpFactor, getLastPortalVec, getLook, getLookVec, getLowestRidingEntity, getMaxAir, getMaxInPortalTime, getMirroredYaw, getMotion, getMountedYOffset, getName, getOnPosition, getPassengers, getPermissionLevel, getPersistentData, getPitch, getPitchYaw, getPortalCooldown, getPose, getPosition, getPositionUnderneath, getPositionVec, getPositionVector, getPosX, getPosXRandom, getPosXWidth, getPosY, getPosYEye, getPosYHeight, getPosYRandom, getPosZ, getPosZRandom, getPosZWidth, getProfessionName, getPushReaction, getRecursivePassengers, getRenderBoundingBox, getRenderDistanceWeight, getRidingEntity, getRotatedYaw, getScoreboardName, getSelfAndPassengers, getServer, getSoundCategory, getSpeedFactor, getSplashSound, getSubmergedHeight, getSwimSound, getTags, getTeam, getTeamColor, getTeleportDirection, getType, getUniqueID, getUpVector, getVectorForRotation, getWidth, handleFluidAcceleration, handlePistonMovement, handleWaterMovement, hasCustomName, hashCode, hasNoGravity, hasPermissionLevel, hitByEntity, horizontalMag, ignoreItemEntityData, isAddedToWorld, isBeingRidden, isBurning, isCrouching, isCustomNameVisible, isDescending, isDiscrete, isEntityEqual, isGlowing, isImmuneToExplosions, isImmuneToFire, isInLava, isInRangeToRender3d, isInRangeToRenderDist, isInvisible, isInvisibleToPlayer, isInvulnerable, isInvulnerableTo, isInWater, isInWaterOrBubbleColumn, isInWaterRainOrBubbleColumn, isLiving, isNonBoss, isOffsetPositionInLiquid, isOnePlayerRiding, isOnSameTeam, isOnScoreboardTeam, isPassenger, isPassenger, isPassenger, isPoseClear, isPushedByWater, isRidingOrBeingRiddenBy, isRidingSameEntity, isSilent, isSneaking, isSpectatedByPlayer, isSpectator, isSprinting, isSteppingCarefully, isSuppressingBounce, isSwimming, isVisuallySwimming, isWet, makeFlySound, maybeBackOffFromEdge, move, moveForced, moveRelative, moveToBlockPosAndAngles, newDoubleNBTList, newFloatNBTList, onAddedToWorld, onCollideWithPlayer, onEnterBubbleColumn, onEnterBubbleColumnWithAirAbove, onInsideBlock, onKillEntity, onRemovedFromWorld, onStruckByLightning, pick, playFlySound, playSound, playSwimSound, positionRider, preparePlayerToSpawn, pushOutOfBlocks, read, recalculateSize, recenterBoundingBox, remove, removePassenger, removePassengers, removeTag, removeTrackingPlayer, repositionDirectPassengers, resetPositionToBB, revive, rotateTowards, sendMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFire, setFireTimer, setFlag, setGlowing, setInLava, setInvisible, setInvulnerable, setLocationAndAngles, setMotion, setMotion, setMotionMultiplier, setNoGravity, setOnFireFromLava, setPacketCoordinates, setPortal, setPose, setPosition, setPositionAndRotation, setPositionAndUpdate, setPositionNonDirty, setRawPosition, setRenderDistanceWeight, setRotation, setSilent, setSneaking, setSwimming, setUniqueId, setVelocity, setWorld, shouldReceiveErrors, shouldReceiveFeedback, shouldSetPosAfterLoading, spawnRunningParticles, startRiding, teleportKeepLoaded, toString, updatePortal, updateSwimming, writeUnlessPassenger, writeUnlessRemoved, writeWithoutTypeId
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, invalidateCaps, reviveCaps, serializeCaps
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
canBeRiddenInWater, canRiderInteract, deserializeNBT, getClassification, getEntity, getPickedResult, serializeNBT, shouldRiderSit
getCapability
private static final java.util.function.Predicate<LivingEntity> IS_HORSE_BREEDING
private static final EntityPredicate MOMMY_TARGETING
protected static final IAttribute JUMP_STRENGTH
private static final DataParameter<java.lang.Byte> STATUS
private static final DataParameter<java.util.Optional<java.util.UUID>> OWNER_UNIQUE_ID
private int eatingCounter
private int openMouthCounter
private int jumpRearingCounter
public int tailCounter
public int sprintCounter
protected boolean horseJumping
protected Inventory horseChest
protected int temper
protected float jumpPower
private boolean allowStandSliding
private float headLean
private float prevHeadLean
private float rearingAmount
private float prevRearingAmount
private float mouthOpenness
private float prevMouthOpenness
protected boolean canGallop
protected int gallopTime
private LazyOptional<?> itemHandler
protected AbstractHorseEntity(EntityType<? extends AbstractHorseEntity> type, World worldIn)
protected void registerGoals()
registerGoals
in class MobEntity
protected void initExtraAI()
protected void registerData()
registerData
in class AgeableEntity
protected boolean getHorseWatchableBoolean(int p_110233_1_)
protected void setHorseWatchableBoolean(int p_110208_1_, boolean p_110208_2_)
public boolean isTame()
@Nullable public java.util.UUID getOwnerUniqueId()
public void setOwnerUniqueId(@Nullable java.util.UUID uniqueId)
public boolean isHorseJumping()
public void setHorseTamed(boolean tamed)
public void setHorseJumping(boolean jumping)
public boolean canBeLeashedTo(PlayerEntity player)
canBeLeashedTo
in class MobEntity
protected void onLeashDistance(float p_142017_1_)
onLeashDistance
in class CreatureEntity
public boolean isEatingHaystack()
public boolean isRearing()
public boolean isBreeding()
public void setBreeding(boolean breeding)
public void setHorseSaddled(boolean saddled)
public int getTemper()
public void setTemper(int temperIn)
public int increaseTemper(int p_110198_1_)
public boolean attackEntityFrom(DamageSource source, float amount)
attackEntityFrom
in class AnimalEntity
public boolean canBePushed()
canBePushed
in class LivingEntity
private void eatingHorse()
public boolean onLivingFall(float distance, float damageMultiplier)
onLivingFall
in class LivingEntity
protected int calculateFallDamage(float p_225508_1_, float p_225508_2_)
calculateFallDamage
in class LivingEntity
protected int getInventorySize()
protected void initHorseChest()
protected void updateHorseSlots()
public void onInventoryChanged(IInventory invBasic)
onInventoryChanged
in interface IInventoryChangedListener
public double getHorseJumpStrength()
@Nullable protected SoundEvent getDeathSound()
getDeathSound
in class LivingEntity
@Nullable protected SoundEvent getHurtSound(DamageSource damageSourceIn)
getHurtSound
in class LivingEntity
@Nullable protected SoundEvent getAmbientSound()
getAmbientSound
in class MobEntity
public boolean canBeSaddled()
public boolean isHorseSaddled()
@Nullable protected SoundEvent getAngrySound()
protected void playStepSound(BlockPos pos, BlockState blockIn)
playStepSound
in class Entity
protected void playGallopSound(SoundType p_190680_1_)
protected void registerAttributes()
registerAttributes
in class MobEntity
public int getMaxSpawnedInChunk()
getMaxSpawnedInChunk
in class MobEntity
public int getMaxTemper()
protected float getSoundVolume()
getSoundVolume
in class LivingEntity
public int getTalkInterval()
getTalkInterval
in class AnimalEntity
public void openGUI(PlayerEntity playerEntity)
protected boolean handleEating(PlayerEntity player, ItemStack stack)
protected void mountTo(PlayerEntity player)
protected boolean isMovementBlocked()
isMovementBlocked
in class LivingEntity
public boolean isBreedingItem(ItemStack stack)
isBreedingItem
in class AnimalEntity
private void moveTail()
protected void dropInventory()
dropInventory
in class LivingEntity
public void livingTick()
livingTick
in class AnimalEntity
protected void followMother()
public boolean canEatGrass()
private void openHorseMouth()
public void setEatingHaystack(boolean p_110227_1_)
public void setRearing(boolean rearing)
private void makeHorseRear()
public void makeMad()
public boolean setTamedBy(PlayerEntity player)
public void travel(Vec3d p_213352_1_)
travel
in class LivingEntity
protected void playJumpSound()
public void writeAdditional(CompoundNBT compound)
writeAdditional
in class AnimalEntity
public void readAdditional(CompoundNBT compound)
readAdditional
in class AnimalEntity
public boolean canMateWith(AnimalEntity otherAnimal)
canMateWith
in class AnimalEntity
protected boolean canMate()
@Nullable public AgeableEntity createChild(AgeableEntity ageable)
createChild
in class AgeableEntity
protected void setOffspringAttributes(AgeableEntity p_190681_1_, AbstractHorseEntity p_190681_2_)
public boolean canBeSteered()
canBeSteered
in class MobEntity
public float getGrassEatingAmount(float p_110258_1_)
public float getRearingAmount(float p_110223_1_)
public float getMouthOpennessAngle(float p_110201_1_)
public void setJumpPower(int jumpPowerIn)
setJumpPower
in interface IJumpingMount
public boolean canJump()
canJump
in interface IJumpingMount
public void handleStartJump(int p_184775_1_)
handleStartJump
in interface IJumpingMount
public void handleStopJump()
handleStopJump
in interface IJumpingMount
protected void spawnHorseParticles(boolean p_110216_1_)
public void handleStatusUpdate(byte id)
handleStatusUpdate
in class AnimalEntity
public void updatePassenger(Entity passenger)
updatePassenger
in class Entity
protected float getModifiedMaxHealth()
protected double getModifiedJumpStrength()
protected double getModifiedMovementSpeed()
public boolean isOnLadder()
isOnLadder
in class LivingEntity
protected float getStandingEyeHeight(Pose poseIn, EntitySize sizeIn)
getStandingEyeHeight
in class LivingEntity
public boolean wearsArmor()
public boolean isArmor(ItemStack stack)
public boolean replaceItemInInventory(int inventorySlot, ItemStack itemStackIn)
replaceItemInInventory
in class MobEntity
@Nullable public Entity getControllingPassenger()
getControllingPassenger
in class Entity
@Nullable public ILivingEntityData onInitialSpawn(IWorld worldIn, DifficultyInstance difficultyIn, SpawnReason reason, @Nullable ILivingEntityData spawnDataIn, @Nullable CompoundNBT dataTag)
onInitialSpawn
in class AgeableEntity
public <T> LazyOptional<T> getCapability(Capability<T> capability, @Nullable Direction facing)
ICapabilityProvider
getCapability
in interface ICapabilityProvider
getCapability
in class LivingEntity
public void remove(boolean keepData)
remove
in class LivingEntity