Package net.minecraft.entity.passive
Class LlamaEntity
- All Implemented Interfaces:
RangedAttackMob,JumpingMount,Mount,Saddleable,InventoryChangedListener,CommandOutput,Nameable,EntityLike
- Direct Known Subclasses:
TraderLlamaEntity
- Mappings:
Namespace Name official betintermediary net/minecraft/class_1501named net/minecraft/entity/passive/LlamaEntity
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class(package private) static class(package private) static classNested 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
FieldsModifier and TypeFieldDescriptionprivate static TrackedData<Integer>private static intprivate static intprivate @Nullable LlamaEntityprivate @Nullable LlamaEntityprivate booleanprivate static TrackedData<Integer>private static Ingredientprivate static TrackedData<Integer>Fields inherited from class net.minecraft.entity.passive.AbstractDonkeyEntity
field_30412Fields inherited from class net.minecraft.entity.passive.HorseBaseEntity
field_30413, field_30414, field_30415, field_30416, field_30417, field_30418, field_6958, inAir, items, jumpStrength, playExtraHorseSounds, soundTicks, tailWagTicks, temperFields inherited from class net.minecraft.entity.passive.AnimalEntity
BREEDING_COOLDOWNFields inherited from class net.minecraft.entity.passive.PassiveEntity
BABY_AGE, breedingAge, forcedAge, happyTicksRemainingFields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, experiencePoints, field_30083, field_30084, field_30085, field_30091, goalSelector, handDropChances, jumpControl, LEASH_KEY, lookControl, moveControl, navigation, targetSelectorFields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, attackingPlayer, bodyTrackingIncrements, bodyYaw, brain, dead, deathTime, defaultMaxHealth, despawnCounter, field_30063, field_30064, field_30065, field_30066, field_30067, field_30068, field_30069, field_30070, field_30071, field_30072, field_30073, field_30074, field_30075, field_30076, field_30077, 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_29973, field_29974, field_29979, field_29980, field_29981, field_29987, field_29988, field_29989, field_29990, field_29991, field_29992, field_29993, firstUpdate, FLAGS, fluidHeight, glowing, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inanimate, inNetherPortal, inPowderSnow, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, LOGGER, movementMultiplier, netherPortalTime, noClip, onGround, PASSENGERS_KEY, pitch, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, stepHeight, submergedFluidTag, submergedInWater, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFire, world, yawFields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidattack(LivingEntity target, float pullProgress)booleanbooleanbooleancanBreedWith(AnimalEntity other)protected LlamaEntitycreateChild(ServerWorld serverWorld, PassiveEntity passiveEntity)booleanvoidfollow(LlamaEntity llama)protected SoundEventprotected SoundEventgetColorFromCarpet(ItemStack color)protected SoundEventprotected @Nullable SoundEventprotected SoundEventgetHurtSound(DamageSource source)intprotected intintdoubleprotected doubleintintbooleanhandleFallDamage(float fallDistance, float damageMultiplier, DamageSource damageSource)booleanWhether this horse already has an item stack in its horse armor slot.booleanWhether this horse has a slot for custom equipment besides a saddle.booleanprotected voidprotected voidinitialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt)private voidbooleanisBreedingItem(ItemStack stack)booleanbooleanisHorseArmor(ItemStack item)Whether the given item stack is valid for this horse's armor slot.protected booleanbooleanisTrader()voidonInventoryChanged(Inventory sender)protected voidvoidprotected voidplayStepSound(BlockPos pos, BlockState state)voidprotected 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)voidvoidupdatePassengerPosition(Entity passenger)protected voidprotected voidvoidMethods 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, getHeightOffset, getLoveTicks, getLovingPlayer, getPathfindingFavor, getXpToDrop, 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, clearGoalsAndTasks, 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_35055, 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, squaredAttackRange, 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, blockedByShield, canBeRiddenInWater, canBreatheInWater, 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, hasNoDrag, 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, onAttacking, onDeath, onEquipStack, onKilledBy, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, playBlockFallSound, positionInPortal, positionInPortal, pushAway, pushAwayFrom, readFromPacket, removePowderSnowSlow, removeSoulSpeedBoost, removeStatusEffect, removeStatusEffectInternal, scheduleVelocityUpdate, sendEquipmentBreakStatus, sendPickup, sendToolBreakStatus, setAbsorptionAmount, setAttacker, setAttacking, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setNearbySongPlaying, setNoDrag, setOnGround, setRiptideTicks, setSleepingPosition, setSprinting, setStackInHand, setStingerCount, setStuckArrowCount, setYaw, shouldAlwaysDropXp, shouldDisplaySoulSpeedEffects, shouldDropLoot, shouldDropXp, shouldRemoveSoulSpeedBoost, 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, calculateBoundingBox, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeSpectated, canExplosionDestroyBlock, 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, getRemovalReason, 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, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, method_30951, method_36209, 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, saveNbt, saveSelfNbt, sendSystemMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFireTicks, setFlag, setFrozenTicks, setGlowing, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setListener, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setPos, setPose, setPosition, 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, toNbtList, toNbtList, toString, unsetRemoved, updateKilledAdvancementCriterion, updateMovementInFluid, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedPosition, updateTrackedPosition, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbtMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.server.command.CommandOutput
method_36320
-
Field Details
-
field_30425
private static final int field_30425- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official clLbet;cl:Iintermediary field_30425Lnet/minecraft/class_1501;field_30425:Inamed field_30425Lnet/minecraft/entity/passive/LlamaEntity;field_30425:I
-
field_30426
private static final int field_30426- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official cmLbet;cm:Iintermediary field_30426Lnet/minecraft/class_1501;field_30426:Inamed field_30426Lnet/minecraft/entity/passive/LlamaEntity;field_30426:I
-
TAMING_INGREDIENT
- Mappings:
Namespace Name Mixin selector official cnLbet;cn:Lbsm;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 coLbet;co:Lvy;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 cpLbet;cp:Lvy;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 cqLbet;cq:Lvy;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 crLbet;cr:Zintermediary field_6999Lnet/minecraft/class_1501;field_6999:Znamed spitLnet/minecraft/entity/passive/LlamaEntity;spit:Z
-
following
- Mappings:
Namespace Name Mixin selector official csLbet;cs:Lbet;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 ctLbet;ct:Lbet;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>Laso;<init>(Lass;Lbvx;)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
public boolean isTrader()- Mappings:
Namespace Name Mixin selector official fXLbet;fX()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 yLbet;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 ghLbet;gh()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 fYLbet;fY()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 bLaso;b(Lmv;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
- Overrides:
readCustomDataFromNbtin classAbstractDonkeyEntity- Mappings:
Namespace Name Mixin selector official aLaso;a(Lmv;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
initGoals
protected void initGoals()- Overrides:
initGoalsin classHorseBaseEntity- Mappings:
Namespace Name Mixin selector official vLatd;v()Vintermediary method_5959Lnet/minecraft/class_1308;method_5959()Vnamed initGoalsLnet/minecraft/entity/mob/MobEntity;initGoals()V
-
createLlamaAttributes
- Mappings:
Namespace Name Mixin selector official fZLbet;fZ()Laub$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 fLaso;f()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 gaLbet;ga()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 xLbet;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 fqLbeq;fq()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 kLaso;k(Laso;)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 bjLaso;bj()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 eWLatd;eW()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 lLbdf;l(Lbpx;)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 bLbeq;b(Lbjl;Lbpx;)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 ekLatb;ek()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 NbtCompound entityNbt)- Overrides:
initializein classHorseBaseEntity- Mappings:
Namespace Name Mixin selector official aLatd;a(Lbwl;Larh;Latf;Latt;Lmv;)Latt;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/NbtCompound;)Lnet/minecraft/entity/EntityData;
-
getAngrySound
- Overrides:
getAngrySoundin classHorseBaseEntity- Mappings:
Namespace Name Mixin selector official fKLbeq;fK()Laev;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 qLatd;q()Laev;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 cLatb;c(Lary;)Laev;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 rLatb;r()Laev;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 fJLbeq;fJ()Laev;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 bLaso;b(Lgb;Lcjx;)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 frLbep;fr()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 fPLbeq;fP()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 fxLbep;fx()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 fVLbeq;fV()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 fWLbeq;fW()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 kLbeq;k(Lbpx;)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 cLatq;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 aLare;a(Larc;)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 fHLbeq;fH()Vintermediary method_6731Lnet/minecraft/class_1496;method_6731()Vnamed updateSaddleLnet/minecraft/entity/passive/HorseBaseEntity;updateSaddle()V
-
setCarpetColor
- Mappings:
Namespace Name Mixin selector official aLbet;a(Lbot;)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 mLbet;m(Lbpx;)Lbot;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 gbLbet;gb()Lbot;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 fMLbeq;fM()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 aLbdf;a(Lbdf;)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 bLbet;b(Labj;Lasm;)Lbet;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 gcLbet;gc()Lbet;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 jLbet;j(Latb;)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 CLbet;C(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 aLaso;a(FFLary;)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 gdLbet;gd()Vintermediary method_6797Lnet/minecraft/class_1501;method_6797()Vnamed stopFollowingLnet/minecraft/entity/passive/LlamaEntity;stopFollowing()V
-
follow
- Mappings:
Namespace Name Mixin selector official aLbet;a(Lbet;)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 geLbet;ge()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 gfLbet;gf()Zintermediary method_6805Lnet/minecraft/class_1501;method_6805()Znamed isFollowingLnet/minecraft/entity/passive/LlamaEntity;isFollowing()Z
-
getFollowing
- Mappings:
Namespace Name Mixin selector official ggLbet;gg()Lbet;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 foLatk;fo()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 fNLbeq;fN()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 fOLbeq;fO()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 aLbhj;a(Latb;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
-
getLeashOffset
- Overrides:
getLeashOffsetin classEntity- Mappings:
Namespace Name Mixin selector official crLaso;cr()Ldmb;intermediary method_29919Lnet/minecraft/class_1297;method_29919()Lnet/minecraft/class_243;named getLeashOffsetLnet/minecraft/entity/Entity;getLeashOffset()Lnet/minecraft/util/math/Vec3d;
-