public abstract class AbstractHorseEntity extends AnimalEntity implements IInventoryChangedListener, IJumpingMount
AgeableEntity.AgeableDataEntity.IMoveCallback| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected boolean |
canGallop |
protected int |
gallopTime
Used to determine the sound that the horse should make when it steps
|
protected Inventory |
horseChest |
protected boolean |
horseJumping |
protected static IAttribute |
JUMP_STRENGTH |
protected float |
jumpPower |
int |
sprintCounter |
int |
tailCounter |
protected int |
temper
"The higher this value, the more likely the horse is to be tamed next time a player rides it."
|
forcedAge, forcedAgeTimer, growingAgeexperienceValue, goalSelector, inventoryArmorDropChances, inventoryHandsDropChances, jumpController, livingSoundTime, lookController, moveController, navigator, targetSelectoractiveItemStack, 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, unused180addedToChunk, 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, worldDUMMY| 修飾子 | コンストラクタと説明 |
|---|---|
protected |
AbstractHorseEntity(EntityType<? extends AbstractHorseEntity> type,
World worldIn) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
attackEntityFrom(DamageSource source,
float amount)
Called when the entity is attacked.
|
boolean |
canBeLeashedTo(PlayerEntity player) |
boolean |
canBePushed()
Returns true if this entity should push and be pushed by other entities when colliding.
|
boolean |
canBeSaddled() |
boolean |
canBeSteered()
returns true if all the conditions for steering the entity are met.
|
boolean |
canEatGrass() |
boolean |
canJump() |
protected boolean |
canMate()
Return true if the horse entity ready to mate.
|
boolean |
canMateWith(AnimalEntity otherAnimal)
Returns true if the mob is currently able to mate with the specified mob.
|
AgeableEntity |
createChild(AgeableEntity ageable) |
protected void |
dropInventory() |
protected void |
followMother() |
protected int |
func_225508_e_(float p_225508_1_,
float p_225508_2_) |
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()
For vehicles, the first passenger is generally considered the controller and "drives" the vehicle.
|
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()
Will return how many at most can spawn in a chunk at once.
|
int |
getMaxTemper() |
protected double |
getModifiedJumpStrength()
Returns randomized jump strength
|
protected float |
getModifiedMaxHealth()
Returns randomized max health
|
protected double |
getModifiedMovementSpeed()
Returns randomized movement speed
|
float |
getMouthOpennessAngle(float p_110201_1_) |
java.util.UUID |
getOwnerUniqueId() |
float |
getRearingAmount(float p_110223_1_) |
protected float |
getSoundVolume()
Returns the volume for the sounds this mob makes.
|
protected float |
getStandingEyeHeight(Pose poseIn,
EntitySize sizeIn) |
int |
getTalkInterval()
Get number of ticks, at least during which the living entity will be silent.
|
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)
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 |
isEatingHaystack() |
boolean |
isHorseJumping() |
boolean |
isHorseSaddled() |
protected boolean |
isMovementBlocked()
Dead and sleeping entities cannot move
|
boolean |
isOnLadder()
Returns true if this entity should move as if it were on a ladder (either because it's actually on a ladder, or
for AI reasons)
|
boolean |
isRearing() |
boolean |
isTame() |
void |
livingTick()
Called frequently so the entity can update its state every tick as required.
|
void |
makeMad() |
protected void |
mountTo(PlayerEntity player) |
ILivingEntityData |
onInitialSpawn(IWorld worldIn,
DifficultyInstance difficultyIn,
SpawnReason reason,
ILivingEntityData spawnDataIn,
CompoundNBT dataTag) |
void |
onInventoryChanged(IInventory invBasic)
Called by InventoryBasic.onInventoryChanged() on a array that is never filled.
|
protected void |
onLeashDistance(float p_142017_1_) |
boolean |
onLivingFall(float distance,
float damageMultiplier) |
void |
openGUI(PlayerEntity playerEntity) |
protected void |
playGallopSound(SoundType p_190680_1_) |
protected void |
playJumpSound() |
protected void |
playStepSound(BlockPos pos,
BlockState blockIn) |
void |
readAdditional(CompoundNBT compound)
(abstract) Protected helper method to read subclass entity data from NBT.
|
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_)
"Spawns particles for the horse entity. par1 tells whether to spawn hearts.
|
void |
tick()
Called to update the entity's position/logic.
|
void |
travel(Vec3d p_213352_1_) |
protected void |
updateHorseSlots()
Updates the items in the saddle and armor slots of the horse's inventory.
|
void |
updatePassenger(Entity passenger) |
boolean |
wearsArmor() |
void |
writeAdditional(CompoundNBT compound) |
canAnimalSpawn, canBreed, canDespawn, consumeItemFromStack, getBlockPathWeight, getExperiencePoints, getLoveCause, getYOffset, isInLove, processInteract, resetInLove, setInLove, setInLove, updateAITasksaddGrowth, ageUp, getGrowingAge, isChild, notifyDataManagerChange, onChildSpawnFromEgg, onGrowingAdult, setGrowingAgecanSpawn, followLeashSpeed, getBlockPathWeight, hasPath, updateLeashedStateattackEntityAsMob, 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, updateMovementGoalFlagsaddPotionEffect, applyArmorCalculations, applyEntityCollision, applyPotionDamageCalculations, areAllPotionsAmbient, attackable, attemptTeleport, blockUsingShield, canAttack, canBeCollidedWith, canBeHitWithPotion, canBeRiddenInWater, canBreatheUnderwater, canDropLoot, canEntityBeSeen, clearActivePotions, clearBedPosition, collideWithEntity, collideWithNearbyEntities, constructKnockBackVector, createBrain, createSpawnPacket, curePotionEffects, damageArmor, damageEntity, damageShield, decreaseAirSupply, determineNextAir, findAmmo, frostWalk, func_213343_cS, func_226292_a_, func_226293_b_, func_226294_cV_, func_226296_dJ_, func_226298_f_, getAbsorptionAmount, getActiveHand, getActiveItemStack, getActivePotionEffect, getActivePotionEffects, getActivePotionMap, getAIMoveSpeed, getAlwaysRenderNameTagForRender, 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, 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, swingArm, updateArmSwingProgress, updateFallState, updatePotionEffects, updatePotionMetadata, updateRidden, updateSpinAttack, wakeUpaddPassenger, 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, func_225513_by_, func_225514_a_, func_226265_a_, func_226266_a_, func_226276_cg_, 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, getPushReaction, getRecursivePassengers, getRenderBoundingBox, getRenderDistanceWeight, getRidingEntity, getRotatedYaw, getScoreboardName, 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, isShiftKeyDown, isSilent, isSpectatedByPlayer, isSpectator, isSprinting, isSteppingCarefully, isSuppressingBounce, isSwimming, isVisuallySwimming, isWet, makeFlySound, move, moveForced, moveRelative, moveToBlockPosAndAngles, newDoubleNBTList, newFloatNBTList, onAddedToWorld, onCollideWithPlayer, onEnterBubbleColumn, onEnterBubbleColumnWithAirAbove, onInsideBlock, onKillEntity, onRemovedFromWorld, onStruckByLightning, pick, playFlySound, playSound, playSwimSound, preparePlayerToSpawn, pushOutOfBlocks, read, recalculateSize, recenterBoundingBox, remove, removePassenger, removePassengers, removeTag, removeTrackingPlayer, 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, writeWithoutTypeIdareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, invalidateCaps, reviveCaps, serializeCapscanBeRiddenInWater, canRiderInteract, deserializeNBT, getClassification, getEntity, getPickedResult, serializeNBT, shouldRiderSitgetCapabilityprotected static final IAttribute JUMP_STRENGTH
public int tailCounter
public int sprintCounter
protected boolean horseJumping
protected Inventory horseChest
protected int temper
protected float jumpPower
protected boolean canGallop
protected int gallopTime
protected AbstractHorseEntity(EntityType<? extends AbstractHorseEntity> type, World worldIn)
protected void registerGoals()
registerGoals クラス内 MobEntityprotected void initExtraAI()
protected void registerData()
registerData クラス内 AgeableEntityprotected 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 クラス内 MobEntityprotected void onLeashDistance(float p_142017_1_)
onLeashDistance クラス内 CreatureEntitypublic 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 クラス内 AnimalEntitypublic boolean canBePushed()
canBePushed クラス内 LivingEntitypublic boolean onLivingFall(float distance,
float damageMultiplier)
onLivingFall クラス内 LivingEntityprotected int func_225508_e_(float p_225508_1_,
float p_225508_2_)
func_225508_e_ クラス内 LivingEntityprotected int getInventorySize()
protected void initHorseChest()
protected void updateHorseSlots()
public void onInventoryChanged(IInventory invBasic)
onInventoryChanged インタフェース内 IInventoryChangedListenerpublic double getHorseJumpStrength()
@Nullable protected SoundEvent getDeathSound()
getDeathSound クラス内 LivingEntity@Nullable protected SoundEvent getHurtSound(DamageSource damageSourceIn)
getHurtSound クラス内 LivingEntity@Nullable protected SoundEvent getAmbientSound()
getAmbientSound クラス内 MobEntitypublic boolean canBeSaddled()
public boolean isHorseSaddled()
@Nullable protected SoundEvent getAngrySound()
protected void playStepSound(BlockPos pos, BlockState blockIn)
playStepSound クラス内 Entityprotected void playGallopSound(SoundType p_190680_1_)
protected void registerAttributes()
registerAttributes クラス内 MobEntitypublic int getMaxSpawnedInChunk()
getMaxSpawnedInChunk クラス内 MobEntitypublic int getMaxTemper()
protected float getSoundVolume()
getSoundVolume クラス内 LivingEntitypublic int getTalkInterval()
getTalkInterval クラス内 AnimalEntitypublic void openGUI(PlayerEntity playerEntity)
protected boolean handleEating(PlayerEntity player, ItemStack stack)
protected void mountTo(PlayerEntity player)
protected boolean isMovementBlocked()
isMovementBlocked クラス内 LivingEntitypublic boolean isBreedingItem(ItemStack stack)
isBreedingItem クラス内 AnimalEntityprotected void dropInventory()
dropInventory クラス内 LivingEntitypublic void livingTick()
livingTick クラス内 AnimalEntityprotected void followMother()
public boolean canEatGrass()
public void setEatingHaystack(boolean p_110227_1_)
public void setRearing(boolean rearing)
public void makeMad()
public boolean setTamedBy(PlayerEntity player)
public void travel(Vec3d p_213352_1_)
travel クラス内 LivingEntityprotected void playJumpSound()
public void writeAdditional(CompoundNBT compound)
writeAdditional クラス内 AnimalEntitypublic void readAdditional(CompoundNBT compound)
readAdditional クラス内 AnimalEntitypublic boolean canMateWith(AnimalEntity otherAnimal)
canMateWith クラス内 AnimalEntityprotected boolean canMate()
@Nullable public AgeableEntity createChild(AgeableEntity ageable)
createChild クラス内 AgeableEntityprotected void setOffspringAttributes(AgeableEntity p_190681_1_, AbstractHorseEntity p_190681_2_)
public boolean canBeSteered()
canBeSteered クラス内 MobEntitypublic 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 インタフェース内 IJumpingMountpublic boolean canJump()
canJump インタフェース内 IJumpingMountpublic void handleStartJump(int p_184775_1_)
handleStartJump インタフェース内 IJumpingMountpublic void handleStopJump()
handleStopJump インタフェース内 IJumpingMountprotected void spawnHorseParticles(boolean p_110216_1_)
public void handleStatusUpdate(byte id)
handleStatusUpdate クラス内 AnimalEntitypublic void updatePassenger(Entity passenger)
updatePassenger クラス内 Entityprotected float getModifiedMaxHealth()
protected double getModifiedJumpStrength()
protected double getModifiedMovementSpeed()
public boolean isOnLadder()
isOnLadder クラス内 LivingEntityprotected float getStandingEyeHeight(Pose poseIn, EntitySize sizeIn)
getStandingEyeHeight クラス内 LivingEntitypublic boolean wearsArmor()
public boolean isArmor(ItemStack stack)
public boolean replaceItemInInventory(int inventorySlot,
ItemStack itemStackIn)
replaceItemInInventory クラス内 MobEntity@Nullable public Entity getControllingPassenger()
getControllingPassenger クラス内 Entity@Nullable public ILivingEntityData onInitialSpawn(IWorld worldIn, DifficultyInstance difficultyIn, SpawnReason reason, @Nullable ILivingEntityData spawnDataIn, @Nullable CompoundNBT dataTag)
onInitialSpawn クラス内 AgeableEntitypublic <T> LazyOptional<T> getCapability(Capability<T> capability, @Nullable Direction facing)
ICapabilityProvidergetCapability インタフェース内 ICapabilityProvidergetCapability クラス内 LivingEntitypublic void remove(boolean keepData)
remove クラス内 LivingEntity