Package net.minecraft.entity.passive
Class AllayEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.LivingEntity
net.minecraft.entity.mob.MobEntity
net.minecraft.entity.mob.PathAwareEntity
net.minecraft.entity.passive.AllayEntity
- All Implemented Interfaces:
InventoryOwner
,CommandOutput
,Nameable
,EntityLike
- Mappings:
Namespace Name official bnn
intermediary net/minecraft/class_7298
named net/minecraft/entity/passive/AllayEntity
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate class
private class
Nested classes/interfaces inherited from class net.minecraft.entity.LivingEntity
LivingEntity.FallSounds
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final TrackedData<Boolean>
private static final TrackedData<Boolean>
private static final int
private static final Ingredient
private long
private static final int
private float
private float
private static final org.slf4j.Logger
private static final float
private static final int
private static final float
private static final float
private float
private float
private float
private static final int
private final EntityGameEventHandler<VibrationListener>
private final SimpleInventory
private static final Vec3i
private final EntityGameEventHandler<AllayEntity.JukeboxEventListener>
private final VibrationListener.Callback
protected static final ImmutableList<MemoryModuleType<?>>
protected static final ImmutableList<SensorType<? extends Sensor<? super AllayEntity>>>
static final ImmutableList<Float>
Fields inherited from class net.minecraft.entity.mob.PathAwareEntity
DEFAULT_PATHFINDING_FAVOR
Fields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, BASE_ENCHANTED_ARMOR_CHANCE, BASE_ENCHANTED_MAIN_HAND_EQUIPMENT_CHANCE, BASE_SPAWN_EQUIPMENT_CHANCE, DEFAULT_CAN_PICKUP_LOOT_CHANCE, DEFAULT_DROP_CHANCE, experiencePoints, field_35039, field_38932, goalSelector, handDropChances, jumpControl, LEASH_KEY, lookControl, MINIMUM_DROPPED_XP_PER_EQUIPMENT, moveControl, navigation, targetSelector
Fields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, airStrafingSpeed, attackingPlayer, BABY_SCALE_FACTOR, bodyTrackingIncrements, bodyYaw, brain, dead, DEATH_TICKS, deathTime, defaultMaxHealth, despawnCounter, EQUIPMENT_SLOT_ID, field_30063, field_30067, field_30069, field_30070, field_30072, field_30074, field_30075, field_6215, forwardSpeed, GLOWING_FLAG, GRAVITY, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, hurtTime, itemUseTimeLeft, jumping, knockbackVelocity, lastAttackedTicks, lastDamageTaken, lastHandSwingProgress, lastLimbDistance, limbAngle, limbDistance, LIVING_FLAGS, lookDirection, maxHurtTime, OFF_HAND_ACTIVE_FLAG, playerHitTimer, preferredHand, prevBodyYaw, prevHeadYaw, prevLookDirection, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, riptideTicks, roll, scoreAmount, serverHeadYaw, serverPitch, serverX, serverY, serverYaw, serverZ, sidewaysSpeed, SLEEPING_DIMENSIONS, stepBobbingAmount, stuckArrowTimer, stuckStingerTimer, upwardSpeed, USING_ITEM_FLAG, USING_RIPTIDE_FLAG
Fields inherited from class net.minecraft.entity.Entity
age, collidedSoftly, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, FALL_FLYING_FLAG_INDEX, fallDistance, field_29991, field_36331, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLOWING_FLAG_INDEX, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inNetherPortal, inPowderSnow, intersectionChecked, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, MAX_RIDING_COOLDOWN, MAX_SCOREBOARD_TAGS, MIN_RISING_BUBBLE_COLUMN_SPEED, movementMultiplier, netherPortalTime, noClip, ON_FIRE_FLAG_INDEX, onGround, PASSENGERS_KEY, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, speed, stepHeight, submergedInWater, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, VELOCITY_AFFECTING_POS_Y_OFFSET, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFire, world
Fields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
private boolean
boolean
boolean
boolean
canImmediatelyDespawn
(double distanceSquared) boolean
protected Brain.Profile<AllayEntity>
protected EntityNavigation
createNavigation
(World world) boolean
damage
(DamageSource source, float amount) private void
decrementStackUnlessInCreative
(PlayerEntity player, ItemStack stack) protected Brain<?>
deserializeBrain
(com.mojang.serialization.Dynamic<?> dynamic) protected void
private void
protected void
fall
(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) protected float
getActiveEyeHeight
(EntityPose pose, EntityDimensions dimensions) protected SoundEvent
getBrain()
protected SoundEvent
protected SoundEvent
getHurtSound
(DamageSource source) protected Vec3i
Returns the list of positions that the entity should try to pathfind to when escaping.protected float
boolean
handleFallDamage
(float fallDistance, float damageMultiplier, DamageSource damageSource) void
handleStatus
(byte status) boolean
hasWings()
protected void
protected ActionResult
interactMob
(PlayerEntity player, Hand hand) boolean
boolean
private boolean
protected void
loot
(ItemEntity item) private boolean
float
method_43397
(float float2) boolean
float
method_44368
(float float2) protected void
mobTick()
protected void
playStepSound
(BlockPos pos, BlockState state) void
protected void
void
setDancing
(boolean dancing) protected boolean
private boolean
private void
void
tick()
private void
void
void
Allows you to do certain speed and velocity calculations.void
updateEventHandler
(BiConsumer<EntityGameEventHandler<?>, ServerWorld> callback) void
updateJukeboxPos
(BlockPos jukeboxPos, boolean playing) void
Methods inherited from class net.minecraft.entity.mob.PathAwareEntity
canSpawn, getFollowLeashSpeed, getPathfindingFavor, getPathfindingFavor, isNavigating, updateForLeashLength, updateLeash
Methods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canBeLeashedBy, canJumpToNextPathNode, canMobSpawn, canMoveVoluntarily, cannotDespawn, canPickupItem, canSpawn, canTarget, canUseRangedWeapon, checkDespawn, clearGoalsAndTasks, clearPositionTarget, convertTo, createBodyControl, createMobAttributes, detachLeash, dropEquipment, dropLoot, enchantEquipment, enchantMainHandItem, equipLootStack, equipStack, getArmorItems, getDropChance, getEquipmentForSlot, getEquippedStack, getHoldingEntity, getItemsHand, getJumpControl, getLimitPerChunk, getLookControl, getLootContextBuilder, getLootTable, getLootTableId, getMainArm, getMaxHeadRotation, getMaxLookPitchChange, getMaxLookYawChange, getMinAmbientSoundDelay, getMoveControl, getNavigation, getPathfindingPenalty, getPickBlockStack, getPositionTarget, getPositionTargetRange, getSafeFallDistance, getTarget, getVisibilityCache, getXpToDrop, hasPositionTarget, initEquipment, initGoals, initialize, interact, isAffectedByDaylight, isAiDisabled, isAttacking, isDisallowedInPeaceful, isInAttackRange, isInWalkTargetRange, isInWalkTargetRange, isLeashed, isLeftHanded, isLogicalSideForUpdatingMovement, isPersistent, lookAtEntity, movesIndependently, onEatingGrass, onPlayerSpawnedChild, playAmbientSound, playHurtSound, playSpawnEffects, prefersNewDamageableItem, prefersNewEquipment, removeFromDimension, setAiDisabled, setAttacking, setBaby, setCanPickUpLoot, setEquipmentDropChance, setForwardSpeed, setHoldingEntityId, setLeftHanded, setMovementSpeed, setPathfindingPenalty, setPersistent, setPositionTarget, setSidewaysSpeed, setTarget, setUpwardSpeed, spawnsTooManyForEachTry, squaredAttackRange, startRiding, swimUpward, tickNewAi, tryAttack, tryEquip, turnHead, updateDropChances, updateEnchantments, updateGoalControls
Methods inherited from class net.minecraft.entity.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, addStatusEffect, animateDamage, applyArmorToDamage, applyDamage, applyFluidMovingSpeed, applyMovementEffects, applyMovementInput, attackLivingEntity, blockedByShield, canBeRiddenInWater, canBreatheInWater, canFreeze, canHaveStatusEffect, canSee, canTakeDamage, canTarget, canWalkOnFluid, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, collides, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createLivingAttributes, createSpawnPacket, damageArmor, damageHelmet, damageShield, disableExperienceDropping, disablesShield, displaySoulSpeedEffects, drop, dropXp, eatFood, endCombat, enterCombat, getAbsorptionAmount, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getArrowType, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseMovementSpeedMultiplier, getBodyYaw, getBoundingBox, getClimbingPos, getDamageTracker, getDespawnCounter, getDimensions, getDrinkSound, getEatSound, getEyeHeight, getFallSounds, getGroup, getHandSwingProgress, getHeadYaw, getHealth, getItemUseTime, getItemUseTimeLeft, getJumpBoostVelocityModifier, getJumpVelocity, getLastAttackedTime, getLastAttackTime, getLeaningPitch, getMainHandStack, getMaxHealth, getMovementSpeed, getNextAirOnLand, getNextAirUnderwater, getOffHandStack, getPoses, getPreferredEquipmentSlot, getPrimeAdversary, getRandom, getRecentDamageSource, getRoll, getScaleFactor, getSleepingDirection, getSleepingPosition, getSoundPitch, getStackInHand, getStackReference, getStatusEffect, getStatusEffects, getStingerCount, getStuckArrowCount, getVelocityMultiplier, getVisibilityBoundingBox, getYaw, hasNoDrag, hasStackEquipped, hasStatusEffect, heal, hurtByWater, isAffectedBySplashPotions, isAlive, isArmorSlot, isBaby, isBlocking, isClimbing, isDead, isExperienceDroppingDisabled, isFallFlying, isGlowing, isHolding, isHolding, isHoldingOntoLadder, isImmobile, isInsideWall, isInSwimmingPose, isMobOrPlayer, isOnSoulSpeedBlock, isPartOfGame, isPushable, isSleeping, isTarget, isUndead, isUsingItem, isUsingRiptide, jump, kill, knockback, knockDownwards, lookAt, markEffectsDirty, modifyAppliedDamage, onAttacking, onDeath, onEquipStack, onKilledBy, onSpawnPacket, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, onTrackedDataSet, playBlockFallSound, playEquipSound, positionInPortal, positionInPortal, processEquippedStack, pushAway, pushAwayFrom, removePowderSnowSlow, removeSoulSpeedBoost, removeStatusEffect, removeStatusEffectInternal, sendEquipmentBreakStatus, sendPickup, sendToolBreakStatus, setAbsorptionAmount, setAttacker, setAttacking, setBodyYaw, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setNearbySongPlaying, setNoDrag, setOnGround, setSleepingPosition, setSprinting, setStackInHand, setStatusEffect, setStingerCount, setStuckArrowCount, shouldAlwaysDropXp, shouldDisplaySoulSpeedEffects, shouldDropLoot, shouldDropXp, shouldRemoveSoulSpeedBoost, shouldRenderName, shouldSwimInFluids, sleep, spawnConsumptionEffects, stopRiding, stopUsingItem, swingHand, swingHand, takeKnockback, takeShieldHit, teleport, tickCramming, tickHandSwing, tickInVoid, tickItemStackUsage, tickRiding, tickRiptide, tickStatusEffects, triggerItemPickedUpByEntityCriteria, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, updateTrackedPositionAndAngles, wakeUp
Methods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addFlapEffects, addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, applyDamageEffects, applyMirror, applyRotation, asMessageSender, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeSpectated, canExplosionDestroyBlock, canModifyAt, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, getAir, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCustomName, getDataTracker, getDefaultName, getDefaultNetherPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEventSource, getEyeHeight, getEyePos, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeight, getHeightOffset, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLeashPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMountedHeightOffset, getMoveEffect, getMovementDirection, getName, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPistonBehavior, getPitch, getPitch, getPortalRect, getPos, getPose, getPrimaryPassenger, getRandomBodyY, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getSwimHeight, getSwimSound, getSyncedPos, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getWidth, getWorld, getX, getY, getYaw, getZ, handleAttack, hasCollidedSoftly, hasCustomName, hashCode, hasNetherPortalCooldown, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, hasPassengerType, hasPermissionLevel, hasPlayerRider, hasPrimaryPassenger, hasVehicle, interactAt, isAttackable, isCollidable, isConnectedThroughVehicle, isCustomNameVisible, isDescending, isFireImmune, isFrozen, isGlowingLocal, isImmuneToExplosion, isInLava, isInPose, isInRange, 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, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, onLanding, onPassengerLookAround, onPlayerCollision, onRemoved, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playExtinguishSound, playSound, playSoundIfNotSilent, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removePassenger, removeScoreboardTag, requestTeleport, requestTeleportAndDismount, resetNetherPortalCooldown, resetPosition, saveNbt, saveSelfNbt, scheduleVelocityUpdate, sendMessage, setAir, setBoundingBox, setChangeListener, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setId, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setPitch, setPos, setPose, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setYaw, shouldBroadcastConsoleToOps, shouldEscapePowderSnow, shouldLeaveSwimmingPose, shouldReceiveFeedback, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, tickNetherPortal, tickNetherPortalCooldown, toNbtList, toNbtList, toString, tryCheckBlockCollision, unsetRemoved, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedPosition, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbt
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.server.command.CommandOutput
cannotBeSilenced
-
Field Details
-
field_39045
private static final org.slf4j.Logger field_39045- Mappings:
Namespace Name Mixin selector official e
Lbnn;e:Lorg/slf4j/Logger;
intermediary field_39045
Lnet/minecraft/class_7298;field_39045:Lorg/slf4j/Logger;
named field_39045
Lnet/minecraft/entity/passive/AllayEntity;field_39045:Lorg/slf4j/Logger;
-
field_38405
private static final int field_38405- See Also:
- Mappings:
Namespace Name Mixin selector official bX
Lbnn;bX:I
intermediary field_38405
Lnet/minecraft/class_7298;field_38405:I
named field_38405
Lnet/minecraft/entity/passive/AllayEntity;field_38405:I
-
ITEM_PICKUP_RANGE_EXPANDER
- Mappings:
Namespace Name Mixin selector official bY
Lbnn;bY:Lhs;
intermediary field_38399
Lnet/minecraft/class_7298;field_38399:Lnet/minecraft/class_2382;
named ITEM_PICKUP_RANGE_EXPANDER
Lnet/minecraft/entity/passive/AllayEntity;ITEM_PICKUP_RANGE_EXPANDER:Lnet/minecraft/util/math/Vec3i;
-
field_39461
private static final int field_39461- See Also:
- Mappings:
Namespace Name Mixin selector official bZ
Lbnn;bZ:I
intermediary field_39461
Lnet/minecraft/class_7298;field_39461:I
named field_39461
Lnet/minecraft/entity/passive/AllayEntity;field_39461:I
-
field_39462
private static final float field_39462- See Also:
- Mappings:
Namespace Name Mixin selector official ca
Lbnn;ca:F
intermediary field_39462
Lnet/minecraft/class_7298;field_39462:F
named field_39462
Lnet/minecraft/entity/passive/AllayEntity;field_39462:F
-
field_39463
private static final float field_39463- See Also:
- Mappings:
Namespace Name Mixin selector official cb
Lbnn;cb:F
intermediary field_39463
Lnet/minecraft/class_7298;field_39463:F
named field_39463
Lnet/minecraft/entity/passive/AllayEntity;field_39463:F
-
field_39451
private static final float field_39451- See Also:
- Mappings:
Namespace Name Mixin selector official cc
Lbnn;cc:F
intermediary field_39451
Lnet/minecraft/class_7298;field_39451:F
named field_39451
Lnet/minecraft/entity/passive/AllayEntity;field_39451:F
-
DUPLICATION_INGREDIENT
- Mappings:
Namespace Name Mixin selector official cd
Lbnn;cd:Lccr;
intermediary field_39464
Lnet/minecraft/class_7298;field_39464:Lnet/minecraft/class_1856;
named DUPLICATION_INGREDIENT
Lnet/minecraft/entity/passive/AllayEntity;DUPLICATION_INGREDIENT:Lnet/minecraft/recipe/Ingredient;
-
DUPLICATION_COOLDOWN
private static final int DUPLICATION_COOLDOWN- See Also:
- Mappings:
Namespace Name Mixin selector official ce
Lbnn;ce:I
intermediary field_39465
Lnet/minecraft/class_7298;field_39465:I
named DUPLICATION_COOLDOWN
Lnet/minecraft/entity/passive/AllayEntity;DUPLICATION_COOLDOWN:I
-
field_39679
private static final int field_39679- See Also:
- Mappings:
Namespace Name Mixin selector official cf
Lbnn;cf:I
intermediary field_39679
Lnet/minecraft/class_7298;field_39679:I
named field_39679
Lnet/minecraft/entity/passive/AllayEntity;field_39679:I
-
DANCING
- Mappings:
Namespace Name Mixin selector official cg
Lbnn;cg:Lzr;
intermediary field_39466
Lnet/minecraft/class_7298;field_39466:Lnet/minecraft/class_2940;
named DANCING
Lnet/minecraft/entity/passive/AllayEntity;DANCING:Lnet/minecraft/entity/data/TrackedData;
-
CAN_DUPLICATE
- Mappings:
Namespace Name Mixin selector official ch
Lbnn;ch:Lzr;
intermediary field_39467
Lnet/minecraft/class_7298;field_39467:Lnet/minecraft/class_2940;
named CAN_DUPLICATE
Lnet/minecraft/entity/passive/AllayEntity;CAN_DUPLICATE:Lnet/minecraft/entity/data/TrackedData;
-
SENSORS
- Mappings:
Namespace Name Mixin selector official b
Lbnn;b:Lcom/google/common/collect/ImmutableList;
intermediary field_38398
Lnet/minecraft/class_7298;field_38398:Lcom/google/common/collect/ImmutableList;
named SENSORS
Lnet/minecraft/entity/passive/AllayEntity;SENSORS:Lcom/google/common/collect/ImmutableList;
-
MEMORY_MODULES
- Mappings:
Namespace Name Mixin selector official c
Lbnn;c:Lcom/google/common/collect/ImmutableList;
intermediary field_38403
Lnet/minecraft/class_7298;field_38403:Lcom/google/common/collect/ImmutableList;
named MEMORY_MODULES
Lnet/minecraft/entity/passive/AllayEntity;MEMORY_MODULES:Lcom/google/common/collect/ImmutableList;
-
THROW_SOUND_PITCHES
- Mappings:
Namespace Name Mixin selector official d
Lbnn;d:Lcom/google/common/collect/ImmutableList;
intermediary field_38937
Lnet/minecraft/class_7298;field_38937:Lcom/google/common/collect/ImmutableList;
named THROW_SOUND_PITCHES
Lnet/minecraft/entity/passive/AllayEntity;THROW_SOUND_PITCHES:Lcom/google/common/collect/ImmutableList;
-
gameEventHandler
- Mappings:
Namespace Name Mixin selector official ci
Lbnn;ci:Lcyx;
intermediary field_38401
Lnet/minecraft/class_7298;field_38401:Lnet/minecraft/class_5715;
named gameEventHandler
Lnet/minecraft/entity/passive/AllayEntity;gameEventHandler:Lnet/minecraft/world/event/listener/EntityGameEventHandler;
-
listenerCallback
- Mappings:
Namespace Name Mixin selector official cj
Lbnn;cj:Lczg$b;
intermediary field_39468
Lnet/minecraft/class_7298;field_39468:Lnet/minecraft/class_5718$class_5719;
named listenerCallback
Lnet/minecraft/entity/passive/AllayEntity;listenerCallback:Lnet/minecraft/world/event/listener/VibrationListener$Callback;
-
jukeboxEventHandler
- Mappings:
Namespace Name Mixin selector official ck
Lbnn;ck:Lcyx;
intermediary field_39469
Lnet/minecraft/class_7298;field_39469:Lnet/minecraft/class_5715;
named jukeboxEventHandler
Lnet/minecraft/entity/passive/AllayEntity;jukeboxEventHandler:Lnet/minecraft/world/event/listener/EntityGameEventHandler;
-
inventory
- Mappings:
Namespace Name Mixin selector official cl
Lbnn;cl:Lazt;
intermediary field_38402
Lnet/minecraft/class_7298;field_38402:Lnet/minecraft/class_1277;
named inventory
Lnet/minecraft/entity/passive/AllayEntity;inventory:Lnet/minecraft/inventory/SimpleInventory;
-
jukeboxPos
- Mappings:
Namespace Name Mixin selector official cm
Lbnn;cm:Lgt;
intermediary field_39470
Lnet/minecraft/class_7298;field_39470:Lnet/minecraft/class_2338;
named jukeboxPos
Lnet/minecraft/entity/passive/AllayEntity;jukeboxPos:Lnet/minecraft/util/math/BlockPos;
-
duplicationCooldown
private long duplicationCooldown- Mappings:
Namespace Name Mixin selector official cn
Lbnn;cn:J
intermediary field_39471
Lnet/minecraft/class_7298;field_39471:J
named duplicationCooldown
Lnet/minecraft/entity/passive/AllayEntity;duplicationCooldown:J
-
field_38935
private float field_38935- Mappings:
Namespace Name Mixin selector official co
Lbnn;co:F
intermediary field_38935
Lnet/minecraft/class_7298;field_38935:F
named field_38935
Lnet/minecraft/entity/passive/AllayEntity;field_38935:F
-
field_38936
private float field_38936- Mappings:
Namespace Name Mixin selector official cp
Lbnn;cp:F
intermediary field_38936
Lnet/minecraft/class_7298;field_38936:F
named field_38936
Lnet/minecraft/entity/passive/AllayEntity;field_38936:F
-
field_39472
private float field_39472- Mappings:
Namespace Name Mixin selector official cq
Lbnn;cq:F
intermediary field_39472
Lnet/minecraft/class_7298;field_39472:F
named field_39472
Lnet/minecraft/entity/passive/AllayEntity;field_39472:F
-
field_39473
private float field_39473- Mappings:
Namespace Name Mixin selector official cr
Lbnn;cr:F
intermediary field_39473
Lnet/minecraft/class_7298;field_39473:F
named field_39473
Lnet/minecraft/entity/passive/AllayEntity;field_39473:F
-
field_39474
private float field_39474- Mappings:
Namespace Name Mixin selector official cs
Lbnn;cs:F
intermediary field_39474
Lnet/minecraft/class_7298;field_39474:F
named field_39474
Lnet/minecraft/entity/passive/AllayEntity;field_39474:F
-
-
Constructor Details
-
AllayEntity
- Mappings:
Namespace Name Mixin selector official <init>
Lbas;<init>(Lbaw;Lcgc;)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
-
createBrainProfile
- Overrides:
createBrainProfile
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official dA
Lbbh;dA()Lbcc$b;
intermediary method_28306
Lnet/minecraft/class_1309;method_28306()Lnet/minecraft/class_4095$class_5303;
named createBrainProfile
Lnet/minecraft/entity/LivingEntity;createBrainProfile()Lnet/minecraft/entity/ai/brain/Brain$Profile;
-
deserializeBrain
- Overrides:
deserializeBrain
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a
Lbbh;a(Lcom/mojang/serialization/Dynamic;)Lbcc;
intermediary method_18867
Lnet/minecraft/class_1309;method_18867(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/class_4095;
named deserializeBrain
Lnet/minecraft/entity/LivingEntity;deserializeBrain(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/entity/ai/brain/Brain;
-
getBrain
- Overrides:
getBrain
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official dz
Lbbh;dz()Lbcc;
intermediary method_18868
Lnet/minecraft/class_1309;method_18868()Lnet/minecraft/class_4095;
named getBrain
Lnet/minecraft/entity/LivingEntity;getBrain()Lnet/minecraft/entity/ai/brain/Brain;
-
createAllayAttributes
- Mappings:
Namespace Name Mixin selector official n
Lbnn;n()Lbch$a;
intermediary method_42655
Lnet/minecraft/class_7298;method_42655()Lnet/minecraft/class_5132$class_5133;
named createAllayAttributes
Lnet/minecraft/entity/passive/AllayEntity;createAllayAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
-
initDataTracker
protected void initDataTracker()- Overrides:
initDataTracker
in classMobEntity
- Mappings:
Namespace Name Mixin selector official a_
Lbas;a_()V
intermediary method_5693
Lnet/minecraft/class_1297;method_5693()V
named initDataTracker
Lnet/minecraft/entity/Entity;initDataTracker()V
-
travel
Allows you to do certain speed and velocity calculations. This is useful for custom vehicle behavior, or custom entity movement. This is not to be confused with AI.See vanilla examples of custom horse vehicle and flying entities.
- Overrides:
travel
in classLivingEntity
- Parameters:
movementInput
- represents the sidewaysSpeed, upwardSpeed, and forwardSpeed of the entity in that order- Mappings:
Namespace Name Mixin selector official g
Lbbh;g(Ldvv;)V
intermediary method_6091
Lnet/minecraft/class_1309;method_6091(Lnet/minecraft/class_243;)V
named travel
Lnet/minecraft/entity/LivingEntity;travel(Lnet/minecraft/util/math/Vec3d;)V
-
getActiveEyeHeight
- Overrides:
getActiveEyeHeight
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official b
Lbbh;b(Lbbt;Lbat;)F
intermediary method_18394
Lnet/minecraft/class_1309;method_18394(Lnet/minecraft/class_4050;Lnet/minecraft/class_4048;)F
named getActiveEyeHeight
Lnet/minecraft/entity/LivingEntity;getActiveEyeHeight(Lnet/minecraft/entity/EntityPose;Lnet/minecraft/entity/EntityDimensions;)F
-
handleFallDamage
public boolean handleFallDamage(float fallDistance, float damageMultiplier, DamageSource damageSource) - Overrides:
handleFallDamage
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a
Lbas;a(FFLbab;)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
-
damage
- Overrides:
damage
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a
Lbas;a(Lbab;F)Z
intermediary method_5643
Lnet/minecraft/class_1297;method_5643(Lnet/minecraft/class_1282;F)Z
named damage
Lnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
-
playStepSound
- Overrides:
playStepSound
in classEntity
- Mappings:
Namespace Name Mixin selector official b
Lbas;b(Lgt;Lcut;)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
-
fall
protected void fall(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) - Overrides:
fall
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a
Lbas;a(DZLcut;Lgt;)V
intermediary method_5623
Lnet/minecraft/class_1297;method_5623(DZLnet/minecraft/class_2680;Lnet/minecraft/class_2338;)V
named fall
Lnet/minecraft/entity/Entity;fall(DZLnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;)V
-
getAmbientSound
- Overrides:
getAmbientSound
in classMobEntity
- Mappings:
Namespace Name Mixin selector official r
Lbbj;r()Lajd;
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 classLivingEntity
- Mappings:
Namespace Name Mixin selector official c
Lbbh;c(Lbab;)Lajd;
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 classLivingEntity
- Mappings:
Namespace Name Mixin selector official x_
Lbbh;x_()Lajd;
intermediary method_6002
Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
named getDeathSound
Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
-
getSoundVolume
protected float getSoundVolume()- Overrides:
getSoundVolume
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official eD
Lbbh;eD()F
intermediary method_6107
Lnet/minecraft/class_1309;method_6107()F
named getSoundVolume
Lnet/minecraft/entity/LivingEntity;getSoundVolume()F
-
mobTick
protected void mobTick() -
tickMovement
public void tickMovement()- Overrides:
tickMovement
in classMobEntity
- Mappings:
Namespace Name Mixin selector official w_
Lbbh;w_()V
intermediary method_6007
Lnet/minecraft/class_1309;method_6007()V
named tickMovement
Lnet/minecraft/entity/LivingEntity;tickMovement()V
-
tick
public void tick() -
canPickUpLoot
public boolean canPickUpLoot()- Overrides:
canPickUpLoot
in classMobEntity
- Mappings:
Namespace Name Mixin selector official fr
Lbbj;fr()Z
intermediary method_5936
Lnet/minecraft/class_1308;method_5936()Z
named canPickUpLoot
Lnet/minecraft/entity/mob/MobEntity;canPickUpLoot()Z
-
isHoldingItem
public boolean isHoldingItem()- Mappings:
Namespace Name Mixin selector official q
Lbnn;q()Z
intermediary method_43396
Lnet/minecraft/class_7298;method_43396()Z
named isHoldingItem
Lnet/minecraft/entity/passive/AllayEntity;isHoldingItem()Z
-
canEquip
-
isItemPickupCoolingDown
private boolean isItemPickupCoolingDown()- Mappings:
Namespace Name Mixin selector official fM
Lbnn;fM()Z
intermediary method_42654
Lnet/minecraft/class_7298;method_42654()Z
named isItemPickupCoolingDown
Lnet/minecraft/entity/passive/AllayEntity;isItemPickupCoolingDown()Z
-
interactMob
- Overrides:
interactMob
in classMobEntity
- Mappings:
Namespace Name Mixin selector official b
Lbbj;b(Lbth;Lazn;)Lazo;
intermediary method_5992
Lnet/minecraft/class_1308;method_5992(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;
named interactMob
Lnet/minecraft/entity/mob/MobEntity;interactMob(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
-
updateJukeboxPos
- Mappings:
Namespace Name Mixin selector official b
Lbnn;b(Lgt;Z)V
intermediary method_44358
Lnet/minecraft/class_7298;method_44358(Lnet/minecraft/class_2338;Z)V
named updateJukeboxPos
Lnet/minecraft/entity/passive/AllayEntity;updateJukeboxPos(Lnet/minecraft/util/math/BlockPos;Z)V
-
getInventory
- Specified by:
getInventory
in interfaceInventoryOwner
- Mappings:
Namespace Name Mixin selector official t
Lbss;t()Lazt;
intermediary method_35199
Lnet/minecraft/class_6067;method_35199()Lnet/minecraft/class_1277;
named getInventory
Lnet/minecraft/entity/InventoryOwner;getInventory()Lnet/minecraft/inventory/SimpleInventory;
-
getItemPickUpRangeExpander
- Overrides:
getItemPickUpRangeExpander
in classMobEntity
- Mappings:
Namespace Name Mixin selector official O
Lbbj;O()Lhs;
intermediary method_42646
Lnet/minecraft/class_1308;method_42646()Lnet/minecraft/class_2382;
named getItemPickUpRangeExpander
Lnet/minecraft/entity/mob/MobEntity;getItemPickUpRangeExpander()Lnet/minecraft/util/math/Vec3i;
-
canGather
-
loot
-
sendAiDebugData
protected void sendAiDebugData()- Overrides:
sendAiDebugData
in classMobEntity
- Mappings:
Namespace Name Mixin selector official R
Lbbj;R()V
intermediary method_18409
Lnet/minecraft/class_1308;method_18409()V
named sendAiDebugData
Lnet/minecraft/entity/mob/MobEntity;sendAiDebugData()V
-
hasWings
public boolean hasWings() -
updateEventHandler
- Overrides:
updateEventHandler
in classEntity
- Mappings:
Namespace Name Mixin selector official a
Lbas;a(Ljava/util/function/BiConsumer;)V
intermediary method_42147
Lnet/minecraft/class_1297;method_42147(Ljava/util/function/BiConsumer;)V
named updateEventHandler
Lnet/minecraft/entity/Entity;updateEventHandler(Ljava/util/function/BiConsumer;)V
-
isDancing
public boolean isDancing()- Mappings:
Namespace Name Mixin selector official fK
Lbnn;fK()Z
intermediary method_44359
Lnet/minecraft/class_7298;method_44359()Z
named isDancing
Lnet/minecraft/entity/passive/AllayEntity;isDancing()Z
-
setDancing
public void setDancing(boolean dancing) - Mappings:
Namespace Name Mixin selector official v
Lbnn;v(Z)V
intermediary method_44367
Lnet/minecraft/class_7298;method_44367(Z)V
named setDancing
Lnet/minecraft/entity/passive/AllayEntity;setDancing(Z)V
-
shouldStopDancing
private boolean shouldStopDancing()- Mappings:
Namespace Name Mixin selector official fN
Lbnn;fN()Z
intermediary method_44361
Lnet/minecraft/class_7298;method_44361()Z
named shouldStopDancing
Lnet/minecraft/entity/passive/AllayEntity;shouldStopDancing()Z
-
method_43397
public float method_43397(float float2) - Mappings:
Namespace Name Mixin selector official y
Lbnn;y(F)F
intermediary method_43397
Lnet/minecraft/class_7298;method_43397(F)F
named method_43397
Lnet/minecraft/entity/passive/AllayEntity;method_43397(F)F
-
method_44360
public boolean method_44360()- Mappings:
Namespace Name Mixin selector official fL
Lbnn;fL()Z
intermediary method_44360
Lnet/minecraft/class_7298;method_44360()Z
named method_44360
Lnet/minecraft/entity/passive/AllayEntity;method_44360()Z
-
method_44368
public float method_44368(float float2) - Mappings:
Namespace Name Mixin selector official z
Lbnn;z(F)F
intermediary method_44368
Lnet/minecraft/class_7298;method_44368(F)F
named method_44368
Lnet/minecraft/entity/passive/AllayEntity;method_44368(F)F
-
dropInventory
protected void dropInventory()- Overrides:
dropInventory
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official ej
Lbbh;ej()V
intermediary method_16078
Lnet/minecraft/class_1309;method_16078()V
named dropInventory
Lnet/minecraft/entity/LivingEntity;dropInventory()V
-
canImmediatelyDespawn
public boolean canImmediatelyDespawn(double distanceSquared) - Overrides:
canImmediatelyDespawn
in classMobEntity
- Mappings:
Namespace Name Mixin selector official h
Lbbj;h(D)Z
intermediary method_5974
Lnet/minecraft/class_1308;method_5974(D)Z
named canImmediatelyDespawn
Lnet/minecraft/entity/mob/MobEntity;canImmediatelyDespawn(D)Z
-
writeCustomDataToNbt
- Overrides:
writeCustomDataToNbt
in classMobEntity
- Mappings:
Namespace Name Mixin selector official b
Lbas;b(Lpj;)V
intermediary method_5652
Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
named writeCustomDataToNbt
Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
- Overrides:
readCustomDataFromNbt
in classMobEntity
- Mappings:
Namespace Name Mixin selector official a
Lbas;a(Lpj;)V
intermediary method_5749
Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
named readCustomDataFromNbt
Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
shouldFollowLeash
protected boolean shouldFollowLeash()- Overrides:
shouldFollowLeash
in classPathAwareEntity
- Mappings:
Namespace Name Mixin selector official fI
Lbbq;fI()Z
intermediary method_43689
Lnet/minecraft/class_1314;method_43689()Z
named shouldFollowLeash
Lnet/minecraft/entity/mob/PathAwareEntity;shouldFollowLeash()Z
-
getPotentialEscapePositions
Returns the list of positions that the entity should try to pathfind to when escaping.- Overrides:
getPotentialEscapePositions
in classMobEntity
- Returns:
- the list of positions that the entity should try to pathfind to when escaping
- Mappings:
Namespace Name Mixin selector official fG
Lbbj;fG()Ljava/lang/Iterable;
intermediary method_44330
Lnet/minecraft/class_1308;method_44330()Ljava/lang/Iterable;
named getPotentialEscapePositions
Lnet/minecraft/entity/mob/MobEntity;getPotentialEscapePositions()Ljava/lang/Iterable;
-
tickDuplicationCooldown
private void tickDuplicationCooldown()- Mappings:
Namespace Name Mixin selector official fO
Lbnn;fO()V
intermediary method_44362
Lnet/minecraft/class_7298;method_44362()V
named tickDuplicationCooldown
Lnet/minecraft/entity/passive/AllayEntity;tickDuplicationCooldown()V
-
matchesDuplicationIngredient
- Mappings:
Namespace Name Mixin selector official m
Lbnn;m(Lcac;)Z
intermediary method_44366
Lnet/minecraft/class_7298;method_44366(Lnet/minecraft/class_1799;)Z
named matchesDuplicationIngredient
Lnet/minecraft/entity/passive/AllayEntity;matchesDuplicationIngredient(Lnet/minecraft/item/ItemStack;)Z
-
duplicate
private void duplicate()- Mappings:
Namespace Name Mixin selector official fP
Lbnn;fP()V
intermediary method_44363
Lnet/minecraft/class_7298;method_44363()V
named duplicate
Lnet/minecraft/entity/passive/AllayEntity;duplicate()V
-
startDuplicationCooldown
private void startDuplicationCooldown()- Mappings:
Namespace Name Mixin selector official fQ
Lbnn;fQ()V
intermediary method_44364
Lnet/minecraft/class_7298;method_44364()V
named startDuplicationCooldown
Lnet/minecraft/entity/passive/AllayEntity;startDuplicationCooldown()V
-
canDuplicate
private boolean canDuplicate()- Mappings:
Namespace Name Mixin selector official fR
Lbnn;fR()Z
intermediary method_44365
Lnet/minecraft/class_7298;method_44365()Z
named canDuplicate
Lnet/minecraft/entity/passive/AllayEntity;canDuplicate()Z
-
decrementStackUnlessInCreative
- Mappings:
Namespace Name Mixin selector official a
Lbnn;a(Lbth;Lcac;)V
intermediary method_44357
Lnet/minecraft/class_7298;method_44357(Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;)V
named decrementStackUnlessInCreative
Lnet/minecraft/entity/passive/AllayEntity;decrementStackUnlessInCreative(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)V
-
getLeashOffset
- Overrides:
getLeashOffset
in classEntity
- Mappings:
Namespace Name Mixin selector official cC
Lbas;cC()Ldvv;
intermediary method_29919
Lnet/minecraft/class_1297;method_29919()Lnet/minecraft/class_243;
named getLeashOffset
Lnet/minecraft/entity/Entity;getLeashOffset()Lnet/minecraft/util/math/Vec3d;
-
handleStatus
public void handleStatus(byte status) - Overrides:
handleStatus
in classMobEntity
- Mappings:
Namespace Name Mixin selector official a
Lbas;a(B)V
intermediary method_5711
Lnet/minecraft/class_1297;method_5711(B)V
named handleStatus
Lnet/minecraft/entity/Entity;handleStatus(B)V
-
addHeartParticle
private void addHeartParticle()- Mappings:
Namespace Name Mixin selector official fS
Lbnn;fS()V
intermediary method_44608
Lnet/minecraft/class_7298;method_44608()V
named addHeartParticle
Lnet/minecraft/entity/passive/AllayEntity;addHeartParticle()V
-