Package net.minecraft.entity.passive
Class LlamaEntity
- All Implemented Interfaces:
RangedAttackMob
,EntityLike
,JumpingMount
,Saddleable
,InventoryChangedListener
,CommandOutput
,Nameable
- Direct Known Subclasses:
TraderLlamaEntity
public class LlamaEntity extends AbstractDonkeyEntity implements RangedAttackMob
- Mappings:
Namespace Name official bcu
intermediary net/minecraft/class_1501
named net/minecraft/entity/passive/LlamaEntity
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
LlamaEntity.ChaseWolvesGoal
(package private) static class
LlamaEntity.LlamaData
(package private) static class
LlamaEntity.SpitRevengeGoal
Nested classes/interfaces inherited from class net.minecraft.entity.passive.PassiveEntity
PassiveEntity.PassiveData
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.class_5799, Entity.PositionUpdater, Entity.RemovalReason
-
Field Summary
Fields Modifier and Type Field Description private static TrackedData<Integer>
CARPET_COLOR
private LlamaEntity
follower
private LlamaEntity
following
private boolean
spit
private static TrackedData<Integer>
STRENGTH
private static Ingredient
TAMING_INGREDIENT
private static TrackedData<Integer>
VARIANT
Fields inherited from class net.minecraft.entity.passive.HorseBaseEntity
field_6958, inAir, items, jumpStrength, playExtraHorseSounds, soundTicks, tailWagTicks, temper
Fields inherited from class net.minecraft.entity.passive.PassiveEntity
breedingAge, forcedAge, happyTicksRemaining
Fields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, experiencePoints, goalSelector, handDropChances, jumpControl, lookControl, moveControl, navigation, targetSelector
Fields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, attackingPlayer, bodyTrackingIncrements, bodyYaw, brain, dead, deathTime, defaultMaxHealth, despawnCounter, field_6215, flyingSpeed, forwardSpeed, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, hurtTime, itemUseTimeLeft, knockbackVelocity, lastAttackedTicks, lastDamageTaken, lastHandSwingProgress, lastLimbDistance, limbAngle, limbDistance, LIVING_FLAGS, lookDirection, maxHurtTime, playerHitTimer, preferredHand, prevBodyYaw, prevHeadYaw, prevLookDirection, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, riptideTicks, roll, scoreAmount, serverHeadYaw, serverPitch, serverX, serverY, serverYaw, serverZ, sidewaysSpeed, SLEEPING_DIMENSIONS, stepBobbingAmount, stuckArrowTimer, stuckStingerTimer, upwardSpeed
Fields inherited from class net.minecraft.entity.Entity
age, dataTracker, distanceTraveled, fallDistance, field_28627, field_28629, firstUpdate, FLAGS, fluidHeight, glowing, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inNetherPortal, inPowderSnow, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, LOGGER, movementMultiplier, netherPortalTime, noClip, onGround, pitch, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, ridingCooldown, stepHeight, submergedFluidTag, submergedInWater, timeUntilRegen, touchingWater, uuid, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, world, yaw
Fields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY
-
Constructor Summary
Constructors Constructor Description LlamaEntity(EntityType<? extends LlamaEntity> type, World world)
-
Method Summary
Modifier and Type Method Description void
attack(LivingEntity target, float pullProgress)
boolean
canBeControlledByRider()
boolean
canBeSaddled()
boolean
canBreedWith(AnimalEntity other)
protected LlamaEntity
createChild()
LlamaEntity
createChild(ServerWorld serverWorld, PassiveEntity passiveEntity)
static DefaultAttributeContainer.Builder
createLlamaAttributes()
boolean
eatsGrass()
void
follow(LlamaEntity llama)
protected SoundEvent
getAmbientSound()
protected SoundEvent
getAngrySound()
DyeColor
getCarpetColor()
private static DyeColor
getColorFromCarpet(ItemStack color)
protected SoundEvent
getDeathSound()
protected SoundEvent
getEatSound()
LlamaEntity
getFollowing()
protected SoundEvent
getHurtSound(DamageSource source)
int
getInventoryColumns()
protected int
getInventorySize()
int
getMaxTemper()
double
getMountedHeightOffset()
protected double
getRunFromLeashSpeed()
int
getStrength()
int
getVariant()
boolean
handleFallDamage(float fallDistance, float damageMultiplier, DamageSource damageSource)
boolean
hasArmorInSlot()
Whether this horse already has an item stack in its horse armor slot.boolean
hasArmorSlot()
Whether this horse has a slot for custom equipment besides a saddle.boolean
hasFollower()
protected void
initDataTracker()
protected void
initGoals()
EntityData
initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, EntityData entityData, CompoundTag entityTag)
private void
initializeStrength()
boolean
isBreedingItem(ItemStack stack)
boolean
isFollowing()
boolean
isHorseArmor(ItemStack item)
Whether the given item stack is valid for this horse's armor slot.protected boolean
isImmobile()
boolean
isTrader()
Vec3d
method_29919()
void
onInventoryChanged(Inventory sender)
protected void
playAddChestSound()
void
playAngrySound()
protected void
playStepSound(BlockPos pos, BlockState state)
void
readCustomDataFromTag(CompoundTag tag)
protected boolean
receiveFood(PlayerEntity player, ItemStack item)
private void
setCarpetColor(DyeColor color)
private void
setSpit(boolean spit)
private void
setStrength(int strength)
void
setVariant(int variant)
private void
spitAt(LivingEntity target)
void
stopFollowing()
void
updatePassengerPosition(Entity passenger)
protected void
updateSaddle()
protected void
walkToParent()
void
writeCustomDataToTag(CompoundTag tag)
Methods inherited from class net.minecraft.entity.passive.AbstractDonkeyEntity
createAbstractDonkeyAttributes, dropInventory, hasChest, initAttributes, interactMob, method_32318, setHasChest
Methods inherited from class net.minecraft.entity.passive.HorseBaseEntity
addTemper, bondWithPlayer, canBreed, canJump, computeFallDamage, createBaseHorseAttributes, getActiveEyeHeight, getAngryAnimationProgress, getChildHealthBonus, getChildJumpStrengthBonus, getChildMovementSpeedBonus, getEatingAnimationProgress, getEatingGrassAnimationProgress, getHorseFlag, getJumpStrength, getLimitPerChunk, getMinAmbientSoundDelay, getOwnerUuid, getPrimaryPassenger, getSoundVolume, getTemper, handleStatus, initCustomGoals, interactHorse, isAngry, isBred, isClimbing, isEatingGrass, isInAir, isPushable, isSaddled, isTame, method_33338, onChestedStatusChanged, openInventory, playJumpSound, playWalkSound, putPlayerOnBack, saddle, setAngry, setBred, setChildAttributes, setEatingGrass, setHorseFlag, setInAir, setJumpStrength, setOwnerUuid, setTame, setTemper, spawnPlayerReactionParticles, startJumping, stopJumping, tick, tickMovement, travel, updateForLeashLength, updatePassengerForDismount
Methods inherited from class net.minecraft.entity.passive.AnimalEntity
breed, canEat, canImmediatelyDespawn, damage, eat, getCurrentExperience, getHeightOffset, getLoveTicks, getLovingPlayer, getPathfindingFavor, isInLove, isValidNaturalSpawn, lovePlayer, mobTick, resetLoveTicks, setLoveTicks
Methods inherited from class net.minecraft.entity.passive.PassiveEntity
getBreedingAge, growUp, growUp, isBaby, isReadyToBreed, onGrowUp, onTrackedDataSet, setBaby, setBreedingAge
Methods inherited from class net.minecraft.entity.mob.PathAwareEntity
canSpawn, getPathfindingFavor, isNavigating, updateLeash
Methods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canBeLeashedBy, canEquip, canGather, canMobSpawn, canMoveVoluntarily, cannotDespawn, canPickupItem, canPickUpLoot, canSpawn, canTarget, canTarget, canUseRangedWeapon, checkDespawn, createBodyControl, createMobAttributes, createNavigation, detachLeash, dropEquipment, dropLoot, enchantEquipment, enchantMainHandItem, equipLootStack, equipStack, getArmorItems, getBodyYawSpeed, getDropChance, getEquipmentForSlot, getEquippedStack, getHoldingEntity, getItemsHand, getJumpControl, getLookControl, getLookPitchSpeed, getLookYawSpeed, getLootContextBuilder, getLootTable, getLootTableId, getMainArm, getMoveControl, getNavigation, getPathfindingPenalty, getPickBlockStack, getPositionTarget, getPositionTargetRange, getSafeFallDistance, getTarget, getVisibilityCache, hasPositionTarget, initEquipment, interact, isAffectedByDaylight, isAiDisabled, isAttacking, isDisallowedInPeaceful, isInWalkTargetRange, isInWalkTargetRange, isLeashed, isLeftHanded, isLogicalSideForUpdatingMovement, isPersistent, lookAtEntity, loot, method_29243, method_29244, method_33191, movesIndependently, onEatingGrass, onPlayerSpawnedChild, playAmbientSound, playHurtSound, playSpawnEffects, prefersNewDamageableItem, prefersNewEquipment, removeFromDimension, sendAiDebugData, setAiDisabled, setAttacking, setCanPickUpLoot, setEquipmentDropChance, setForwardSpeed, setHoldingEntityId, setLeftHanded, setMovementSpeed, setPathfindingPenalty, setPersistent, setPositionTarget, setSidewaysSpeed, setTarget, setUpwardSpeed, spawnsTooManyForEachTry, startRiding, swimUpward, tickNewAi, tryAttack, tryEquip, turnHead, updateDropChances, updateEnchantments, updateGoalControls
Methods inherited from class net.minecraft.entity.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, animateDamage, applyArmorToDamage, applyDamage, applyEnchantmentsToDamage, applyMovementEffects, applyStatusEffect, attackLivingEntity, canBeRiddenInWater, canBreatheInWater, canDropLootAndXp, canFreeze, canHaveStatusEffect, canSee, canTakeDamage, canWalkOnFluid, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, collides, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createLivingAttributes, createSpawnPacket, damageArmor, damageShield, deserializeBrain, displaySoulSpeedEffects, drop, dropXp, eatFood, endCombat, enterCombat, fall, getAbsorptionAmount, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getArrowType, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseMovementSpeedMultiplier, getBlockState, getBoundingBox, getBrain, getClimbingPos, getDamageTracker, getDespawnCounter, getDimensions, getDrinkSound, getEatSound, getEyeHeight, getFallSound, getGroup, getHandSwingProgress, getHeadYaw, getHealth, getItemUseTime, getItemUseTimeLeft, getJumpVelocity, getLastAttackedTime, getLastAttackTime, getLeaningPitch, getMainHandStack, getMaxHealth, getMovementSpeed, getNextAirOnLand, getNextAirUnderwater, getOffHandStack, getPoses, getPreferredEquipmentSlot, getPrimeAdversary, getRandom, getRecentDamageSource, getRoll, getScaleFactor, getSleepingDirection, getSleepingPosition, getSoundPitch, getStackInHand, getStatusEffect, getStatusEffects, getStingerCount, getStuckArrowCount, getVelocityMultiplier, getVisibilityBoundingBox, getYaw, hasStackEquipped, hasStatusEffect, heal, hurtByWater, isAffectedBySplashPotions, isAlive, isBlocking, isDead, isFallFlying, isHolding, isHolding, isHoldingOntoLadder, isInsideWall, isInSwimmingPose, isMobOrPlayer, isOnSoulSpeedBlock, isSleeping, isTarget, isUndead, isUsingItem, isUsingRiptide, jump, kill, knockback, knockDownwards, lookAt, markEffectsDirty, method_26317, method_26318, method_29500, method_30633, method_31079, method_33579, onAttacking, onDeath, onEquipStack, onKilledBy, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, playBlockFallSound, pushAway, pushAwayFrom, removePowderSnowSlow, removeSoulSpeedBoost, removeStatusEffect, removeStatusEffectInternal, scheduleVelocityUpdate, sendEquipmentBreakStatus, sendPickup, sendToolBreakStatus, setAbsorptionAmount, setAttacker, setAttacking, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setNearbySongPlaying, setOnGround, setRiptideTicks, setSleepingPosition, setSprinting, setStackInHand, setStingerCount, setStuckArrowCount, setYaw, shouldAlwaysDropXp, shouldDisplaySoulSpeedEffects, shouldDropLoot, shouldRenderName, shouldSwimInFluids, sleep, spawnConsumptionEffects, stopRiding, stopUsingItem, swingHand, swingHand, takeKnockback, takeShieldHit, teleport, tickCramming, tickHandSwing, tickInVoid, tickRiding, tickRiptide, tickStatusEffects, triggerItemPickedUpByEntityCriteria, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, updateTrackedPositionAndAngles, wakeUp
Methods inherited from class net.minecraft.entity.Entity
addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, adjustSingleAxisMovementForCollisions, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeSpectated, canExplosionDestroyBlock, canFly, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, dealDamage, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, fromTag, getAir, getBlockPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCustomName, getDataTracker, getDefaultName, getDefaultNetherPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHeight, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMovementDirection, getName, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPistonBehavior, getPitch, getPos, getPose, getRandomBodyY, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStandingEyeHeight, getSwimSound, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getWidth, getX, getY, getZ, handleAttack, hasCustomName, hashCode, hasNetherPortalCooldown, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, hasPassengerType, hasPermissionLevel, hasPlayerRider, hasVehicle, hasWings, interactAt, isAttackable, isCollidable, isConnectedThroughVehicle, isCustomNameVisible, isDescending, isFireImmune, isFreezing, isGlowing, isImmuneToExplosion, isInLava, isInRange, isInsideWaterOrBubbleColumn, isInSneakingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isOnFire, isOnGround, isPartOf, isPlayer, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, method_29241, method_30330, method_30951, method_31744, method_32877, method_33332, method_33567, method_33568, method_33569, method_33570, method_33571, method_33573, method_33574, method_33575, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, onPassengerLookAround, onPlayerCollision, onSpawnPacket, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playFlySound, playSound, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removePassenger, removeScoreboardTag, requestTeleport, resetNetherPortalCooldown, resetPosition, saveSelfToTag, saveToTag, sendSystemMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFireTicks, setFlag, setFrozenTicks, setGlowing, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setPos, setPose, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, shouldBroadcastConsoleToOps, shouldLeaveSwimmingPose, shouldReceiveFeedback, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredHorizontalLength, startRiding, streamPassengers, streamPassengersRecursively, teleport, tickNetherPortal, tickNetherPortalCooldown, toListTag, toListTag, toString, toTag, unsetRemoved, updateKilledAdvancementCriterion, updateMovementInFluid, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedPosition, updateTrackedPosition, updateVelocity, updateWaterState, wouldPoseNotCollide
-
Field Details
-
TAMING_INGREDIENT
- Mappings:
Namespace Name Mixin selector official bu
Lbcu;bu:Lbqk;
intermediary field_25375
Lnet/minecraft/class_1501;field_25375:Lnet/minecraft/class_1856;
named TAMING_INGREDIENT
Lnet/minecraft/entity/passive/LlamaEntity;TAMING_INGREDIENT:Lnet/minecraft/recipe/Ingredient;
-
STRENGTH
- Mappings:
Namespace Name Mixin selector official bv
Lbcu;bv:Lvk;
intermediary field_6998
Lnet/minecraft/class_1501;field_6998:Lnet/minecraft/class_2940;
named STRENGTH
Lnet/minecraft/entity/passive/LlamaEntity;STRENGTH:Lnet/minecraft/entity/data/TrackedData;
-
CARPET_COLOR
- Mappings:
Namespace Name Mixin selector official bw
Lbcu;bw:Lvk;
intermediary field_6995
Lnet/minecraft/class_1501;field_6995:Lnet/minecraft/class_2940;
named CARPET_COLOR
Lnet/minecraft/entity/passive/LlamaEntity;CARPET_COLOR:Lnet/minecraft/entity/data/TrackedData;
-
VARIANT
- Mappings:
Namespace Name Mixin selector official bx
Lbcu;bx:Lvk;
intermediary field_6996
Lnet/minecraft/class_1501;field_6996:Lnet/minecraft/class_2940;
named VARIANT
Lnet/minecraft/entity/passive/LlamaEntity;VARIANT:Lnet/minecraft/entity/data/TrackedData;
-
spit
private boolean spit- Mappings:
Namespace Name Mixin selector official by
Lbcu;by:Z
intermediary field_6999
Lnet/minecraft/class_1501;field_6999:Z
named spit
Lnet/minecraft/entity/passive/LlamaEntity;spit:Z
-
following
- Mappings:
Namespace Name Mixin selector official bz
Lbcu;bz:Lbcu;
intermediary field_7000
Lnet/minecraft/class_1501;field_7000:Lnet/minecraft/class_1501;
named following
Lnet/minecraft/entity/passive/LlamaEntity;following:Lnet/minecraft/entity/passive/LlamaEntity;
-
follower
- Mappings:
Namespace Name Mixin selector official bA
Lbcu;bA:Lbcu;
intermediary field_6997
Lnet/minecraft/class_1501;field_6997:Lnet/minecraft/class_1501;
named follower
Lnet/minecraft/entity/passive/LlamaEntity;follower:Lnet/minecraft/entity/passive/LlamaEntity;
-
-
Constructor Details
-
LlamaEntity
- Mappings:
Namespace Name Mixin selector official <init>
Laqv;<init>(Laqz;Lbtv;)V
intermediary <init>
Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
named <init>
Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
-
-
Method Details
-
isTrader
- Mappings:
Namespace Name Mixin selector official fT
Lbcu;fT()Z
intermediary method_6807
Lnet/minecraft/class_1501;method_6807()Z
named isTrader
Lnet/minecraft/entity/passive/LlamaEntity;isTrader()Z
-
setStrength
private void setStrength(int strength)- Mappings:
Namespace Name Mixin selector official y
Lbcu;y(I)V
intermediary method_6802
Lnet/minecraft/class_1501;method_6802(I)V
named setStrength
Lnet/minecraft/entity/passive/LlamaEntity;setStrength(I)V
-
initializeStrength
private void initializeStrength()- Mappings:
Namespace Name Mixin selector official gd
Lbcu;gd()V
intermediary method_6796
Lnet/minecraft/class_1501;method_6796()V
named initializeStrength
Lnet/minecraft/entity/passive/LlamaEntity;initializeStrength()V
-
getStrength
public int getStrength()- Mappings:
Namespace Name Mixin selector official fU
Lbcu;fU()I
intermediary method_6803
Lnet/minecraft/class_1501;method_6803()I
named getStrength
Lnet/minecraft/entity/passive/LlamaEntity;getStrength()I
-
writeCustomDataToTag
- Overrides:
writeCustomDataToTag
in classAbstractDonkeyEntity
- Mappings:
Namespace Name Mixin selector official b
Laqv;b(Lmq;)V
intermediary method_5652
Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
named writeCustomDataToTag
Lnet/minecraft/entity/Entity;writeCustomDataToTag(Lnet/minecraft/nbt/CompoundTag;)V
-
readCustomDataFromTag
- Overrides:
readCustomDataFromTag
in classAbstractDonkeyEntity
- Mappings:
Namespace Name Mixin selector official a
Laqv;a(Lmq;)V
intermediary method_5749
Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
named readCustomDataFromTag
Lnet/minecraft/entity/Entity;readCustomDataFromTag(Lnet/minecraft/nbt/CompoundTag;)V
-
initGoals
protected void initGoals()- Overrides:
initGoals
in classHorseBaseEntity
- Mappings:
Namespace Name Mixin selector official u
Larj;u()V
intermediary method_5959
Lnet/minecraft/class_1308;method_5959()V
named initGoals
Lnet/minecraft/entity/mob/MobEntity;initGoals()V
-
createLlamaAttributes
- Mappings:
Namespace Name Mixin selector official fV
Lbcu;fV()Lash$a;
intermediary method_26900
Lnet/minecraft/class_1501;method_26900()Lnet/minecraft/class_5132$class_5133;
named createLlamaAttributes
Lnet/minecraft/entity/passive/LlamaEntity;createLlamaAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
-
initDataTracker
protected void initDataTracker()- Overrides:
initDataTracker
in classAbstractDonkeyEntity
- Mappings:
Namespace Name Mixin selector official e
Laqv;e()V
intermediary method_5693
Lnet/minecraft/class_1297;method_5693()V
named initDataTracker
Lnet/minecraft/entity/Entity;initDataTracker()V
-
getVariant
public int getVariant()- Mappings:
Namespace Name Mixin selector official fW
Lbcu;fW()I
intermediary method_6809
Lnet/minecraft/class_1501;method_6809()I
named getVariant
Lnet/minecraft/entity/passive/LlamaEntity;getVariant()I
-
setVariant
public void setVariant(int variant)- Mappings:
Namespace Name Mixin selector official x
Lbcu;x(I)V
intermediary method_6798
Lnet/minecraft/class_1501;method_6798(I)V
named setVariant
Lnet/minecraft/entity/passive/LlamaEntity;setVariant(I)V
-
getInventorySize
protected int getInventorySize()- Overrides:
getInventorySize
in classAbstractDonkeyEntity
- Mappings:
Namespace Name Mixin selector official fm
Lbcr;fm()I
intermediary method_6750
Lnet/minecraft/class_1496;method_6750()I
named getInventorySize
Lnet/minecraft/entity/passive/HorseBaseEntity;getInventorySize()I
-
updatePassengerPosition
- Overrides:
updatePassengerPosition
in classHorseBaseEntity
- Mappings:
Namespace Name Mixin selector official k
Laqv;k(Laqv;)V
intermediary method_5865
Lnet/minecraft/class_1297;method_5865(Lnet/minecraft/class_1297;)V
named updatePassengerPosition
Lnet/minecraft/entity/Entity;updatePassengerPosition(Lnet/minecraft/entity/Entity;)V
-
getMountedHeightOffset
public double getMountedHeightOffset()- Overrides:
getMountedHeightOffset
in classAbstractDonkeyEntity
- Mappings:
Namespace Name Mixin selector official bh
Laqv;bh()D
intermediary method_5621
Lnet/minecraft/class_1297;method_5621()D
named getMountedHeightOffset
Lnet/minecraft/entity/Entity;getMountedHeightOffset()D
-
canBeControlledByRider
public boolean canBeControlledByRider()- Overrides:
canBeControlledByRider
in classHorseBaseEntity
- Mappings:
Namespace Name Mixin selector official eS
Larj;eS()Z
intermediary method_5956
Lnet/minecraft/class_1308;method_5956()Z
named canBeControlledByRider
Lnet/minecraft/entity/mob/MobEntity;canBeControlledByRider()Z
-
isBreedingItem
- Overrides:
isBreedingItem
in classHorseBaseEntity
- Mappings:
Namespace Name Mixin selector official k
Lbbj;k(Lbnv;)Z
intermediary method_6481
Lnet/minecraft/class_1429;method_6481(Lnet/minecraft/class_1799;)Z
named isBreedingItem
Lnet/minecraft/entity/passive/AnimalEntity;isBreedingItem(Lnet/minecraft/item/ItemStack;)Z
-
receiveFood
- Overrides:
receiveFood
in classHorseBaseEntity
- Mappings:
Namespace Name Mixin selector official b
Lbcr;b(Lbhl;Lbnv;)Z
intermediary method_6742
Lnet/minecraft/class_1496;method_6742(Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;)Z
named receiveFood
Lnet/minecraft/entity/passive/HorseBaseEntity;receiveFood(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)Z
-
isImmobile
protected boolean isImmobile()- Overrides:
isImmobile
in classHorseBaseEntity
- Mappings:
Namespace Name Mixin selector official eg
Lari;eg()Z
intermediary method_6062
Lnet/minecraft/class_1309;method_6062()Z
named isImmobile
Lnet/minecraft/entity/LivingEntity;isImmobile()Z
-
initialize
@Nullable public EntityData initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable CompoundTag entityTag)- Overrides:
initialize
in classHorseBaseEntity
- Mappings:
Namespace Name Mixin selector official a
Larj;a(Lbuj;Lapo;Larl;Larz;Lmq;)Larz;
intermediary method_5943
Lnet/minecraft/class_1308;method_5943(Lnet/minecraft/class_5425;Lnet/minecraft/class_1266;Lnet/minecraft/class_3730;Lnet/minecraft/class_1315;Lnet/minecraft/class_2487;)Lnet/minecraft/class_1315;
named initialize
Lnet/minecraft/entity/mob/MobEntity;initialize(Lnet/minecraft/world/ServerWorldAccess;Lnet/minecraft/world/LocalDifficulty;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/entity/EntityData;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/entity/EntityData;
-
getAngrySound
- Overrides:
getAngrySound
in classHorseBaseEntity
- Mappings:
Namespace Name Mixin selector official fG
Lbcr;fG()Laef;
intermediary method_6747
Lnet/minecraft/class_1496;method_6747()Lnet/minecraft/class_3414;
named getAngrySound
Lnet/minecraft/entity/passive/HorseBaseEntity;getAngrySound()Lnet/minecraft/sound/SoundEvent;
-
getAmbientSound
- Overrides:
getAmbientSound
in classHorseBaseEntity
- Mappings:
Namespace Name Mixin selector official p
Larj;p()Laef;
intermediary method_5994
Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;
named getAmbientSound
Lnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
-
getHurtSound
- Overrides:
getHurtSound
in classHorseBaseEntity
- Mappings:
Namespace Name Mixin selector official c
Lari;c(Laqf;)Laef;
intermediary method_6011
Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;
named getHurtSound
Lnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
-
getDeathSound
- Overrides:
getDeathSound
in classHorseBaseEntity
- Mappings:
Namespace Name Mixin selector official q
Lari;q()Laef;
intermediary method_6002
Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
named getDeathSound
Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
-
getEatSound
- Overrides:
getEatSound
in classHorseBaseEntity
- Mappings:
Namespace Name Mixin selector official fF
Lbcr;fF()Laef;
intermediary method_28368
Lnet/minecraft/class_1496;method_28368()Lnet/minecraft/class_3414;
named getEatSound
Lnet/minecraft/entity/passive/HorseBaseEntity;getEatSound()Lnet/minecraft/sound/SoundEvent;
-
playStepSound
- Overrides:
playStepSound
in classHorseBaseEntity
- Mappings:
Namespace Name Mixin selector official b
Laqv;b(Lfx;Lcht;)V
intermediary method_5712
Lnet/minecraft/class_1297;method_5712(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
named playStepSound
Lnet/minecraft/entity/Entity;playStepSound(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
playAddChestSound
protected void playAddChestSound()- Overrides:
playAddChestSound
in classAbstractDonkeyEntity
- Mappings:
Namespace Name Mixin selector official fn
Lbcq;fn()V
intermediary method_6705
Lnet/minecraft/class_1492;method_6705()V
named playAddChestSound
Lnet/minecraft/entity/passive/AbstractDonkeyEntity;playAddChestSound()V
-
playAngrySound
public void playAngrySound()- Overrides:
playAngrySound
in classHorseBaseEntity
- Mappings:
Namespace Name Mixin selector official fL
Lbcr;fL()V
intermediary method_6757
Lnet/minecraft/class_1496;method_6757()V
named playAngrySound
Lnet/minecraft/entity/passive/HorseBaseEntity;playAngrySound()V
-
getInventoryColumns
public int getInventoryColumns()- Overrides:
getInventoryColumns
in classAbstractDonkeyEntity
- Mappings:
Namespace Name Mixin selector official ft
Lbcq;ft()I
intermediary method_6702
Lnet/minecraft/class_1492;method_6702()I
named getInventoryColumns
Lnet/minecraft/entity/passive/AbstractDonkeyEntity;getInventoryColumns()I
-
hasArmorSlot
public boolean hasArmorSlot()Whether this horse has a slot for custom equipment besides a saddle.In the item slot argument type, the slot is referred to as
horse.armor
. In this horse's screen, it appears in the middle of the left side, and right below the saddle slot if this horse has a saddle slot.This is used by horse armors and llama carpets, but can be refitted to any purpose.
- Overrides:
hasArmorSlot
in classHorseBaseEntity
- Mappings:
Namespace Name Mixin selector official fR
Lbcr;fR()Z
intermediary method_6735
Lnet/minecraft/class_1496;method_6735()Z
named hasArmorSlot
Lnet/minecraft/entity/passive/HorseBaseEntity;hasArmorSlot()Z
-
hasArmorInSlot
public boolean hasArmorInSlot()Whether this horse already has an item stack in its horse armor slot.- Overrides:
hasArmorInSlot
in classHorseBaseEntity
- See Also:
HorseBaseEntity.hasArmorSlot()
- Mappings:
Namespace Name Mixin selector official fS
Lbcr;fS()Z
intermediary method_6753
Lnet/minecraft/class_1496;method_6753()Z
named hasArmorInSlot
Lnet/minecraft/entity/passive/HorseBaseEntity;hasArmorInSlot()Z
-
isHorseArmor
Whether the given item stack is valid for this horse's armor slot.- Overrides:
isHorseArmor
in classHorseBaseEntity
- See Also:
HorseBaseEntity.hasArmorSlot()
- Mappings:
Namespace Name Mixin selector official l
Lbcr;l(Lbnv;)Z
intermediary method_6773
Lnet/minecraft/class_1496;method_6773(Lnet/minecraft/class_1799;)Z
named isHorseArmor
Lnet/minecraft/entity/passive/HorseBaseEntity;isHorseArmor(Lnet/minecraft/item/ItemStack;)Z
-
canBeSaddled
public boolean canBeSaddled()- Specified by:
canBeSaddled
in interfaceSaddleable
- Overrides:
canBeSaddled
in classHorseBaseEntity
- Mappings:
Namespace Name Mixin selector official c
Larw;c()Z
intermediary method_6765
Lnet/minecraft/class_5146;method_6765()Z
named canBeSaddled
Lnet/minecraft/entity/Saddleable;canBeSaddled()Z
-
onInventoryChanged
- Specified by:
onInventoryChanged
in interfaceInventoryChangedListener
- Overrides:
onInventoryChanged
in classHorseBaseEntity
- Mappings:
Namespace Name Mixin selector official a
Lapl;a(Lapj;)V
intermediary method_5453
Lnet/minecraft/class_1265;method_5453(Lnet/minecraft/class_1263;)V
named onInventoryChanged
Lnet/minecraft/inventory/InventoryChangedListener;onInventoryChanged(Lnet/minecraft/inventory/Inventory;)V
-
updateSaddle
protected void updateSaddle()- Overrides:
updateSaddle
in classHorseBaseEntity
- Mappings:
Namespace Name Mixin selector official fD
Lbcr;fD()V
intermediary method_6731
Lnet/minecraft/class_1496;method_6731()V
named updateSaddle
Lnet/minecraft/entity/passive/HorseBaseEntity;updateSaddle()V
-
setCarpetColor
- Mappings:
Namespace Name Mixin selector official a
Lbcu;a(Lbms;)V
intermediary method_6799
Lnet/minecraft/class_1501;method_6799(Lnet/minecraft/class_1767;)V
named setCarpetColor
Lnet/minecraft/entity/passive/LlamaEntity;setCarpetColor(Lnet/minecraft/util/DyeColor;)V
-
getColorFromCarpet
- Mappings:
Namespace Name Mixin selector official m
Lbcu;m(Lbnv;)Lbms;
intermediary method_6794
Lnet/minecraft/class_1501;method_6794(Lnet/minecraft/class_1799;)Lnet/minecraft/class_1767;
named getColorFromCarpet
Lnet/minecraft/entity/passive/LlamaEntity;getColorFromCarpet(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/util/DyeColor;
-
getCarpetColor
- Mappings:
Namespace Name Mixin selector official fX
Lbcu;fX()Lbms;
intermediary method_6800
Lnet/minecraft/class_1501;method_6800()Lnet/minecraft/class_1767;
named getCarpetColor
Lnet/minecraft/entity/passive/LlamaEntity;getCarpetColor()Lnet/minecraft/util/DyeColor;
-
getMaxTemper
public int getMaxTemper()- Overrides:
getMaxTemper
in classHorseBaseEntity
- Mappings:
Namespace Name Mixin selector official fI
Lbcr;fI()I
intermediary method_6755
Lnet/minecraft/class_1496;method_6755()I
named getMaxTemper
Lnet/minecraft/entity/passive/HorseBaseEntity;getMaxTemper()I
-
canBreedWith
- Overrides:
canBreedWith
in classHorseBaseEntity
- Mappings:
Namespace Name Mixin selector official a
Lbbj;a(Lbbj;)Z
intermediary method_6474
Lnet/minecraft/class_1429;method_6474(Lnet/minecraft/class_1429;)Z
named canBreedWith
Lnet/minecraft/entity/passive/AnimalEntity;canBreedWith(Lnet/minecraft/entity/passive/AnimalEntity;)Z
-
createChild
Description copied from class:HorseBaseEntity
- Overrides:
createChild
in classHorseBaseEntity
- Mappings:
Namespace Name Mixin selector official b
Lbcu;b(Laav;Laqt;)Lbcu;
intermediary method_6804
Lnet/minecraft/class_1501;method_6804(Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)Lnet/minecraft/class_1501;
named createChild
Lnet/minecraft/entity/passive/LlamaEntity;createChild(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/LlamaEntity;
-
createChild
- Mappings:
Namespace Name Mixin selector official fY
Lbcu;fY()Lbcu;
intermediary method_18004
Lnet/minecraft/class_1501;method_18004()Lnet/minecraft/class_1501;
named createChild
Lnet/minecraft/entity/passive/LlamaEntity;createChild()Lnet/minecraft/entity/passive/LlamaEntity;
-
spitAt
- Mappings:
Namespace Name Mixin selector official j
Lbcu;j(Lari;)V
intermediary method_6792
Lnet/minecraft/class_1501;method_6792(Lnet/minecraft/class_1309;)V
named spitAt
Lnet/minecraft/entity/passive/LlamaEntity;spitAt(Lnet/minecraft/entity/LivingEntity;)V
-
setSpit
private void setSpit(boolean spit)- Mappings:
Namespace Name Mixin selector official B
Lbcu;B(Z)V
intermediary method_6808
Lnet/minecraft/class_1501;method_6808(Z)V
named setSpit
Lnet/minecraft/entity/passive/LlamaEntity;setSpit(Z)V
-
handleFallDamage
public boolean handleFallDamage(float fallDistance, float damageMultiplier, DamageSource damageSource)- Overrides:
handleFallDamage
in classHorseBaseEntity
- Mappings:
Namespace Name Mixin selector official a
Laqv;a(FFLaqf;)Z
intermediary method_5747
Lnet/minecraft/class_1297;method_5747(FFLnet/minecraft/class_1282;)Z
named handleFallDamage
Lnet/minecraft/entity/Entity;handleFallDamage(FFLnet/minecraft/entity/damage/DamageSource;)Z
-
stopFollowing
public void stopFollowing()- Mappings:
Namespace Name Mixin selector official fZ
Lbcu;fZ()V
intermediary method_6797
Lnet/minecraft/class_1501;method_6797()V
named stopFollowing
Lnet/minecraft/entity/passive/LlamaEntity;stopFollowing()V
-
follow
- Mappings:
Namespace Name Mixin selector official a
Lbcu;a(Lbcu;)V
intermediary method_6791
Lnet/minecraft/class_1501;method_6791(Lnet/minecraft/class_1501;)V
named follow
Lnet/minecraft/entity/passive/LlamaEntity;follow(Lnet/minecraft/entity/passive/LlamaEntity;)V
-
hasFollower
public boolean hasFollower()- Mappings:
Namespace Name Mixin selector official ga
Lbcu;ga()Z
intermediary method_6793
Lnet/minecraft/class_1501;method_6793()Z
named hasFollower
Lnet/minecraft/entity/passive/LlamaEntity;hasFollower()Z
-
isFollowing
public boolean isFollowing()- Mappings:
Namespace Name Mixin selector official gb
Lbcu;gb()Z
intermediary method_6805
Lnet/minecraft/class_1501;method_6805()Z
named isFollowing
Lnet/minecraft/entity/passive/LlamaEntity;isFollowing()Z
-
getFollowing
- Mappings:
Namespace Name Mixin selector official gc
Lbcu;gc()Lbcu;
intermediary method_6806
Lnet/minecraft/class_1501;method_6806()Lnet/minecraft/class_1501;
named getFollowing
Lnet/minecraft/entity/passive/LlamaEntity;getFollowing()Lnet/minecraft/entity/passive/LlamaEntity;
-
getRunFromLeashSpeed
protected double getRunFromLeashSpeed()- Overrides:
getRunFromLeashSpeed
in classPathAwareEntity
- Mappings:
Namespace Name Mixin selector official fk
Larq;fk()D
intermediary method_6148
Lnet/minecraft/class_1314;method_6148()D
named getRunFromLeashSpeed
Lnet/minecraft/entity/mob/PathAwareEntity;getRunFromLeashSpeed()D
-
walkToParent
protected void walkToParent()- Overrides:
walkToParent
in classHorseBaseEntity
- Mappings:
Namespace Name Mixin selector official fJ
Lbcr;fJ()V
intermediary method_6746
Lnet/minecraft/class_1496;method_6746()V
named walkToParent
Lnet/minecraft/entity/passive/HorseBaseEntity;walkToParent()V
-
eatsGrass
public boolean eatsGrass()- Overrides:
eatsGrass
in classHorseBaseEntity
- Mappings:
Namespace Name Mixin selector official fK
Lbcr;fK()Z
intermediary method_6762
Lnet/minecraft/class_1496;method_6762()Z
named eatsGrass
Lnet/minecraft/entity/passive/HorseBaseEntity;eatsGrass()Z
-
attack
- Specified by:
attack
in interfaceRangedAttackMob
- Mappings:
Namespace Name Mixin selector official a
Lbfj;a(Lari;F)V
intermediary method_7105
Lnet/minecraft/class_1603;method_7105(Lnet/minecraft/class_1309;F)V
named attack
Lnet/minecraft/entity/ai/RangedAttackMob;attack(Lnet/minecraft/entity/LivingEntity;F)V
-
method_29919
- Overrides:
method_29919
in classEntity
- Mappings:
Namespace Name Mixin selector official cp
Laqv;cp()Ldiu;
intermediary method_29919
Lnet/minecraft/class_1297;method_29919()Lnet/minecraft/class_243;
named method_29919
Lnet/minecraft/entity/Entity;method_29919()Lnet/minecraft/util/math/Vec3d;
-