Class LlamaEntity
- java.lang.Object
-
- All Implemented Interfaces:
ICommandSource
,IEquipable
,IJumpingMount
,IRangedAttackMob
,IInventoryChangedListener
,INameable
,ICapabilityProvider
,ICapabilitySerializable<CompoundNBT>
,IForgeEntity
,INBTSerializable<CompoundNBT>
- Direct Known Subclasses:
TraderLlamaEntity
public class LlamaEntity extends AbstractChestedHorseEntity implements IRangedAttackMob
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
LlamaEntity.DefendTargetGoal
(package private) static class
LlamaEntity.HurtByTargetGoal
(package private) static class
LlamaEntity.LlamaData
-
Nested classes/interfaces inherited from class net.minecraft.entity.AgeableEntity
AgeableEntity.AgeableData
-
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.IMoveCallback
-
-
Field Summary
Fields Modifier and Type Field Description private LlamaEntity
caravanHead
private LlamaEntity
caravanTail
private static DataParameter<java.lang.Integer>
DATA_STRENGTH_ID
private static DataParameter<java.lang.Integer>
DATA_SWAG_ID
private static DataParameter<java.lang.Integer>
DATA_VARIANT_ID
private boolean
didSpit
private static Ingredient
FOOD_ITEMS
-
Fields inherited from class net.minecraft.entity.passive.horse.AbstractHorseEntity
canGallop, gallopSoundCounter, inventory, isJumping, playerJumpPendingScale, sprintCounter, tailCounter, temper
-
Fields inherited from class net.minecraft.entity.AgeableEntity
age, forcedAge, forcedAgeTimer
-
Fields inherited from class net.minecraft.entity.MobEntity
ambientSoundTime, armorDropChances, goalSelector, handDropChances, jumpControl, lookControl, moveControl, navigation, targetSelector, xpReward
-
Fields inherited from class net.minecraft.entity.LivingEntity
animationPosition, animationSpeed, animationSpeedOld, animStep, animStepO, attackAnim, attackStrengthTicker, autoSpinAttackTicks, brain, DATA_LIVING_ENTITY_FLAGS, dead, deathScore, deathTime, fallFlyTicks, flyingSpeed, hurtDir, hurtDuration, hurtTime, invulnerableDuration, jumping, lastHurt, lastHurtByPlayer, lastHurtByPlayerTime, lerpHeadSteps, lerpSteps, lerpX, lerpXRot, lerpY, lerpYRot, lerpZ, lyHeadRot, noActionTime, oAttackAnim, oRun, removeArrowTime, removeStingerTime, rotA, rotOffs, run, SLEEPING_DIMENSIONS, swinging, swingingArm, swingTime, timeOffs, useItem, useItemRemaining, xxa, yBodyRot, yBodyRotO, yHeadRot, yHeadRotO, yya, zza
-
Fields inherited from class net.minecraft.entity.Entity
blocksBuilding, boardingCooldown, DATA_POSE, DATA_SHARED_FLAGS_ID, ENTITY_COUNTER, entityData, fallDistance, firstTick, fluidHeight, fluidOnEyes, forcedLoading, glowing, hasImpulse, horizontalCollision, hurtMarked, inChunk, invulnerableTime, isInsidePortal, level, LOGGER, maxUpStep, moveDist, noCulling, noPhysics, onGround, portalEntrancePos, portalTime, pushthrough, random, removed, stringUUID, stuckSpeedMultiplier, tickCount, uuid, verticalCollision, walkDist, walkDistO, wasEyeInWater, wasTouchingWater, xChunk, xo, xOld, xRot, xRotO, yChunk, yo, yOld, yRot, yRotO, zChunk, zo, zOld
-
Fields inherited from interface net.minecraft.command.ICommandSource
NULL
-
-
Constructor Summary
Constructors Constructor Description LlamaEntity(EntityType<? extends LlamaEntity> p_i50237_1_, World p_i50237_2_)
-
Method Summary
-
Methods inherited from class net.minecraft.entity.passive.horse.AbstractChestedHorseEntity
createBaseChestedHorseAttributes, dropEquipment, hasChest, mobInteract, randomizeAttributes, setChest, setSlot
-
Methods inherited from class net.minecraft.entity.passive.horse.AbstractHorseEntity
addBehaviourGoals, aiStep, calculateFallDamage, canJump, canParent, createBaseHorseAttributes, createInventory, doPlayerRide, equipSaddle, fedFood, generateRandomJumpStrength, generateRandomMaxHealth, generateRandomSpeed, getAmbientSoundInterval, getCapability, getControllingPassenger, getCustomJump, getDismountLocationForPassenger, getEatAnim, getFlag, getMaxSpawnClusterSize, getMouthAnim, getOwnerUUID, getSoundVolume, getStandAnim, getStandingEyeHeight, getTemper, handleEntityEvent, handleStartJump, handleStopJump, invalidateCaps, isBred, isEating, isJumping, isPushable, isSaddled, isStanding, isTamed, modifyTemper, onClimbable, onLeashDistance, onPlayerJump, openInventory, playGallopSound, playJumpSound, setBred, setEating, setFlag, setIsJumping, setOffspringAttributes, setOwnerUUID, setStanding, setTamed, setTemper, spawnTamingParticles, tameWithName, tick, travel
-
Methods inherited from class net.minecraft.entity.passive.AnimalEntity
canFallInLove, checkAnimalSpawnRules, customServerAiStep, getExperienceReward, getInLoveTime, getLoveCause, getMyRidingOffset, getWalkTargetValue, hurt, isInLove, removeWhenFarAway, resetLove, setInLove, setInLoveTime, spawnChildFromBreeding, usePlayerItem
-
Methods inherited from class net.minecraft.entity.AgeableEntity
ageBoundaryReached, ageUp, ageUp, canBreed, getAge, isBaby, onSyncedDataUpdated, setAge, setBaby
-
Methods inherited from class net.minecraft.entity.CreatureEntity
checkSpawnRules, getWalkTargetValue, isPathFinding, tickLeash
-
Methods inherited from class net.minecraft.entity.MobEntity
ate, baseTick, canAttack, canAttackType, canBeLeashed, canCutCorner, canFireProjectileWeapon, canHoldItem, canPickUpLoot, canReplaceCurrentItem, canReplaceEqualItem, canTakeItem, checkDespawn, checkMobSpawnRules, checkSpawnObstruction, convertTo, createBodyControl, createLootContext, createMobAttributes, createNavigation, doHurtTarget, dropCustomDeathLoot, dropFromLootTable, dropLeash, enchantSpawnedArmor, enchantSpawnedWeapon, equipItemIfPossible, getArmorSlots, getDefaultLootTable, getEquipmentDropChance, getEquipmentForSlot, getEquipmentSlotForItem, getHandSlots, getHeadRotSpeed, getItemBySlot, getJumpControl, getLeashHolder, getLookControl, getLootTable, getMainArm, getMaxFallDistance, getMaxHeadXRot, getMaxHeadYRot, getMoveControl, getNavigation, getPathfindingMalus, getRestrictCenter, getRestrictRadius, getSensing, getTarget, hasRestriction, interact, isAggressive, isControlledByLocalInstance, isEffectiveAi, isLeashed, isLeftHanded, isMaxGroupSizeReached, isNoAi, isPersistenceRequired, isSunBurnTick, isValidSlotForItem, isWithinRestriction, isWithinRestriction, jumpInLiquid, lookAt, onOffspringSpawnedFromEgg, pickUpItem, playAmbientSound, playHurtSound, populateDefaultEquipmentEnchantments, populateDefaultEquipmentSlots, removeAfterChangingDimensions, requiresCustomPersistence, restrictTo, sendDebugPackets, serverAiStep, setAggressive, setCanPickUpLoot, setDelayedLeashHolderId, setDropChance, setGuaranteedDrop, setItemSlot, setItemSlotAndDropWhenKilled, setLeashedTo, setLeftHanded, setNoAi, setPathfindingMalus, setPersistenceRequired, setSpeed, setTarget, setXxa, setYya, setZza, shouldDespawnInPeaceful, shouldPassengersInheritMalus, spawnAnim, startRiding, tickHeadTurn, updateControlFlags, wantsToPickUp
-
Methods inherited from class net.minecraft.entity.LivingEntity
actuallyHurt, addEffect, animateHurt, areAllEffectsAmbient, attackable, blockedByShield, blockUsingShield, brainProvider, broadcastBreakEvent, broadcastBreakEvent, calculateEntityAnimation, canAttack, canBeAffected, canBreatheUnderwater, canSee, canSpawnSoulSpeedParticle, canStandOnFluid, checkAutoSpinAttack, checkFallDamage, clearSleepingPos, completeUsingItem, createLivingAttributes, createWitherRose, curePotionEffects, decreaseAirSupply, die, doAutoAttackOnTouch, doPush, dropAllDeathLoot, dropExperience, eat, forceAddEffect, getAbsorptionAmount, getActiveEffects, getActiveEffectsMap, getAddEntityPacket, getArmorCoverPercentage, getArmorValue, getArrowCount, getAttackAnim, getAttribute, getAttributeBaseValue, getAttributes, getAttributeValue, getBedOrientation, getBlockSpeedFactor, getBoundingBoxForCulling, getBrain, getCombatTracker, getDamageAfterArmorAbsorb, getDamageAfterMagicAbsorb, getDimensions, getDismountPoses, getDrinkingSound, getEatingSound, getEffect, getEyeHeight, getFallDamageSound, getFallFlyingTicks, getFeetBlockState, getFluidFallingAdjustedMovement, getHealth, getItemInHand, getJumpPower, getKillCredit, getLastClimbablePos, getLastDamageSource, getLastHurtByMob, getLastHurtByMobTimestamp, getLastHurtMob, getLastHurtMobTimestamp, getLocalBoundsForPose, getMainHandItem, getMaxHealth, getMobType, getNoActionTime, getOffhandItem, getProjectile, getRandom, getRelativePortalPosition, getScale, getSleepingPos, getSpeed, getStingerCount, getSwimAmount, getTicksUsingItem, getUsedItemHand, getUseItem, getUseItemRemainingTicks, getViewYRot, getVisibilityPercent, getVoicePitch, getWaterSlowDown, getYHeadRot, goDownInWater, handleRelativeFrictionAndCalculateMovement, hasEffect, hasItemInSlot, heal, hurtArmor, hurtCurrentlyUsedShield, increaseAirSupply, isAffectedByFluids, isAffectedByPotions, isAlive, isAlwaysExperienceDropper, isAutoSpinAttack, isBlocking, isDeadOrDying, isFallFlying, isHolding, isHolding, isInvertedHealAndHarm, isInWall, isPickable, isSensitiveToWater, isSleeping, isSuppressingSlidingDownLadder, isUsingItem, isVisuallySwimming, jumpFromGround, kill, knockback, lerpHeadTo, lerpTo, lookAt, makeBrain, markHurt, onChangedBlock, onEffectAdded, onEffectRemoved, onEffectUpdated, onEnterCombat, onItemPickup, onLeaveCombat, onSoulSpeedBlock, outOfWorld, playBlockFallSound, playEquipSound, push, pushEntities, randomTeleport, releaseUsingItem, removeAllEffects, removeEffect, removeEffectNoUpdate, removeEffectParticles, removeSoulSpeed, resetForwardDirectionOfRelativePortalPosition, rideableUnderWater, rideTick, setAbsorptionAmount, setArrowCount, setHealth, setItemInHand, setJumping, setLastHurtByMob, setLastHurtByPlayer, setLastHurtMob, setLivingEntityFlag, setNoActionTime, setOnGround, setRecordPlayingNearby, setSleepingPos, setSprinting, setStingerCount, setYBodyRot, setYHeadRot, shouldDropExperience, shouldDropLoot, shouldRemoveSoulSpeed, shouldRiderFaceForward, shouldShowName, spawnSoulSpeedParticle, startAutoSpinAttack, startSleeping, startUsingItem, stopRiding, stopSleeping, stopUsingItem, swing, swing, take, tickDeath, tickEffects, triggerItemUseEffects, tryAddSoulSpeed, updateEffectVisibility, updateInvisibilityStatus, updateSwingTime
-
Methods inherited from class net.minecraft.entity.Entity
absMoveTo, absMoveTo, acceptsFailure, acceptsSuccess, addPassenger, addTag, awardKillScore, blockPosition, broadcastToPlayer, calculateUpVector, calculateViewVector, canAddPassenger, canBeCollidedWith, canChangeDimensions, canCollideWith, canEnterPose, canRide, canSpawnSprintParticle, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, changeDimension, changeDimension, checkAndResetForcedChunkAdditionFlag, checkAndResetUpdateChunkPos, checkInsideBlocks, clearFire, closerThan, collideBoundingBox, collideBoundingBoxHeuristically, collideBoundingBoxLegacy, copyPosition, createCommandSourceStack, createHoverEvent, displayFireAnimation, distanceTo, distanceToSqr, distanceToSqr, distanceToSqr, doEnchantDamageEffects, doWaterSplashEffect, ejectPassengers, equals, fillCrashReportCategory, findDimensionEntryPoint, fireImmune, getAirSupply, getAllSlots, getBbHeight, getBbWidth, getBlockExplosionResistance, getBlockJumpFactor, getBlockPosBelowThatAffectsMyMovement, getBlockStateOn, getBoundingBox, getBoundingBoxForPose, getBrightness, getCollisionHorizontalEscapeVector, getCommandSenderWorld, getCustomName, getDeltaMovement, getDimensionChangingDelay, getDirection, getDisplayName, getEncodeId, getEntityData, getExitPortal, getEyeHeight, getEyeHeight, getEyeHeightAccess, getEyePosition, getEyeY, getFireImmuneTicks, getFluidHeight, getFluidJumpThreshold, getForward, getHorizontalDistanceSqr, getId, getIndirectPassengers, getLightProbePosition, getLookAngle, getMaxAirSupply, getMotionDirection, getName, getOnPos, getPacketCoordinates, getPassengers, getPermissionLevel, getPersistentData, getPickRadius, getPistonPushReaction, getPortalWaitTime, getPose, getPosition, getRandomX, getRandomY, getRandomZ, getRemainingFireTicks, getRootVehicle, getRopeHoldPosition, getRotationVector, getScoreboardName, getSelfAndPassengers, getServer, getSharedFlag, getSoundSource, getStringUUID, getSwimHighSpeedSplashSound, getSwimSound, getSwimSplashSound, getTags, getTeam, getTeamColor, getType, getTypeName, getUpVector, getUUID, getVehicle, getViewScale, getViewVector, getViewXRot, getX, getX, getY, getY, getZ, getZ, handleInsidePortal, handleNetherPortal, hasCustomName, hashCode, hasIndirectPassenger, hasOnePlayerPassenger, hasPassenger, hasPassenger, hasPermissions, ignoreExplosion, interactAt, is, isAddedToWorld, isAlliedTo, isAlliedTo, isAttackable, isColliding, isCrouching, isCustomNameVisible, isDescending, isDiscrete, isEyeInFluid, isFree, isGlowing, isIgnoringBlockTriggers, isInLava, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isInWater, isInWaterOrBubble, isInWaterOrRain, isInWaterRainOrBubble, isMovementNoisy, isNoGravity, isOnFire, isOnGround, isOnPortalCooldown, isPassenger, isPassengerOfSameVehicle, isPushedByFluid, isShiftKeyDown, isSilent, isSpectator, isSprinting, isSteppingCarefully, isSuppressingBounce, isSwimming, isUnderWater, isVehicle, isVisuallyCrawling, killed, lavaHurt, lerpMotion, limitPistonMovement, load, makeFlySound, makeStuckInBlock, maybeBackOffFromEdge, mirror, move, moveRelative, moveTo, moveTo, moveTo, moveTo, moveTowardsClosestSpace, newDoubleList, newFloatList, nextStep, onAboveBubbleCol, onAddedToWorld, onInsideBlock, onInsideBubbleColumn, onlyOpCanSetNbt, onPassengerTurned, onRemovedFromWorld, pick, playerTouch, playFlySound, playSound, playSwimSound, position, processPortalCooldown, push, reapplyPosition, refreshDimensions, remove, remove, removePassenger, removeTag, removeVehicle, repositionEntityAfterLoad, resetPos, restoreFrom, revive, rotate, save, saveAsPassenger, saveWithoutId, sendMessage, setAirSupply, setBoundingBox, setCustomName, setCustomNameVisible, setDeltaMovement, setDeltaMovement, setGlowing, setId, setInvisible, setInvulnerable, setLevel, setLocationFromBoundingbox, setNoGravity, setPacketCoordinates, setPacketCoordinates, setPortalCooldown, setPos, setPosAndOldPos, setPose, setPosRaw, setRemainingFireTicks, setRot, setSecondsOnFire, setSharedFlag, setShiftKeyDown, setSilent, setSwimming, setUUID, setViewScale, shouldBlockExplode, shouldInformAdmins, shouldRender, shouldRenderAtSqrDistance, showVehicleHealth, skipAttackInteraction, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnSprintParticle, startRiding, startSeenByPlayer, stopSeenByPlayer, teleportTo, teleportToWithTicket, thunderHit, toString, turn, unRide, updateFluidHeightAndDoFluidPushing, updateInWaterStateAndDoFluidPushing, updateSwimming
-
Methods inherited from class net.minecraftforge.common.capabilities.CapabilityProvider
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, reviveCaps, serializeCaps
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.minecraftforge.common.capabilities.ICapabilityProvider
getCapability
-
Methods inherited from interface net.minecraftforge.common.extensions.IForgeEntity
canBeRiddenInWater, canRiderInteract, deserializeNBT, getClassification, getDimensionsForge, getEntity, getEyeHeightForge, getParts, getPickedResult, isMultipartEntity, serializeNBT, shouldRiderSit
-
-
-
-
Field Detail
-
FOOD_ITEMS
private static final Ingredient FOOD_ITEMS
-
DATA_STRENGTH_ID
private static final DataParameter<java.lang.Integer> DATA_STRENGTH_ID
-
DATA_SWAG_ID
private static final DataParameter<java.lang.Integer> DATA_SWAG_ID
-
DATA_VARIANT_ID
private static final DataParameter<java.lang.Integer> DATA_VARIANT_ID
-
didSpit
private boolean didSpit
-
caravanHead
@Nullable private LlamaEntity caravanHead
-
caravanTail
@Nullable private LlamaEntity caravanTail
-
-
Constructor Detail
-
LlamaEntity
public LlamaEntity(EntityType<? extends LlamaEntity> p_i50237_1_, World p_i50237_2_)
-
-
Method Detail
-
isTraderLlama
public boolean isTraderLlama()
-
setStrength
private void setStrength(int p_190706_1_)
-
setRandomStrength
private void setRandomStrength()
-
getStrength
public int getStrength()
-
addAdditionalSaveData
public void addAdditionalSaveData(CompoundNBT p_213281_1_)
- Overrides:
addAdditionalSaveData
in classAbstractChestedHorseEntity
-
readAdditionalSaveData
public void readAdditionalSaveData(CompoundNBT p_70037_1_)
- Overrides:
readAdditionalSaveData
in classAbstractChestedHorseEntity
-
registerGoals
protected void registerGoals()
- Overrides:
registerGoals
in classAbstractHorseEntity
-
createAttributes
public static AttributeModifierMap.MutableAttribute createAttributes()
-
defineSynchedData
protected void defineSynchedData()
- Overrides:
defineSynchedData
in classAbstractChestedHorseEntity
-
getVariant
public int getVariant()
-
setVariant
public void setVariant(int p_190710_1_)
-
getInventorySize
protected int getInventorySize()
- Overrides:
getInventorySize
in classAbstractChestedHorseEntity
-
positionRider
public void positionRider(Entity p_184232_1_)
- Overrides:
positionRider
in classAbstractHorseEntity
-
getPassengersRidingOffset
public double getPassengersRidingOffset()
- Overrides:
getPassengersRidingOffset
in classAbstractChestedHorseEntity
-
canBeControlledByRider
public boolean canBeControlledByRider()
- Overrides:
canBeControlledByRider
in classAbstractHorseEntity
-
isFood
public boolean isFood(ItemStack p_70877_1_)
- Overrides:
isFood
in classAbstractHorseEntity
-
handleEating
protected boolean handleEating(PlayerEntity p_190678_1_, ItemStack p_190678_2_)
- Overrides:
handleEating
in classAbstractHorseEntity
-
isImmobile
protected boolean isImmobile()
- Overrides:
isImmobile
in classAbstractHorseEntity
-
finalizeSpawn
@Nullable public ILivingEntityData finalizeSpawn(IServerWorld p_213386_1_, DifficultyInstance p_213386_2_, SpawnReason p_213386_3_, @Nullable ILivingEntityData p_213386_4_, @Nullable CompoundNBT p_213386_5_)
- Overrides:
finalizeSpawn
in classAbstractHorseEntity
-
getAngrySound
protected SoundEvent getAngrySound()
- Overrides:
getAngrySound
in classAbstractHorseEntity
-
getAmbientSound
protected SoundEvent getAmbientSound()
- Overrides:
getAmbientSound
in classAbstractHorseEntity
-
getHurtSound
protected SoundEvent getHurtSound(DamageSource p_184601_1_)
- Overrides:
getHurtSound
in classAbstractHorseEntity
-
getDeathSound
protected SoundEvent getDeathSound()
- Overrides:
getDeathSound
in classAbstractHorseEntity
-
getEatingSound
@Nullable protected SoundEvent getEatingSound()
- Overrides:
getEatingSound
in classAbstractHorseEntity
-
playStepSound
protected void playStepSound(BlockPos p_180429_1_, BlockState p_180429_2_)
- Overrides:
playStepSound
in classAbstractHorseEntity
-
playChestEquipsSound
protected void playChestEquipsSound()
- Overrides:
playChestEquipsSound
in classAbstractChestedHorseEntity
-
makeMad
public void makeMad()
- Overrides:
makeMad
in classAbstractHorseEntity
-
getInventoryColumns
public int getInventoryColumns()
- Overrides:
getInventoryColumns
in classAbstractChestedHorseEntity
-
canWearArmor
public boolean canWearArmor()
- Overrides:
canWearArmor
in classAbstractHorseEntity
-
isWearingArmor
public boolean isWearingArmor()
- Overrides:
isWearingArmor
in classAbstractHorseEntity
-
isArmor
public boolean isArmor(ItemStack p_190682_1_)
- Overrides:
isArmor
in classAbstractHorseEntity
-
isSaddleable
public boolean isSaddleable()
- Specified by:
isSaddleable
in interfaceIEquipable
- Overrides:
isSaddleable
in classAbstractHorseEntity
-
containerChanged
public void containerChanged(IInventory p_76316_1_)
- Specified by:
containerChanged
in interfaceIInventoryChangedListener
- Overrides:
containerChanged
in classAbstractHorseEntity
-
updateContainerEquipment
protected void updateContainerEquipment()
- Overrides:
updateContainerEquipment
in classAbstractHorseEntity
-
setSwag
private void setSwag(@Nullable DyeColor p_190711_1_)
-
getSwag
@Nullable public DyeColor getSwag()
-
getMaxTemper
public int getMaxTemper()
- Overrides:
getMaxTemper
in classAbstractHorseEntity
-
canMate
public boolean canMate(AnimalEntity p_70878_1_)
- Overrides:
canMate
in classAbstractHorseEntity
-
getBreedOffspring
public LlamaEntity getBreedOffspring(ServerWorld p_241840_1_, AgeableEntity p_241840_2_)
- Overrides:
getBreedOffspring
in classAbstractHorseEntity
-
makeBabyLlama
protected LlamaEntity makeBabyLlama()
-
spit
private void spit(LivingEntity p_190713_1_)
-
setDidSpit
private void setDidSpit(boolean p_190714_1_)
-
causeFallDamage
public boolean causeFallDamage(float p_225503_1_, float p_225503_2_)
- Overrides:
causeFallDamage
in classAbstractHorseEntity
-
leaveCaravan
public void leaveCaravan()
-
joinCaravan
public void joinCaravan(LlamaEntity p_190715_1_)
-
hasCaravanTail
public boolean hasCaravanTail()
-
inCaravan
public boolean inCaravan()
-
getCaravanHead
@Nullable public LlamaEntity getCaravanHead()
-
followLeashSpeed
protected double followLeashSpeed()
- Overrides:
followLeashSpeed
in classCreatureEntity
-
followMommy
protected void followMommy()
- Overrides:
followMommy
in classAbstractHorseEntity
-
canEatGrass
public boolean canEatGrass()
- Overrides:
canEatGrass
in classAbstractHorseEntity
-
performRangedAttack
public void performRangedAttack(LivingEntity p_82196_1_, float p_82196_2_)
- Specified by:
performRangedAttack
in interfaceIRangedAttackMob
-
getLeashOffset
public Vector3d getLeashOffset()
- Overrides:
getLeashOffset
in classEntity
-
-