Class AllayEntity
- All Implemented Interfaces:
- Attackable,- InventoryOwner,- Targeter,- CommandOutput,- Nameable,- EntityLike,- Vibrations
- Mappings:
- Namespace - Name - official - bsp- intermediary - net/minecraft/class_7298- named - net/minecraft/entity/passive/AllayEntity
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionprivate classprivate classNested classes/interfaces inherited from class net.minecraft.entity.LivingEntityLivingEntity.FallSoundsNested classes/interfaces inherited from class net.minecraft.entity.EntityEntity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReasonNested classes/interfaces inherited from interface net.minecraft.world.event.VibrationsVibrations.Callback, Vibrations.ListenerData, Vibrations.Ticker, Vibrations.VibrationListener
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final TrackedData<Boolean>private static final TrackedData<Boolean>private static final intprivate static final Ingredientprivate longprivate floatprivate floatprivate static final intprivate static final floatprivate static final floatprivate floatprivate floatprivate floatprivate static final intprivate static final doubleprivate final EntityGameEventHandler<Vibrations.VibrationListener>private final SimpleInventoryprivate static final Vec3iprivate final EntityGameEventHandler<AllayEntity.JukeboxEventListener>private static final Loggerprotected static final ImmutableList<MemoryModuleType<?>>protected static final ImmutableList<SensorType<? extends Sensor<? super AllayEntity>>>static final ImmutableList<Float>private final Vibrations.Callbackprivate Vibrations.ListenerDataFields inherited from class net.minecraft.entity.mob.PathAwareEntityDEFAULT_PATHFINDING_FAVORFields inherited from class net.minecraft.entity.mob.MobEntityambientSoundChance, 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, targetSelectorFields inherited from class net.minecraft.entity.LivingEntityactiveItemStack, 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, lastAttackedTicks, lastDamageTaken, lastHandSwingProgress, limbAnimator, 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_FLAGFields inherited from class net.minecraft.entity.Entityage, collidedSoftly, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, FALL_FLYING_FLAG_INDEX, fallDistance, field_29991, field_44870, field_44871, field_44872, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLOWING_FLAG_INDEX, groundCollision, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inNetherPortal, inPowderSnow, intersectionChecked, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, MAX_COMMAND_TAGS, MAX_RIDING_COOLDOWN, MIN_RISING_BUBBLE_COLUMN_SPEED, movementMultiplier, netherPortalTime, noClip, ON_FIRE_FLAG_INDEX, PASSENGERS_KEY, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, speed, submergedInWater, supportingBlockPos, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFireFields inherited from interface net.minecraft.server.command.CommandOutputDUMMYFields inherited from interface net.minecraft.entity.InventoryOwnerINVENTORY_KEYFields inherited from interface net.minecraft.world.event.VibrationsFREQUENCIES, RESONATIONS
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate voidprivate booleanareDifferentPotions(ItemStack stack, ItemStack stack2) booleanareItemsDifferent(ItemStack stack, ItemStack stack2) private booleanareItemsEqual(ItemStack stack, ItemStack stack2) private booleanbooleanbooleanbooleancanImmediatelyDespawn(double distanceSquared) booleanprotected Brain.Profile<AllayEntity>protected EntityNavigationcreateNavigation(World world) booleandamage(DamageSource source, float amount) Applies a damage to this entity.private voiddecrementStackUnlessInCreative(PlayerEntity player, ItemStack stack) protected Brain<?>deserializeBrain(com.mojang.serialization.Dynamic<?> dynamic) protected voidprivate voidprotected voidfall(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) Called when the entity falls.protected floatgetActiveEyeHeight(EntityPose pose, EntityDimensions dimensions) protected SoundEventgetBrain()protected SoundEventdoubleprotected SoundEventgetHurtSound(DamageSource source) protected Vec3iReturns the offset from the entity's position where the leash is attached to.protected floatvoidhandleStatus(byte status) Called on the client when the entity receives an entity status from the server.protected voidInitializes data tracker.protected ActionResultinteractMob(PlayerEntity player, Hand hand) booleanbooleanReturns whether the entity is flapping their wings.booleanprivate booleanbooleanprotected voidloot(ItemEntity item) private booleanfloatmethod_43397(float float2) booleanfloatmethod_44368(float float2) protected voidmobTick()protected voidplayStepSound(BlockPos pos, BlockState state) voidReads custom data fromnbt.protected voidvoidsetDancing(boolean dancing) protected booleanprivate booleanprivate voidvoidtick()Ticks this entity.private voidvoidvoidAllows you to do certain speed and velocity calculations.voidupdateEventHandler(BiConsumer<EntityGameEventHandler<?>, ServerWorld> callback) Called when the entity is loaded to register game event handlers.voidupdateJukeboxPos(BlockPos jukeboxPos, boolean playing) voidWrites custom data tonbt.Methods inherited from class net.minecraft.entity.mob.PathAwareEntitycanSpawn, getFollowLeashSpeed, getPathfindingFavor, getPathfindingFavor, isNavigating, updateForLeashLength, updateLeashMethods inherited from class net.minecraft.entity.mob.MobEntityattachLeash, baseTick, canBeLeashedBy, canMobSpawn, canMoveVoluntarily, cannotDespawn, canPickupItem, canSpawn, canTarget, canUseRangedWeapon, checkDespawn, clearGoals, clearGoalsAndTasks, clearPositionTarget, convertTo, createBodyControl, createMobAttributes, detachLeash, dropEquipment, dropLoot, enchantEquipment, enchantMainHandItem, equipLootStack, equipStack, getArmorItems, getControllingPassenger, getDropChance, getEquipmentForSlot, getEquippedStack, getHandItems, getHoldingEntity, getJumpControl, getLimitPerChunk, getLookControl, getLootTable, getLootTableId, getLootTableSeed, getMainArm, getMaxHeadRotation, getMaxLookPitchChange, getMaxLookYawChange, getMinAmbientSoundDelay, getMoveControl, getNavigation, getPathfindingPenalty, getPickBlockStack, getPositionTarget, getPositionTargetRange, getSafeFallDistance, getSquaredDistanceToAttackPosOf, getTarget, getVisibilityCache, getXpToDrop, hasPositionTarget, initEquipment, initGoals, initialize, interact, isAffectedByDaylight, isAiDisabled, isAttacking, isDisallowedInPeaceful, isInAttackRange, isInWalkTargetRange, isInWalkTargetRange, isLeashed, isLeftHanded, isPersistent, lookAtEntity, movesIndependently, onEatingGrass, onFinishPathfinding, onPlayerSpawnedChild, onStartPathfinding, 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, updateGoalControlsMethods inherited from class net.minecraft.entity.LivingEntityaddPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, addStatusEffect, animateDamage, applyArmorToDamage, applyDamage, applyFluidMovingSpeed, applyMovementEffects, applyMovementInput, attackLivingEntity, blockedByShield, canBreatheInWater, canFreeze, canHaveStatusEffect, canHit, canSee, canTakeDamage, canTarget, canUsePortals, canWalkOnFluid, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createLivingAttributes, damageArmor, damageHelmet, damageShield, disableExperienceDropping, disablesShield, displaySoulSpeedEffects, drop, dropXp, eatFood, endCombat, enterCombat, getAbsorptionAmount, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttackPos, getAttributeBaseValue, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getAttributeValue, getBaseMovementSpeedMultiplier, getBodyYaw, getBoundingBox, getClimbingPos, getControlledMovementInput, getDamageTiltYaw, getDamageTracker, getDespawnCounter, getDimensions, getDrinkSound, getEatSound, getEyeHeight, getFallSounds, getGroup, getHandSwingProgress, getHeadYaw, getHealth, getItemUseTime, getItemUseTimeLeft, getJumpBoostVelocityModifier, getJumpVelocity, getLastAttackedTime, getLastAttacker, getLastAttackTime, getLeaningPitch, getMainHandStack, getMaxHealth, getMovementSpeed, getNextAirOnLand, getNextAirUnderwater, getOffGroundSpeed, getOffHandStack, getPoses, getPreferredEquipmentSlot, getPrimeAdversary, getProjectileType, getRandom, getRecentDamageSource, getRoll, getSaddledSpeed, getScaleFactor, getSleepingDirection, getSleepingPosition, getSoundPitch, getStackInHand, getStackReference, getStatusEffect, getStatusEffects, getStepHeight, getStingerCount, getStuckArrowCount, getVelocityMultiplier, getVisibilityBoundingBox, getYaw, handleFallDamage, 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, onDamaged, onDeath, onEquipStack, onKilledBy, onSpawnPacket, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, onTrackedDataSet, playBlockFallSound, positionInPortal, positionInPortal, processEquippedStack, pushAway, pushAwayFrom, remove, removePowderSnowSlow, removeSoulSpeedBoost, removeStatusEffect, removeStatusEffectInternal, sendEffectToControllingPlayer, sendEquipmentBreakStatus, sendPickup, sendToolBreakStatus, setAbsorptionAmount, setAttacker, setAttacking, setBodyYaw, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setNearbySongPlaying, setNoDrag, setSleepingPosition, setSprinting, setStackInHand, setStatusEffect, setStingerCount, setStuckArrowCount, shouldAlwaysDropXp, shouldDisplaySoulSpeedEffects, shouldDropLoot, shouldDropXp, shouldRemoveSoulSpeedBoost, shouldRenderName, shouldSwimInFluids, sleep, spawnConsumptionEffects, stopRiding, stopUsingItem, swingHand, swingHand, takeKnockback, takeShieldHit, teleport, tickControlled, tickCramming, tickHandSwing, tickInVoid, tickItemStackUsage, tickRiding, tickRiptide, tickStatusEffects, tiltScreen, triggerItemPickedUpByEntityCriteria, updateLimbs, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, updateTrackedPositionAndAngles, wakeUpMethods inherited from class net.minecraft.entity.EntityaddAirTravelEffects, addCommandTag, addFlapEffects, addPassenger, addVelocity, addVelocity, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, applyDamageEffects, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeHitByProjectile, canBeSpectated, canExplosionDestroyBlock, canModifyAt, canSprintAsVehicle, canStartRiding, changeLookDirection, checkBlockCollision, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, couldAcceptPassenger, createSpawnPacket, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, extinguishWithSound, getAir, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCommandTags, getControllingVehicle, getCustomName, getDamageSources, getDataTracker, getDefaultName, getDefaultPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeight, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLeashOffset, getLeashPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMountedHeightOffset, getMoveEffect, getMovementDirection, getName, getNameLabelHeight, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPistonBehavior, getPitch, getPitch, getPortalCooldown, getPortalRect, getPos, getPose, getPosWithYOffset, getRandomBodyY, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getStepSoundPos, getSwimHeight, getSwimSound, getSyncedPos, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getWidth, getWorld, getX, getY, getYaw, getZ, handleAttack, hasCollidedSoftly, hasControllingPassenger, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPermissionLevel, hasPlayerRider, hasPortalCooldown, hasVehicle, interactAt, isAttackable, isCollidable, isConnectedThroughVehicle, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFrozen, isGlowingLocal, isImmuneToExplosion, isInLava, isInPose, isInRange, isInRange, isInsideWaterOrBubbleColumn, isInSneakingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isOnRail, isPartOf, isPlayer, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSupportedBy, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, limitFallDistance, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDataTrackerUpdate, onKilledOther, onLanding, onPassengerLookAround, onPlayerCollision, onRemoved, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playCombinationStepSounds, playExtinguishSound, playSecondaryStepSound, playSound, playSoundIfNotSilent, playSwimSound, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, removeAllPassengers, removePassenger, removeScoreboardTag, requestTeleport, requestTeleportAndDismount, requestTeleportOffset, resetPortalCooldown, resetPosition, saveNbt, saveSelfNbt, scheduleVelocityUpdate, sendMessage, setAir, setBoundingBox, setChangeListener, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setId, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setOnGround, setOnGround, setPitch, setPortalCooldown, setPos, setPose, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setStepHeight, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setWorld, setYaw, shouldBroadcastConsoleToOps, shouldDismountUnderwater, shouldEscapePowderSnow, shouldReceiveFeedback, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, teleport, tickPortal, tickPortalCooldown, toNbtList, toNbtList, toString, tryCheckBlockCollision, unsetRemoved, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSupportingBlockPos, updateSwimming, updateTrackedPosition, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbtMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.server.command.CommandOutputcannotBeSilencedMethods inherited from interface net.minecraft.entity.InventoryOwnerreadInventory, writeInventory
- 
Field Details- 
LOGGER- Mappings:
- Namespace - Name - Mixin selector - official - e- Lbsp;e:Lorg/slf4j/Logger;- intermediary - field_39045- Lnet/minecraft/class_7298;field_39045:Lorg/slf4j/Logger;- named - LOGGER- Lnet/minecraft/entity/passive/AllayEntity;LOGGER:Lorg/slf4j/Logger;
 
- 
ITEM_PICKUP_RANGE_EXPANDER- Mappings:
- Namespace - Name - Mixin selector - official - bT- Lbsp;bT:Lhz;- 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_39461private static final int field_39461- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - bU- Lbsp;bU:I- intermediary - field_39461- Lnet/minecraft/class_7298;field_39461:I- named - field_39461- Lnet/minecraft/entity/passive/AllayEntity;field_39461:I
 
- 
field_39462private static final float field_39462- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - bV- Lbsp;bV:F- intermediary - field_39462- Lnet/minecraft/class_7298;field_39462:F- named - field_39462- Lnet/minecraft/entity/passive/AllayEntity;field_39462:F
 
- 
field_39463private static final float field_39463- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - bW- Lbsp;bW:F- intermediary - field_39463- Lnet/minecraft/class_7298;field_39463:F- named - field_39463- Lnet/minecraft/entity/passive/AllayEntity;field_39463:F
 
- 
DUPLICATION_INGREDIENT- Mappings:
- Namespace - Name - Mixin selector - official - bX- Lbsp;bX:Lciz;- 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_COOLDOWNprivate static final int DUPLICATION_COOLDOWN- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - bY- Lbsp;bY:I- intermediary - field_39465- Lnet/minecraft/class_7298;field_39465:I- named - DUPLICATION_COOLDOWN- Lnet/minecraft/entity/passive/AllayEntity;DUPLICATION_COOLDOWN:I
 
- 
field_39679private static final int field_39679- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - bZ- Lbsp;bZ:I- intermediary - field_39679- Lnet/minecraft/class_7298;field_39679:I- named - field_39679- Lnet/minecraft/entity/passive/AllayEntity;field_39679:I
 
- 
field_40129private static final double field_40129- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - ca- Lbsp;ca:D- intermediary - field_40129- Lnet/minecraft/class_7298;field_40129:D- named - field_40129- Lnet/minecraft/entity/passive/AllayEntity;field_40129:D
 
- 
DANCING- Mappings:
- Namespace - Name - Mixin selector - official - cb- Lbsp;cb:Laby;- 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 - cc- Lbsp;cc:Laby;- 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- Lbsp;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- Lbsp;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- Lbsp;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 - cd- Lbsp;cd:Ldgi;- 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;
 
- 
vibrationListenerData- Mappings:
- Namespace - Name - Mixin selector - official - ce- Lbsp;ce:Ldgu$a;- intermediary - field_44596- Lnet/minecraft/class_7298;field_44596:Lnet/minecraft/class_8514$class_8515;- named - vibrationListenerData- Lnet/minecraft/entity/passive/AllayEntity;vibrationListenerData:Lnet/minecraft/world/event/Vibrations$ListenerData;
 
- 
vibrationCallback- Mappings:
- Namespace - Name - Mixin selector - official - cf- Lbsp;cf:Ldgu$d;- intermediary - field_39468- Lnet/minecraft/class_7298;field_39468:Lnet/minecraft/class_8514$class_5719;- named - vibrationCallback- Lnet/minecraft/entity/passive/AllayEntity;vibrationCallback:Lnet/minecraft/world/event/Vibrations$Callback;
 
- 
jukeboxEventHandler- Mappings:
- Namespace - Name - Mixin selector - official - cg- Lbsp;cg:Ldgi;- 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 - ch- Lbsp;ch:Lbee;- 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 - ci- Lbsp;ci:Lgu;- 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;
 
- 
duplicationCooldownprivate long duplicationCooldown- Mappings:
- Namespace - Name - Mixin selector - official - cj- Lbsp;cj:J- intermediary - field_39471- Lnet/minecraft/class_7298;field_39471:J- named - duplicationCooldown- Lnet/minecraft/entity/passive/AllayEntity;duplicationCooldown:J
 
- 
field_38935private float field_38935- Mappings:
- Namespace - Name - Mixin selector - official - ck- Lbsp;ck:F- intermediary - field_38935- Lnet/minecraft/class_7298;field_38935:F- named - field_38935- Lnet/minecraft/entity/passive/AllayEntity;field_38935:F
 
- 
field_38936private float field_38936- Mappings:
- Namespace - Name - Mixin selector - official - cl- Lbsp;cl:F- intermediary - field_38936- Lnet/minecraft/class_7298;field_38936:F- named - field_38936- Lnet/minecraft/entity/passive/AllayEntity;field_38936:F
 
- 
field_39472private float field_39472- Mappings:
- Namespace - Name - Mixin selector - official - cm- Lbsp;cm:F- intermediary - field_39472- Lnet/minecraft/class_7298;field_39472:F- named - field_39472- Lnet/minecraft/entity/passive/AllayEntity;field_39472:F
 
- 
field_39473private float field_39473- Mappings:
- Namespace - Name - Mixin selector - official - cn- Lbsp;cn:F- intermediary - field_39473- Lnet/minecraft/class_7298;field_39473:F- named - field_39473- Lnet/minecraft/entity/passive/AllayEntity;field_39473:F
 
- 
field_39474private float field_39474- Mappings:
- Namespace - Name - Mixin selector - official - co- Lbsp;co: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>- Lbfj;<init>(Lbfn;Lcmm;)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:
- createBrainProfilein class- LivingEntity
- Mappings:
- Namespace - Name - Mixin selector - official - dL- Lbfz;dL()Lbha$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:
- deserializeBrainin class- LivingEntity
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbfz;a(Lcom/mojang/serialization/Dynamic;)Lbha;- 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:
- getBrainin class- LivingEntity
- Mappings:
- Namespace - Name - Mixin selector - official - dK- Lbfz;dK()Lbha;- 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 - q- Lbsp;q()Lbhf$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;
 
- 
initDataTrackerprotected void initDataTracker()Initializes data tracker.- Overrides:
- initDataTrackerin class- MobEntity
- Mappings:
- Namespace - Name - Mixin selector - official - a_- Lbfj;a_()V- intermediary - method_5693- Lnet/minecraft/class_1297;method_5693()V- named - initDataTracker- Lnet/minecraft/entity/Entity;initDataTracker()V
 
- 
travelAllows 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:
- travelin class- LivingEntity
- Parameters:
- movementInput- represents the sidewaysSpeed, upwardSpeed, and forwardSpeed of the entity in that order
- Mappings:
- Namespace - Name - Mixin selector - official - h- Lbfz;h(Leei;)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:
- getActiveEyeHeightin class- LivingEntity
- Mappings:
- Namespace - Name - Mixin selector - official - b- Lbfz;b(Lbgl;Lbfk;)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
 
- 
damageApplies a damage to this entity. The exact implementation differs between subclasses.LivingEntityhas health value, and damaging the entity decreases it. This also handles shields, extra damage to helmets for falling blocks, setting the attacker, playing hurt sound, etc.Some entities like ItemEntityalso have health value, which the overridden method decrements. There also exist several entities, likeEndCrystalEntity, where any damage discards the entity (perhaps with an explosion).If this is overridden, it must check the result of Entity.isInvulnerableTo(net.minecraft.entity.damage.DamageSource)and return early.- Overrides:
- damagein class- LivingEntity
- Returns:
- whether the entity was actually damaged
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbfj;a(Lben;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:
- playStepSoundin class- Entity
- Mappings:
- Namespace - Name - Mixin selector - official - b- Lbfj;b(Lgu;Ldcb;)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
 
- 
fallprotected void fall(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) Called when the entity falls. Flying mobs should override this to do nothing.- Overrides:
- fallin class- LivingEntity
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbfj;a(DZLdcb;Lgu;)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:
- getAmbientSoundin class- MobEntity
- Mappings:
- Namespace - Name - Mixin selector - official - s- Lbgb;s()Lamg;- 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:
- getHurtSoundin class- LivingEntity
- Mappings:
- Namespace - Name - Mixin selector - official - d- Lbfz;d(Lben;)Lamg;- 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:
- getDeathSoundin class- LivingEntity
- Mappings:
- Namespace - Name - Mixin selector - official - g_- Lbfz;g_()Lamg;- intermediary - method_6002- Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;- named - getDeathSound- Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
 
- 
getSoundVolumeprotected float getSoundVolume()- Overrides:
- getSoundVolumein class- LivingEntity
- Mappings:
- Namespace - Name - Mixin selector - official - eR- Lbfz;eR()F- intermediary - method_6107- Lnet/minecraft/class_1309;method_6107()F- named - getSoundVolume- Lnet/minecraft/entity/LivingEntity;getSoundVolume()F
 
- 
mobTickprotected void mobTick()
- 
tickMovementpublic void tickMovement()- Overrides:
- tickMovementin class- MobEntity
- Mappings:
- Namespace - Name - Mixin selector - official - b_- Lbfz;b_()V- intermediary - method_6007- Lnet/minecraft/class_1309;method_6007()V- named - tickMovement- Lnet/minecraft/entity/LivingEntity;tickMovement()V
 
- 
tickpublic void tick()Ticks this entity.
- 
canPickUpLootpublic boolean canPickUpLoot()- Overrides:
- canPickUpLootin class- MobEntity
- Mappings:
- Namespace - Name - Mixin selector - official - fG- Lbgb;fG()Z- intermediary - method_5936- Lnet/minecraft/class_1308;method_5936()Z- named - canPickUpLoot- Lnet/minecraft/entity/mob/MobEntity;canPickUpLoot()Z
 
- 
isHoldingItempublic boolean isHoldingItem()- Mappings:
- Namespace - Name - Mixin selector - official - r- Lbsp;r()Z- intermediary - method_43396- Lnet/minecraft/class_7298;method_43396()Z- named - isHoldingItem- Lnet/minecraft/entity/passive/AllayEntity;isHoldingItem()Z
 
- 
canEquip
- 
isItemPickupCoolingDownprivate boolean isItemPickupCoolingDown()- Mappings:
- Namespace - Name - Mixin selector - official - gd- Lbsp;gd()Z- intermediary - method_42654- Lnet/minecraft/class_7298;method_42654()Z- named - isItemPickupCoolingDown- Lnet/minecraft/entity/passive/AllayEntity;isItemPickupCoolingDown()Z
 
- 
interactMob- Overrides:
- interactMobin class- MobEntity
- Mappings:
- Namespace - Name - Mixin selector - official - b- Lbgb;b(Lbyo;Lbdw;)Lbdx;- 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- Lbsp;b(Lgu;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:
- getInventoryin interface- InventoryOwner
- Mappings:
- Namespace - Name - Mixin selector - official - w- Lbxz;w()Lbee;- 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:
- getItemPickUpRangeExpanderin class- MobEntity
- Mappings:
- Namespace - Name - Mixin selector - official - R- Lbgb;R()Lhz;- 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
- 
areItemsEqual- Mappings:
- Namespace - Name - Mixin selector - official - d- Lbsp;d(Lcfz;Lcfz;)Z- intermediary - method_45340- Lnet/minecraft/class_7298;method_45340(Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)Z- named - areItemsEqual- Lnet/minecraft/entity/passive/AllayEntity;areItemsEqual(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)Z
 
- 
areDifferentPotions- Mappings:
- Namespace - Name - Mixin selector - official - e- Lbsp;e(Lcfz;Lcfz;)Z- intermediary - method_45341- Lnet/minecraft/class_7298;method_45341(Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)Z- named - areDifferentPotions- Lnet/minecraft/entity/passive/AllayEntity;areDifferentPotions(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)Z
 
- 
loot
- 
sendAiDebugDataprotected void sendAiDebugData()- Overrides:
- sendAiDebugDatain class- MobEntity
- Mappings:
- Namespace - Name - Mixin selector - official - V- Lbgb;V()V- intermediary - method_18409- Lnet/minecraft/class_1308;method_18409()V- named - sendAiDebugData- Lnet/minecraft/entity/mob/MobEntity;sendAiDebugData()V
 
- 
isFlappingWingspublic boolean isFlappingWings()Returns whether the entity is flapping their wings.Entities flapping their wings will call Entity.addFlapEffects()insideEntity.addAirTravelEffects().- Overrides:
- isFlappingWingsin class- Entity
- Returns:
- whether the entity is flapping their wings
- Mappings:
- Namespace - Name - Mixin selector - official - aP- Lbfj;aP()Z- intermediary - method_5776- Lnet/minecraft/class_1297;method_5776()Z- named - isFlappingWings- Lnet/minecraft/entity/Entity;isFlappingWings()Z
 
- 
updateEventHandlerCalled when the entity is loaded to register game event handlers.Entities that listen to game events should first create an instance of EntityGameEventHandlerin the entity's constructor, and override this to callcallback. For example:if (this.world instanceof ServerWorld serverWorld) { callback.accept(this.handler, serverWorld); }- Overrides:
- updateEventHandlerin class- Entity
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbfj;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
 
- 
isDancingpublic boolean isDancing()- Mappings:
- Namespace - Name - Mixin selector - official - fY- Lbsp;fY()Z- intermediary - method_44359- Lnet/minecraft/class_7298;method_44359()Z- named - isDancing- Lnet/minecraft/entity/passive/AllayEntity;isDancing()Z
 
- 
isPanickingpublic boolean isPanicking()- Mappings:
- Namespace - Name - Mixin selector - official - fZ- Lbsp;fZ()Z- intermediary - method_45342- Lnet/minecraft/class_7298;method_45342()Z- named - isPanicking- Lnet/minecraft/entity/passive/AllayEntity;isPanicking()Z
 
- 
setDancingpublic void setDancing(boolean dancing) - Mappings:
- Namespace - Name - Mixin selector - official - w- Lbsp;w(Z)V- intermediary - method_44367- Lnet/minecraft/class_7298;method_44367(Z)V- named - setDancing- Lnet/minecraft/entity/passive/AllayEntity;setDancing(Z)V
 
- 
shouldStopDancingprivate boolean shouldStopDancing()- Mappings:
- Namespace - Name - Mixin selector - official - ge- Lbsp;ge()Z- intermediary - method_44361- Lnet/minecraft/class_7298;method_44361()Z- named - shouldStopDancing- Lnet/minecraft/entity/passive/AllayEntity;shouldStopDancing()Z
 
- 
method_43397public float method_43397(float float2) - Mappings:
- Namespace - Name - Mixin selector - official - D- Lbsp;D(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_44360public boolean method_44360()- Mappings:
- Namespace - Name - Mixin selector - official - ga- Lbsp;ga()Z- intermediary - method_44360- Lnet/minecraft/class_7298;method_44360()Z- named - method_44360- Lnet/minecraft/entity/passive/AllayEntity;method_44360()Z
 
- 
method_44368public float method_44368(float float2) - Mappings:
- Namespace - Name - Mixin selector - official - E- Lbsp;E(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
 
- 
areItemsDifferent- Overrides:
- areItemsDifferentin class- LivingEntity
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbfz;a(Lcfz;Lcfz;)Z- intermediary - method_45324- Lnet/minecraft/class_1309;method_45324(Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)Z- named - areItemsDifferent- Lnet/minecraft/entity/LivingEntity;areItemsDifferent(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)Z
 
- 
dropInventoryprotected void dropInventory()- Overrides:
- dropInventoryin class- LivingEntity
- Mappings:
- Namespace - Name - Mixin selector - official - eu- Lbfz;eu()V- intermediary - method_16078- Lnet/minecraft/class_1309;method_16078()V- named - dropInventory- Lnet/minecraft/entity/LivingEntity;dropInventory()V
 
- 
canImmediatelyDespawnpublic boolean canImmediatelyDespawn(double distanceSquared) - Overrides:
- canImmediatelyDespawnin class- MobEntity
- Mappings:
- Namespace - Name - Mixin selector - official - h- Lbgb;h(D)Z- intermediary - method_5974- Lnet/minecraft/class_1308;method_5974(D)Z- named - canImmediatelyDespawn- Lnet/minecraft/entity/mob/MobEntity;canImmediatelyDespawn(D)Z
 
- 
writeCustomDataToNbtWrites custom data tonbt. Subclasses has to implement this.NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity. - Overrides:
- writeCustomDataToNbtin class- MobEntity
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - b- Lbfj;b(Lqr;)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
 
- 
readCustomDataFromNbtReads custom data fromnbt. Subclasses has to implement this.NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity. nbtmight not have all expected keys, or might have a key whose value does not meet the requirement (such as the type or the range). This method should fall back to a reasonable default value instead of throwing an exception.- Overrides:
- readCustomDataFromNbtin class- MobEntity
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbfj;a(Lqr;)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
 
- 
shouldFollowLeashprotected boolean shouldFollowLeash()- Overrides:
- shouldFollowLeashin class- PathAwareEntity
- Mappings:
- Namespace - Name - Mixin selector - official - fW- Lbgi;fW()Z- intermediary - method_43689- Lnet/minecraft/class_1314;method_43689()Z- named - shouldFollowLeash- Lnet/minecraft/entity/mob/PathAwareEntity;shouldFollowLeash()Z
 
- 
tickDuplicationCooldownprivate void tickDuplicationCooldown()- Mappings:
- Namespace - Name - Mixin selector - official - gf- Lbsp;gf()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 - l- Lbsp;l(Lcfz;)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
 
- 
duplicateprivate void duplicate()- Mappings:
- Namespace - Name - Mixin selector - official - gg- Lbsp;gg()V- intermediary - method_44363- Lnet/minecraft/class_7298;method_44363()V- named - duplicate- Lnet/minecraft/entity/passive/AllayEntity;duplicate()V
 
- 
startDuplicationCooldownprivate void startDuplicationCooldown()- Mappings:
- Namespace - Name - Mixin selector - official - gh- Lbsp;gh()V- intermediary - method_44364- Lnet/minecraft/class_7298;method_44364()V- named - startDuplicationCooldown- Lnet/minecraft/entity/passive/AllayEntity;startDuplicationCooldown()V
 
- 
canDuplicateprivate boolean canDuplicate()- Mappings:
- Namespace - Name - Mixin selector - official - gi- Lbsp;gi()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- Lbsp;a(Lbyo;Lcfz;)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
 
- 
getLeashOffsetReturns the offset from the entity's position where the leash is attached to.This is different from Entity.getLeashPos(float); this method is called on the entity which a leash is attached to.- Overrides:
- getLeashOffsetin class- Entity
- Returns:
- the offset from the entity's position where the leash is attached to
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - cG- Lbfj;cG()Leei;- 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;
 
- 
getHeightOffsetpublic double getHeightOffset()- Overrides:
- getHeightOffsetin class- Entity
- Mappings:
- Namespace - Name - Mixin selector - official - bw- Lbfj;bw()D- intermediary - method_5678- Lnet/minecraft/class_1297;method_5678()D- named - getHeightOffset- Lnet/minecraft/entity/Entity;getHeightOffset()D
 
- 
handleStatuspublic void handleStatus(byte status) Called on the client when the entity receives an entity status from the server. They are often used to spawn particles or play sounds. Subclasses can override this method to handle custom entity status.- Overrides:
- handleStatusin class- MobEntity
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - b- Lbfj;b(B)V- intermediary - method_5711- Lnet/minecraft/class_1297;method_5711(B)V- named - handleStatus- Lnet/minecraft/entity/Entity;handleStatus(B)V
 
- 
addHeartParticleprivate void addHeartParticle()- Mappings:
- Namespace - Name - Mixin selector - official - gj- Lbsp;gj()V- intermediary - method_44608- Lnet/minecraft/class_7298;method_44608()V- named - addHeartParticle- Lnet/minecraft/entity/passive/AllayEntity;addHeartParticle()V
 
- 
getVibrationListenerData- Specified by:
- getVibrationListenerDatain interface- Vibrations
- Mappings:
- Namespace - Name - Mixin selector - official - gb- Ldgu;gb()Ldgu$a;- intermediary - method_51298- Lnet/minecraft/class_8514;method_51298()Lnet/minecraft/class_8514$class_8515;- named - getVibrationListenerData- Lnet/minecraft/world/event/Vibrations;getVibrationListenerData()Lnet/minecraft/world/event/Vibrations$ListenerData;
 
- 
getVibrationCallback- Specified by:
- getVibrationCallbackin interface- Vibrations
- Mappings:
- Namespace - Name - Mixin selector - official - gc- Ldgu;gc()Ldgu$d;- intermediary - method_51299- Lnet/minecraft/class_8514;method_51299()Lnet/minecraft/class_8514$class_5719;- named - getVibrationCallback- Lnet/minecraft/world/event/Vibrations;getVibrationCallback()Lnet/minecraft/world/event/Vibrations$Callback;
 
 
-