Package net.minecraft.entity.passive
Class LlamaEntity
- All Implemented Interfaces:
RangedAttackMob,JumpingMount,Saddleable,InventoryChangedListener,CommandOutput,Nameable,EntityLike
- Direct Known Subclasses:
TraderLlamaEntity
public class LlamaEntity extends AbstractDonkeyEntity implements RangedAttackMob
- Mappings:
Namespace Name official bdnintermediary net/minecraft/class_1501named net/minecraft/entity/passive/LlamaEntity
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classLlamaEntity.ChaseWolvesGoal(package private) static classLlamaEntity.LlamaData(package private) static classLlamaEntity.SpitRevengeGoalNested classes/interfaces inherited from class net.minecraft.entity.passive.PassiveEntity
PassiveEntity.PassiveDataNested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason -
Field Summary
Fields Modifier and Type Field Description private static TrackedData<Integer>CARPET_COLORprivate @Nullable LlamaEntityfollowerprivate @Nullable LlamaEntityfollowingprivate booleanspitprivate static TrackedData<Integer>STRENGTHprivate static IngredientTAMING_INGREDIENTprivate static TrackedData<Integer>VARIANTFields inherited from class net.minecraft.entity.passive.HorseBaseEntity
field_6958, inAir, items, jumpStrength, playExtraHorseSounds, soundTicks, tailWagTicks, temperFields inherited from class net.minecraft.entity.passive.PassiveEntity
breedingAge, forcedAge, happyTicksRemainingFields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, experiencePoints, goalSelector, handDropChances, jumpControl, lookControl, moveControl, navigation, targetSelectorFields 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, upwardSpeedFields 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, yawFields 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 voidattack(LivingEntity target, float pullProgress)booleancanBeControlledByRider()booleancanBeSaddled()booleancanBreedWith(AnimalEntity other)protected LlamaEntitycreateChild()LlamaEntitycreateChild(ServerWorld serverWorld, PassiveEntity passiveEntity)static DefaultAttributeContainer.BuildercreateLlamaAttributes()booleaneatsGrass()voidfollow(LlamaEntity llama)protected SoundEventgetAmbientSound()protected SoundEventgetAngrySound()@Nullable DyeColorgetCarpetColor()private static @Nullable DyeColorgetColorFromCarpet(ItemStack color)protected SoundEventgetDeathSound()protected @Nullable SoundEventgetEatSound()@Nullable LlamaEntitygetFollowing()protected SoundEventgetHurtSound(DamageSource source)intgetInventoryColumns()protected intgetInventorySize()intgetMaxTemper()doublegetMountedHeightOffset()protected doublegetRunFromLeashSpeed()intgetStrength()intgetVariant()booleanhandleFallDamage(float fallDistance, float damageMultiplier, DamageSource damageSource)booleanhasArmorInSlot()Whether this horse already has an item stack in its horse armor slot.booleanhasArmorSlot()Whether this horse has a slot for custom equipment besides a saddle.booleanhasFollower()protected voidinitDataTracker()protected voidinitGoals()@Nullable EntityDatainitialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable CompoundTag entityTag)private voidinitializeStrength()booleanisBreedingItem(ItemStack stack)booleanisFollowing()booleanisHorseArmor(ItemStack item)Whether the given item stack is valid for this horse's armor slot.protected booleanisImmobile()booleanisTrader()Vec3dmethod_29919()voidonInventoryChanged(Inventory sender)protected voidplayAddChestSound()voidplayAngrySound()protected voidplayStepSound(BlockPos pos, BlockState state)voidreadCustomDataFromNbt(CompoundTag tag)protected booleanreceiveFood(PlayerEntity player, ItemStack item)private voidsetCarpetColor(@Nullable DyeColor color)private voidsetSpit(boolean spit)private voidsetStrength(int strength)voidsetVariant(int variant)private voidspitAt(LivingEntity target)voidstopFollowing()voidupdatePassengerPosition(Entity passenger)protected voidupdateSaddle()protected voidwalkToParent()voidwriteCustomDataToNbt(CompoundTag tag)Methods inherited from class net.minecraft.entity.passive.AbstractDonkeyEntity
createAbstractDonkeyAttributes, dropInventory, getCommandItemSlot, hasChest, initAttributes, interactMob, setHasChestMethods 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, updatePassengerForDismountMethods inherited from class net.minecraft.entity.passive.AnimalEntity
breed, canEat, canImmediatelyDespawn, damage, eat, getCurrentExperience, getHeightOffset, getLoveTicks, getLovingPlayer, getPathfindingFavor, isInLove, isValidNaturalSpawn, lovePlayer, mobTick, resetLoveTicks, setLoveTicksMethods inherited from class net.minecraft.entity.passive.PassiveEntity
getBreedingAge, growUp, growUp, isBaby, isReadyToBreed, onGrowUp, onTrackedDataSet, setBaby, setBreedingAgeMethods inherited from class net.minecraft.entity.mob.PathAwareEntity
canSpawn, getPathfindingFavor, isNavigating, updateLeashMethods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canBeLeashedBy, canEquip, canGather, canMobSpawn, canMoveVoluntarily, cannotDespawn, canPickupItem, canPickUpLoot, canSpawn, canTarget, canTarget, canUseRangedWeapon, checkDespawn, convertTo, 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_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, updateGoalControlsMethods 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_31079, method_33579, onAttacking, onDeath, onEquipStack, onKilledBy, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, playBlockFallSound, positionInPortal, 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, wakeUpMethods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addFlapEffects, 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, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, getAir, getBlockPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraBlockPos, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCustomName, getDataTracker, getDefaultName, getDefaultNetherPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getGameEventHandler, getHeight, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMoveEffect, getMovementDirection, getName, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPistonBehavior, getPitch, getPortalRect, getPos, getPose, getRandomBodyY, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStandingEyeHeight, getSwimHeight, 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, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, method_30951, method_33332, method_33574, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, onPassengerLookAround, onPlayerCollision, onSpawnPacket, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playSound, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removePassenger, removeScoreboardTag, requestTeleport, requestTeleportAndDismount, resetNetherPortalCooldown, resetPosition, saveSelfToTag, saveToTag, sendSystemMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFireTicks, setFlag, setFrozenTicks, setGlowing, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setListener, 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, streamPassengersAndSelf, streamSelfAndPassengers, teleport, tickNetherPortal, tickNetherPortalCooldown, toListTag, toListTag, toString, unsetRemoved, updateKilledAdvancementCriterion, updateMovementInFluid, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedPosition, updateTrackedPosition, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbt
-
Field Details
-
TAMING_INGREDIENT
- Mappings:
Namespace Name Mixin selector official buLbdn;bu:Lbrf;intermediary field_25375Lnet/minecraft/class_1501;field_25375:Lnet/minecraft/class_1856;named TAMING_INGREDIENTLnet/minecraft/entity/passive/LlamaEntity;TAMING_INGREDIENT:Lnet/minecraft/recipe/Ingredient;
-
STRENGTH
- Mappings:
Namespace Name Mixin selector official bvLbdn;bv:Lvu;intermediary field_6998Lnet/minecraft/class_1501;field_6998:Lnet/minecraft/class_2940;named STRENGTHLnet/minecraft/entity/passive/LlamaEntity;STRENGTH:Lnet/minecraft/entity/data/TrackedData;
-
CARPET_COLOR
- Mappings:
Namespace Name Mixin selector official bwLbdn;bw:Lvu;intermediary field_6995Lnet/minecraft/class_1501;field_6995:Lnet/minecraft/class_2940;named CARPET_COLORLnet/minecraft/entity/passive/LlamaEntity;CARPET_COLOR:Lnet/minecraft/entity/data/TrackedData;
-
VARIANT
- Mappings:
Namespace Name Mixin selector official bxLbdn;bx:Lvu;intermediary field_6996Lnet/minecraft/class_1501;field_6996:Lnet/minecraft/class_2940;named VARIANTLnet/minecraft/entity/passive/LlamaEntity;VARIANT:Lnet/minecraft/entity/data/TrackedData;
-
spit
private boolean spit- Mappings:
Namespace Name Mixin selector official byLbdn;by:Zintermediary field_6999Lnet/minecraft/class_1501;field_6999:Znamed spitLnet/minecraft/entity/passive/LlamaEntity;spit:Z
-
following
- Mappings:
Namespace Name Mixin selector official bzLbdn;bz:Lbdn;intermediary field_7000Lnet/minecraft/class_1501;field_7000:Lnet/minecraft/class_1501;named followingLnet/minecraft/entity/passive/LlamaEntity;following:Lnet/minecraft/entity/passive/LlamaEntity;
-
follower
- Mappings:
Namespace Name Mixin selector official bALbdn;bA:Lbdn;intermediary field_6997Lnet/minecraft/class_1501;field_6997:Lnet/minecraft/class_1501;named followerLnet/minecraft/entity/passive/LlamaEntity;follower:Lnet/minecraft/entity/passive/LlamaEntity;
-
-
Constructor Details
-
LlamaEntity
- Mappings:
Namespace Name Mixin selector official <init>Laro;<init>(Lars;Lbuq;)Vintermediary <init>Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
-
-
Method Details
-
isTrader
- Mappings:
Namespace Name Mixin selector official fULbdn;fU()Zintermediary method_6807Lnet/minecraft/class_1501;method_6807()Znamed isTraderLnet/minecraft/entity/passive/LlamaEntity;isTrader()Z
-
setStrength
private void setStrength(int strength)- Mappings:
Namespace Name Mixin selector official yLbdn;y(I)Vintermediary method_6802Lnet/minecraft/class_1501;method_6802(I)Vnamed setStrengthLnet/minecraft/entity/passive/LlamaEntity;setStrength(I)V
-
initializeStrength
private void initializeStrength()- Mappings:
Namespace Name Mixin selector official geLbdn;ge()Vintermediary method_6796Lnet/minecraft/class_1501;method_6796()Vnamed initializeStrengthLnet/minecraft/entity/passive/LlamaEntity;initializeStrength()V
-
getStrength
public int getStrength()- Mappings:
Namespace Name Mixin selector official fVLbdn;fV()Iintermediary method_6803Lnet/minecraft/class_1501;method_6803()Inamed getStrengthLnet/minecraft/entity/passive/LlamaEntity;getStrength()I
-
writeCustomDataToNbt
- Overrides:
writeCustomDataToNbtin classAbstractDonkeyEntity- Mappings:
Namespace Name Mixin selector official bLaro;b(Lmr;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/CompoundTag;)V
-
readCustomDataFromNbt
- Overrides:
readCustomDataFromNbtin classAbstractDonkeyEntity- Mappings:
Namespace Name Mixin selector official aLaro;a(Lmr;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/CompoundTag;)V
-
initGoals
protected void initGoals()- Overrides:
initGoalsin classHorseBaseEntity- Mappings:
Namespace Name Mixin selector official uLasc;u()Vintermediary method_5959Lnet/minecraft/class_1308;method_5959()Vnamed initGoalsLnet/minecraft/entity/mob/MobEntity;initGoals()V
-
createLlamaAttributes
- Mappings:
Namespace Name Mixin selector official fWLbdn;fW()Lata$a;intermediary method_26900Lnet/minecraft/class_1501;method_26900()Lnet/minecraft/class_5132$class_5133;named createLlamaAttributesLnet/minecraft/entity/passive/LlamaEntity;createLlamaAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
-
initDataTracker
protected void initDataTracker()- Overrides:
initDataTrackerin classAbstractDonkeyEntity- Mappings:
Namespace Name Mixin selector official eLaro;e()Vintermediary method_5693Lnet/minecraft/class_1297;method_5693()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
getVariant
public int getVariant()- Mappings:
Namespace Name Mixin selector official fXLbdn;fX()Iintermediary method_6809Lnet/minecraft/class_1501;method_6809()Inamed getVariantLnet/minecraft/entity/passive/LlamaEntity;getVariant()I
-
setVariant
public void setVariant(int variant)- Mappings:
Namespace Name Mixin selector official xLbdn;x(I)Vintermediary method_6798Lnet/minecraft/class_1501;method_6798(I)Vnamed setVariantLnet/minecraft/entity/passive/LlamaEntity;setVariant(I)V
-
getInventorySize
protected int getInventorySize()- Overrides:
getInventorySizein classAbstractDonkeyEntity- Mappings:
Namespace Name Mixin selector official fnLbdk;fn()Iintermediary method_6750Lnet/minecraft/class_1496;method_6750()Inamed getInventorySizeLnet/minecraft/entity/passive/HorseBaseEntity;getInventorySize()I
-
updatePassengerPosition
- Overrides:
updatePassengerPositionin classHorseBaseEntity- Mappings:
Namespace Name Mixin selector official kLaro;k(Laro;)Vintermediary method_5865Lnet/minecraft/class_1297;method_5865(Lnet/minecraft/class_1297;)Vnamed updatePassengerPositionLnet/minecraft/entity/Entity;updatePassengerPosition(Lnet/minecraft/entity/Entity;)V
-
getMountedHeightOffset
public double getMountedHeightOffset()- Overrides:
getMountedHeightOffsetin classAbstractDonkeyEntity- Mappings:
Namespace Name Mixin selector official bhLaro;bh()Dintermediary method_5621Lnet/minecraft/class_1297;method_5621()Dnamed getMountedHeightOffsetLnet/minecraft/entity/Entity;getMountedHeightOffset()D
-
canBeControlledByRider
public boolean canBeControlledByRider()- Overrides:
canBeControlledByRiderin classHorseBaseEntity- Mappings:
Namespace Name Mixin selector official eTLasc;eT()Zintermediary method_5956Lnet/minecraft/class_1308;method_5956()Znamed canBeControlledByRiderLnet/minecraft/entity/mob/MobEntity;canBeControlledByRider()Z
-
isBreedingItem
- Overrides:
isBreedingItemin classHorseBaseEntity- Mappings:
Namespace Name Mixin selector official kLbcc;k(Lboq;)Zintermediary method_6481Lnet/minecraft/class_1429;method_6481(Lnet/minecraft/class_1799;)Znamed isBreedingItemLnet/minecraft/entity/passive/AnimalEntity;isBreedingItem(Lnet/minecraft/item/ItemStack;)Z
-
receiveFood
- Overrides:
receiveFoodin classHorseBaseEntity- Mappings:
Namespace Name Mixin selector official bLbdk;b(Lbif;Lboq;)Zintermediary method_6742Lnet/minecraft/class_1496;method_6742(Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;)Znamed receiveFoodLnet/minecraft/entity/passive/HorseBaseEntity;receiveFood(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)Z
-
isImmobile
protected boolean isImmobile()- Overrides:
isImmobilein classHorseBaseEntity- Mappings:
Namespace Name Mixin selector official ehLasb;eh()Zintermediary method_6062Lnet/minecraft/class_1309;method_6062()Znamed isImmobileLnet/minecraft/entity/LivingEntity;isImmobile()Z
-
initialize
@Nullable public @Nullable EntityData initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable @Nullable EntityData entityData, @Nullable @Nullable CompoundTag entityTag)- Overrides:
initializein classHorseBaseEntity- Mappings:
Namespace Name Mixin selector official aLasc;a(Lbve;Laqh;Lase;Lass;Lmr;)Lass;intermediary method_5943Lnet/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 initializeLnet/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:
getAngrySoundin classHorseBaseEntity- Mappings:
Namespace Name Mixin selector official fHLbdk;fH()Laer;intermediary method_6747Lnet/minecraft/class_1496;method_6747()Lnet/minecraft/class_3414;named getAngrySoundLnet/minecraft/entity/passive/HorseBaseEntity;getAngrySound()Lnet/minecraft/sound/SoundEvent;
-
getAmbientSound
- Overrides:
getAmbientSoundin classHorseBaseEntity- Mappings:
Namespace Name Mixin selector official pLasc;p()Laer;intermediary method_5994Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;named getAmbientSoundLnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
-
getHurtSound
- Overrides:
getHurtSoundin classHorseBaseEntity- Mappings:
Namespace Name Mixin selector official cLasb;c(Laqy;)Laer;intermediary method_6011Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;named getHurtSoundLnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
-
getDeathSound
- Overrides:
getDeathSoundin classHorseBaseEntity- Mappings:
Namespace Name Mixin selector official qLasb;q()Laer;intermediary method_6002Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;named getDeathSoundLnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
-
getEatSound
- Overrides:
getEatSoundin classHorseBaseEntity- Mappings:
Namespace Name Mixin selector official fGLbdk;fG()Laer;intermediary method_28368Lnet/minecraft/class_1496;method_28368()Lnet/minecraft/class_3414;named getEatSoundLnet/minecraft/entity/passive/HorseBaseEntity;getEatSound()Lnet/minecraft/sound/SoundEvent;
-
playStepSound
- Overrides:
playStepSoundin classHorseBaseEntity- Mappings:
Namespace Name Mixin selector official bLaro;b(Lfx;Lcio;)Vintermediary method_5712Lnet/minecraft/class_1297;method_5712(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vnamed playStepSoundLnet/minecraft/entity/Entity;playStepSound(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
playAddChestSound
protected void playAddChestSound()- Overrides:
playAddChestSoundin classAbstractDonkeyEntity- Mappings:
Namespace Name Mixin selector official foLbdj;fo()Vintermediary method_6705Lnet/minecraft/class_1492;method_6705()Vnamed playAddChestSoundLnet/minecraft/entity/passive/AbstractDonkeyEntity;playAddChestSound()V
-
playAngrySound
public void playAngrySound()- Overrides:
playAngrySoundin classHorseBaseEntity- Mappings:
Namespace Name Mixin selector official fMLbdk;fM()Vintermediary method_6757Lnet/minecraft/class_1496;method_6757()Vnamed playAngrySoundLnet/minecraft/entity/passive/HorseBaseEntity;playAngrySound()V
-
getInventoryColumns
public int getInventoryColumns()- Overrides:
getInventoryColumnsin classAbstractDonkeyEntity- Mappings:
Namespace Name Mixin selector official fuLbdj;fu()Iintermediary method_6702Lnet/minecraft/class_1492;method_6702()Inamed getInventoryColumnsLnet/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:
hasArmorSlotin classHorseBaseEntity- Mappings:
Namespace Name Mixin selector official fSLbdk;fS()Zintermediary method_6735Lnet/minecraft/class_1496;method_6735()Znamed hasArmorSlotLnet/minecraft/entity/passive/HorseBaseEntity;hasArmorSlot()Z
-
hasArmorInSlot
public boolean hasArmorInSlot()Whether this horse already has an item stack in its horse armor slot.- Overrides:
hasArmorInSlotin classHorseBaseEntity- See Also:
HorseBaseEntity.hasArmorSlot()- Mappings:
Namespace Name Mixin selector official fTLbdk;fT()Zintermediary method_6753Lnet/minecraft/class_1496;method_6753()Znamed hasArmorInSlotLnet/minecraft/entity/passive/HorseBaseEntity;hasArmorInSlot()Z
-
isHorseArmor
Whether the given item stack is valid for this horse's armor slot.- Overrides:
isHorseArmorin classHorseBaseEntity- See Also:
HorseBaseEntity.hasArmorSlot()- Mappings:
Namespace Name Mixin selector official lLbdk;l(Lboq;)Zintermediary method_6773Lnet/minecraft/class_1496;method_6773(Lnet/minecraft/class_1799;)Znamed isHorseArmorLnet/minecraft/entity/passive/HorseBaseEntity;isHorseArmor(Lnet/minecraft/item/ItemStack;)Z
-
canBeSaddled
public boolean canBeSaddled()- Specified by:
canBeSaddledin interfaceSaddleable- Overrides:
canBeSaddledin classHorseBaseEntity- Mappings:
Namespace Name Mixin selector official cLasp;c()Zintermediary method_6765Lnet/minecraft/class_5146;method_6765()Znamed canBeSaddledLnet/minecraft/entity/Saddleable;canBeSaddled()Z
-
onInventoryChanged
- Specified by:
onInventoryChangedin interfaceInventoryChangedListener- Overrides:
onInventoryChangedin classHorseBaseEntity- Mappings:
Namespace Name Mixin selector official aLaqe;a(Laqc;)Vintermediary method_5453Lnet/minecraft/class_1265;method_5453(Lnet/minecraft/class_1263;)Vnamed onInventoryChangedLnet/minecraft/inventory/InventoryChangedListener;onInventoryChanged(Lnet/minecraft/inventory/Inventory;)V
-
updateSaddle
protected void updateSaddle()- Overrides:
updateSaddlein classHorseBaseEntity- Mappings:
Namespace Name Mixin selector official fELbdk;fE()Vintermediary method_6731Lnet/minecraft/class_1496;method_6731()Vnamed updateSaddleLnet/minecraft/entity/passive/HorseBaseEntity;updateSaddle()V
-
setCarpetColor
- Mappings:
Namespace Name Mixin selector official aLbdn;a(Lbnn;)Vintermediary method_6799Lnet/minecraft/class_1501;method_6799(Lnet/minecraft/class_1767;)Vnamed setCarpetColorLnet/minecraft/entity/passive/LlamaEntity;setCarpetColor(Lnet/minecraft/util/DyeColor;)V
-
getColorFromCarpet
- Mappings:
Namespace Name Mixin selector official mLbdn;m(Lboq;)Lbnn;intermediary method_6794Lnet/minecraft/class_1501;method_6794(Lnet/minecraft/class_1799;)Lnet/minecraft/class_1767;named getColorFromCarpetLnet/minecraft/entity/passive/LlamaEntity;getColorFromCarpet(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/util/DyeColor;
-
getCarpetColor
- Mappings:
Namespace Name Mixin selector official fYLbdn;fY()Lbnn;intermediary method_6800Lnet/minecraft/class_1501;method_6800()Lnet/minecraft/class_1767;named getCarpetColorLnet/minecraft/entity/passive/LlamaEntity;getCarpetColor()Lnet/minecraft/util/DyeColor;
-
getMaxTemper
public int getMaxTemper()- Overrides:
getMaxTemperin classHorseBaseEntity- Mappings:
Namespace Name Mixin selector official fJLbdk;fJ()Iintermediary method_6755Lnet/minecraft/class_1496;method_6755()Inamed getMaxTemperLnet/minecraft/entity/passive/HorseBaseEntity;getMaxTemper()I
-
canBreedWith
- Overrides:
canBreedWithin classHorseBaseEntity- Mappings:
Namespace Name Mixin selector official aLbcc;a(Lbcc;)Zintermediary method_6474Lnet/minecraft/class_1429;method_6474(Lnet/minecraft/class_1429;)Znamed canBreedWithLnet/minecraft/entity/passive/AnimalEntity;canBreedWith(Lnet/minecraft/entity/passive/AnimalEntity;)Z
-
createChild
Description copied from class:HorseBaseEntity- Overrides:
createChildin classHorseBaseEntity- Mappings:
Namespace Name Mixin selector official bLbdn;b(Labf;Larm;)Lbdn;intermediary method_6804Lnet/minecraft/class_1501;method_6804(Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)Lnet/minecraft/class_1501;named createChildLnet/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 fZLbdn;fZ()Lbdn;intermediary method_18004Lnet/minecraft/class_1501;method_18004()Lnet/minecraft/class_1501;named createChildLnet/minecraft/entity/passive/LlamaEntity;createChild()Lnet/minecraft/entity/passive/LlamaEntity;
-
spitAt
- Mappings:
Namespace Name Mixin selector official jLbdn;j(Lasb;)Vintermediary method_6792Lnet/minecraft/class_1501;method_6792(Lnet/minecraft/class_1309;)Vnamed spitAtLnet/minecraft/entity/passive/LlamaEntity;spitAt(Lnet/minecraft/entity/LivingEntity;)V
-
setSpit
private void setSpit(boolean spit)- Mappings:
Namespace Name Mixin selector official BLbdn;B(Z)Vintermediary method_6808Lnet/minecraft/class_1501;method_6808(Z)Vnamed setSpitLnet/minecraft/entity/passive/LlamaEntity;setSpit(Z)V
-
handleFallDamage
public boolean handleFallDamage(float fallDistance, float damageMultiplier, DamageSource damageSource)- Overrides:
handleFallDamagein classHorseBaseEntity- Mappings:
Namespace Name Mixin selector official aLaro;a(FFLaqy;)Zintermediary method_5747Lnet/minecraft/class_1297;method_5747(FFLnet/minecraft/class_1282;)Znamed handleFallDamageLnet/minecraft/entity/Entity;handleFallDamage(FFLnet/minecraft/entity/damage/DamageSource;)Z
-
stopFollowing
public void stopFollowing()- Mappings:
Namespace Name Mixin selector official gaLbdn;ga()Vintermediary method_6797Lnet/minecraft/class_1501;method_6797()Vnamed stopFollowingLnet/minecraft/entity/passive/LlamaEntity;stopFollowing()V
-
follow
- Mappings:
Namespace Name Mixin selector official aLbdn;a(Lbdn;)Vintermediary method_6791Lnet/minecraft/class_1501;method_6791(Lnet/minecraft/class_1501;)Vnamed followLnet/minecraft/entity/passive/LlamaEntity;follow(Lnet/minecraft/entity/passive/LlamaEntity;)V
-
hasFollower
public boolean hasFollower()- Mappings:
Namespace Name Mixin selector official gbLbdn;gb()Zintermediary method_6793Lnet/minecraft/class_1501;method_6793()Znamed hasFollowerLnet/minecraft/entity/passive/LlamaEntity;hasFollower()Z
-
isFollowing
public boolean isFollowing()- Mappings:
Namespace Name Mixin selector official gcLbdn;gc()Zintermediary method_6805Lnet/minecraft/class_1501;method_6805()Znamed isFollowingLnet/minecraft/entity/passive/LlamaEntity;isFollowing()Z
-
getFollowing
- Mappings:
Namespace Name Mixin selector official gdLbdn;gd()Lbdn;intermediary method_6806Lnet/minecraft/class_1501;method_6806()Lnet/minecraft/class_1501;named getFollowingLnet/minecraft/entity/passive/LlamaEntity;getFollowing()Lnet/minecraft/entity/passive/LlamaEntity;
-
getRunFromLeashSpeed
protected double getRunFromLeashSpeed()- Overrides:
getRunFromLeashSpeedin classPathAwareEntity- Mappings:
Namespace Name Mixin selector official flLasj;fl()Dintermediary method_6148Lnet/minecraft/class_1314;method_6148()Dnamed getRunFromLeashSpeedLnet/minecraft/entity/mob/PathAwareEntity;getRunFromLeashSpeed()D
-
walkToParent
protected void walkToParent()- Overrides:
walkToParentin classHorseBaseEntity- Mappings:
Namespace Name Mixin selector official fKLbdk;fK()Vintermediary method_6746Lnet/minecraft/class_1496;method_6746()Vnamed walkToParentLnet/minecraft/entity/passive/HorseBaseEntity;walkToParent()V
-
eatsGrass
public boolean eatsGrass()- Overrides:
eatsGrassin classHorseBaseEntity- Mappings:
Namespace Name Mixin selector official fLLbdk;fL()Zintermediary method_6762Lnet/minecraft/class_1496;method_6762()Znamed eatsGrassLnet/minecraft/entity/passive/HorseBaseEntity;eatsGrass()Z
-
attack
- Specified by:
attackin interfaceRangedAttackMob- Mappings:
Namespace Name Mixin selector official aLbgd;a(Lasb;F)Vintermediary method_7105Lnet/minecraft/class_1603;method_7105(Lnet/minecraft/class_1309;F)Vnamed attackLnet/minecraft/entity/ai/RangedAttackMob;attack(Lnet/minecraft/entity/LivingEntity;F)V
-
method_29919
- Overrides:
method_29919in classEntity- Mappings:
Namespace Name Mixin selector official cpLaro;cp()Ldkn;intermediary method_29919Lnet/minecraft/class_1297;method_29919()Lnet/minecraft/class_243;named method_29919Lnet/minecraft/entity/Entity;method_29919()Lnet/minecraft/util/math/Vec3d;
-