Class AllayEntity
- All Implemented Interfaces:
InventoryOwner,CommandOutput,Nameable,EntityLike
- Mappings:
Namespace Name official bqsintermediary net/minecraft/class_7298named net/minecraft/entity/passive/AllayEntity
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate classprivate classNested classes/interfaces inherited from class net.minecraft.entity.LivingEntity
LivingEntity.FallSoundsNested 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 intprivate static final Ingredientprivate longprivate static final intprivate floatprivate floatprivate static final intprivate static final floatprivate static final floatprivate floatprivate floatprivate floatprivate static final intprivate static final doubleprivate final EntityGameEventHandler<VibrationListener>private final SimpleInventoryprivate static final Vec3iprivate final EntityGameEventHandler<AllayEntity.JukeboxEventListener>private final VibrationListener.Callbackprivate static final Loggerprotected 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_FAVORFields 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, targetSelectorFields 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_FLAGFields 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, worldFields inherited from interface net.minecraft.server.command.CommandOutput
DUMMYFields inherited from interface net.minecraft.entity.InventoryOwner
INVENTORY_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier 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 floatbooleanhandleFallDamage(float fallDistance, float damageMultiplier, DamageSource damageSource) Called when an entity falls.voidhandleStatus(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.PathAwareEntity
canSpawn, getFollowLeashSpeed, getPathfindingFavor, getPathfindingFavor, isNavigating, updateForLeashLength, updateLeashMethods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canBeLeashedBy, canJumpToNextPathNode, canMobSpawn, canMoveVoluntarily, cannotDespawn, canPickupItem, canSpawn, canTarget, canUseRangedWeapon, checkDespawn, clearGoals, clearGoalsAndTasks, clearPositionTarget, convertTo, createBodyControl, createMobAttributes, detachLeash, dropEquipment, dropLoot, enchantEquipment, enchantMainHandItem, equipLootStack, equipStack, getArmorItems, getDropChance, getEquipmentForSlot, getEquippedStack, getHandItems, getHoldingEntity, getJumpControl, getLimitPerChunk, getLookControl, getLootContextBuilder, getLootTable, getLootTableId, 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, 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, updateGoalControlsMethods inherited from class net.minecraft.entity.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, addStatusEffect, animateDamage, applyArmorToDamage, applyDamage, applyFluidMovingSpeed, applyMovementEffects, applyMovementInput, attackLivingEntity, blockedByShield, canBeRiddenInWater, canBreatheInWater, canFreeze, canHaveStatusEffect, canHit, canSee, canTakeDamage, canTarget, 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, getArrowType, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttackPos, getAttributeBaseValue, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, 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, wakeUpMethods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addFlapEffects, addPassenger, addScoreboardTag, addVelocity, addVelocity, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, applyDamageEffects, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeSpectated, canExplosionDestroyBlock, canModifyAt, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, 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, getCustomName, 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, 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, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPermissionLevel, hasPlayerRider, hasPortalCooldown, hasPrimaryPassenger, hasVehicle, interactAt, isAttackable, isCollidable, isConnectedThroughVehicle, isCrawling, 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, limitFallDistance, method_45320, 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, reinitDimensions, remove, 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, setPitch, setPos, setPose, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setYaw, shouldBroadcastConsoleToOps, shouldEscapePowderSnow, shouldReceiveFeedback, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, tickPortal, tickPortalCooldown, toNbtList, toNbtList, toString, tryCheckBlockCollision, unsetRemoved, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, 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
cannotBeSilencedMethods inherited from interface net.minecraft.entity.InventoryOwner
readInventory, writeInventory
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official eLbqs;e:Lorg/slf4j/Logger;intermediary field_39045Lnet/minecraft/class_7298;field_39045:Lorg/slf4j/Logger;named LOGGERLnet/minecraft/entity/passive/AllayEntity;LOGGER:Lorg/slf4j/Logger;
-
field_38405
private static final int field_38405- See Also:
- Mappings:
Namespace Name Mixin selector official bXLbqs;bX:Iintermediary field_38405Lnet/minecraft/class_7298;field_38405:Inamed field_38405Lnet/minecraft/entity/passive/AllayEntity;field_38405:I
-
ITEM_PICKUP_RANGE_EXPANDER
- Mappings:
Namespace Name Mixin selector official bYLbqs;bY:Lhu;intermediary field_38399Lnet/minecraft/class_7298;field_38399:Lnet/minecraft/class_2382;named ITEM_PICKUP_RANGE_EXPANDERLnet/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 bZLbqs;bZ:Iintermediary field_39461Lnet/minecraft/class_7298;field_39461:Inamed field_39461Lnet/minecraft/entity/passive/AllayEntity;field_39461:I
-
field_39462
private static final float field_39462- See Also:
- Mappings:
Namespace Name Mixin selector official caLbqs;ca:Fintermediary field_39462Lnet/minecraft/class_7298;field_39462:Fnamed field_39462Lnet/minecraft/entity/passive/AllayEntity;field_39462:F
-
field_39463
private static final float field_39463- See Also:
- Mappings:
Namespace Name Mixin selector official cbLbqs;cb:Fintermediary field_39463Lnet/minecraft/class_7298;field_39463:Fnamed field_39463Lnet/minecraft/entity/passive/AllayEntity;field_39463:F
-
DUPLICATION_INGREDIENT
- Mappings:
Namespace Name Mixin selector official ccLbqs;cc:Lcgl;intermediary field_39464Lnet/minecraft/class_7298;field_39464:Lnet/minecraft/class_1856;named DUPLICATION_INGREDIENTLnet/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 cdLbqs;cd:Iintermediary field_39465Lnet/minecraft/class_7298;field_39465:Inamed DUPLICATION_COOLDOWNLnet/minecraft/entity/passive/AllayEntity;DUPLICATION_COOLDOWN:I
-
field_39679
private static final int field_39679- See Also:
- Mappings:
Namespace Name Mixin selector official ceLbqs;ce:Iintermediary field_39679Lnet/minecraft/class_7298;field_39679:Inamed field_39679Lnet/minecraft/entity/passive/AllayEntity;field_39679:I
-
field_40129
private static final double field_40129- See Also:
- Mappings:
Namespace Name Mixin selector official cfLbqs;cf:Dintermediary field_40129Lnet/minecraft/class_7298;field_40129:Dnamed field_40129Lnet/minecraft/entity/passive/AllayEntity;field_40129:D
-
DANCING
- Mappings:
Namespace Name Mixin selector official cgLbqs;cg:Labn;intermediary field_39466Lnet/minecraft/class_7298;field_39466:Lnet/minecraft/class_2940;named DANCINGLnet/minecraft/entity/passive/AllayEntity;DANCING:Lnet/minecraft/entity/data/TrackedData;
-
CAN_DUPLICATE
- Mappings:
Namespace Name Mixin selector official chLbqs;ch:Labn;intermediary field_39467Lnet/minecraft/class_7298;field_39467:Lnet/minecraft/class_2940;named CAN_DUPLICATELnet/minecraft/entity/passive/AllayEntity;CAN_DUPLICATE:Lnet/minecraft/entity/data/TrackedData;
-
SENSORS
- Mappings:
Namespace Name Mixin selector official bLbqs;b:Lcom/google/common/collect/ImmutableList;intermediary field_38398Lnet/minecraft/class_7298;field_38398:Lcom/google/common/collect/ImmutableList;named SENSORSLnet/minecraft/entity/passive/AllayEntity;SENSORS:Lcom/google/common/collect/ImmutableList;
-
MEMORY_MODULES
- Mappings:
Namespace Name Mixin selector official cLbqs;c:Lcom/google/common/collect/ImmutableList;intermediary field_38403Lnet/minecraft/class_7298;field_38403:Lcom/google/common/collect/ImmutableList;named MEMORY_MODULESLnet/minecraft/entity/passive/AllayEntity;MEMORY_MODULES:Lcom/google/common/collect/ImmutableList;
-
THROW_SOUND_PITCHES
- Mappings:
Namespace Name Mixin selector official dLbqs;d:Lcom/google/common/collect/ImmutableList;intermediary field_38937Lnet/minecraft/class_7298;field_38937:Lcom/google/common/collect/ImmutableList;named THROW_SOUND_PITCHESLnet/minecraft/entity/passive/AllayEntity;THROW_SOUND_PITCHES:Lcom/google/common/collect/ImmutableList;
-
gameEventHandler
- Mappings:
Namespace Name Mixin selector official ciLbqs;ci:Ldcz;intermediary field_38401Lnet/minecraft/class_7298;field_38401:Lnet/minecraft/class_5715;named gameEventHandlerLnet/minecraft/entity/passive/AllayEntity;gameEventHandler:Lnet/minecraft/world/event/listener/EntityGameEventHandler;
-
listenerCallback
- Mappings:
Namespace Name Mixin selector official cjLbqs;cj:Lddk$a;intermediary field_39468Lnet/minecraft/class_7298;field_39468:Lnet/minecraft/class_5718$class_5719;named listenerCallbackLnet/minecraft/entity/passive/AllayEntity;listenerCallback:Lnet/minecraft/world/event/listener/VibrationListener$Callback;
-
jukeboxEventHandler
- Mappings:
Namespace Name Mixin selector official ckLbqs;ck:Ldcz;intermediary field_39469Lnet/minecraft/class_7298;field_39469:Lnet/minecraft/class_5715;named jukeboxEventHandlerLnet/minecraft/entity/passive/AllayEntity;jukeboxEventHandler:Lnet/minecraft/world/event/listener/EntityGameEventHandler;
-
inventory
- Mappings:
Namespace Name Mixin selector official clLbqs;cl:Lbcr;intermediary field_38402Lnet/minecraft/class_7298;field_38402:Lnet/minecraft/class_1277;named inventoryLnet/minecraft/entity/passive/AllayEntity;inventory:Lnet/minecraft/inventory/SimpleInventory;
-
jukeboxPos
- Mappings:
Namespace Name Mixin selector official cmLbqs;cm:Lgp;intermediary field_39470Lnet/minecraft/class_7298;field_39470:Lnet/minecraft/class_2338;named jukeboxPosLnet/minecraft/entity/passive/AllayEntity;jukeboxPos:Lnet/minecraft/util/math/BlockPos;
-
duplicationCooldown
private long duplicationCooldown- Mappings:
Namespace Name Mixin selector official cnLbqs;cn:Jintermediary field_39471Lnet/minecraft/class_7298;field_39471:Jnamed duplicationCooldownLnet/minecraft/entity/passive/AllayEntity;duplicationCooldown:J
-
field_38935
private float field_38935- Mappings:
Namespace Name Mixin selector official coLbqs;co:Fintermediary field_38935Lnet/minecraft/class_7298;field_38935:Fnamed field_38935Lnet/minecraft/entity/passive/AllayEntity;field_38935:F
-
field_38936
private float field_38936- Mappings:
Namespace Name Mixin selector official cpLbqs;cp:Fintermediary field_38936Lnet/minecraft/class_7298;field_38936:Fnamed field_38936Lnet/minecraft/entity/passive/AllayEntity;field_38936:F
-
field_39472
private float field_39472- Mappings:
Namespace Name Mixin selector official cqLbqs;cq:Fintermediary field_39472Lnet/minecraft/class_7298;field_39472:Fnamed field_39472Lnet/minecraft/entity/passive/AllayEntity;field_39472:F
-
field_39473
private float field_39473- Mappings:
Namespace Name Mixin selector official crLbqs;cr:Fintermediary field_39473Lnet/minecraft/class_7298;field_39473:Fnamed field_39473Lnet/minecraft/entity/passive/AllayEntity;field_39473:F
-
field_39474
private float field_39474- Mappings:
Namespace Name Mixin selector official csLbqs;cs:Fintermediary field_39474Lnet/minecraft/class_7298;field_39474:Fnamed field_39474Lnet/minecraft/entity/passive/AllayEntity;field_39474:F
-
-
Constructor Details
-
AllayEntity
- Mappings:
Namespace Name Mixin selector official <init>Lbdr;<init>(Lbdv;Lcjw;)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
-
createBrainProfile
- Overrides:
createBrainProfilein classLivingEntity- Mappings:
Namespace Name Mixin selector official dELbeg;dE()Lbfd$b;intermediary method_28306Lnet/minecraft/class_1309;method_28306()Lnet/minecraft/class_4095$class_5303;named createBrainProfileLnet/minecraft/entity/LivingEntity;createBrainProfile()Lnet/minecraft/entity/ai/brain/Brain$Profile;
-
deserializeBrain
- Overrides:
deserializeBrainin classLivingEntity- Mappings:
Namespace Name Mixin selector official aLbeg;a(Lcom/mojang/serialization/Dynamic;)Lbfd;intermediary method_18867Lnet/minecraft/class_1309;method_18867(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/class_4095;named deserializeBrainLnet/minecraft/entity/LivingEntity;deserializeBrain(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/entity/ai/brain/Brain;
-
getBrain
- Overrides:
getBrainin classLivingEntity- Mappings:
Namespace Name Mixin selector official dDLbeg;dD()Lbfd;intermediary method_18868Lnet/minecraft/class_1309;method_18868()Lnet/minecraft/class_4095;named getBrainLnet/minecraft/entity/LivingEntity;getBrain()Lnet/minecraft/entity/ai/brain/Brain;
-
createAllayAttributes
- Mappings:
Namespace Name Mixin selector official mLbqs;m()Lbfi$a;intermediary method_42655Lnet/minecraft/class_7298;method_42655()Lnet/minecraft/class_5132$class_5133;named createAllayAttributesLnet/minecraft/entity/passive/AllayEntity;createAllayAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
-
initDataTracker
protected void initDataTracker()Initializes data tracker.- Overrides:
initDataTrackerin classMobEntity- Mappings:
Namespace Name Mixin selector official a_Lbdr;a_()Vintermediary method_5693Lnet/minecraft/class_1297;method_5693()Vnamed initDataTrackerLnet/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:
travelin classLivingEntity- Parameters:
movementInput- represents the sidewaysSpeed, upwardSpeed, and forwardSpeed of the entity in that order- Mappings:
Namespace Name Mixin selector official hLbeg;h(Leae;)Vintermediary method_6091Lnet/minecraft/class_1309;method_6091(Lnet/minecraft/class_243;)Vnamed travelLnet/minecraft/entity/LivingEntity;travel(Lnet/minecraft/util/math/Vec3d;)V
-
getActiveEyeHeight
- Overrides:
getActiveEyeHeightin classLivingEntity- Mappings:
Namespace Name Mixin selector official bLbeg;b(Lbes;Lbds;)Fintermediary method_18394Lnet/minecraft/class_1309;method_18394(Lnet/minecraft/class_4050;Lnet/minecraft/class_4048;)Fnamed getActiveEyeHeightLnet/minecraft/entity/LivingEntity;getActiveEyeHeight(Lnet/minecraft/entity/EntityPose;Lnet/minecraft/entity/EntityDimensions;)F
-
handleFallDamage
public boolean handleFallDamage(float fallDistance, float damageMultiplier, DamageSource damageSource) Called when an entity falls.Flying mobs and mobs immune to fall damage should override this to do nothing. Mobs with reduced fall damage should override this method to apply reduced damage instead. Some entities explode instead of applying fall damage, like
TntMinecartEntity.- Overrides:
handleFallDamagein classLivingEntity- Returns:
- whether to play the sound when falling on honey block;
falsefor all entities except horses and llamas - Mappings:
Namespace Name Mixin selector official aLbdr;a(FFLbcz;)Zintermediary method_5747Lnet/minecraft/class_1297;method_5747(FFLnet/minecraft/class_1282;)Znamed handleFallDamageLnet/minecraft/entity/Entity;handleFallDamage(FFLnet/minecraft/entity/damage/DamageSource;)Z
-
damage
Applies 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 classLivingEntity- Returns:
- whether the entity was actually damaged
- See Also:
- Mappings:
Namespace Name Mixin selector official aLbdr;a(Lbcz;F)Zintermediary method_5643Lnet/minecraft/class_1297;method_5643(Lnet/minecraft/class_1282;F)Znamed damageLnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
-
playStepSound
- Overrides:
playStepSoundin classEntity- Mappings:
Namespace Name Mixin selector official bLbdr;b(Lgp;Lcyt;)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
-
fall
protected 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 classLivingEntity- Mappings:
Namespace Name Mixin selector official aLbdr;a(DZLcyt;Lgp;)Vintermediary method_5623Lnet/minecraft/class_1297;method_5623(DZLnet/minecraft/class_2680;Lnet/minecraft/class_2338;)Vnamed fallLnet/minecraft/entity/Entity;fall(DZLnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;)V
-
getAmbientSound
- Overrides:
getAmbientSoundin classMobEntity- Mappings:
Namespace Name Mixin selector official rLbei;r()Laln;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 classLivingEntity- Mappings:
Namespace Name Mixin selector official cLbeg;c(Lbcz;)Laln;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 classLivingEntity- Mappings:
Namespace Name Mixin selector official c_Lbeg;c_()Laln;intermediary method_6002Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;named getDeathSoundLnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
-
getSoundVolume
protected float getSoundVolume()- Overrides:
getSoundVolumein classLivingEntity- Mappings:
Namespace Name Mixin selector official eILbeg;eI()Fintermediary method_6107Lnet/minecraft/class_1309;method_6107()Fnamed getSoundVolumeLnet/minecraft/entity/LivingEntity;getSoundVolume()F
-
mobTick
protected void mobTick() -
tickMovement
public void tickMovement()- Overrides:
tickMovementin classMobEntity- Mappings:
Namespace Name Mixin selector official b_Lbeg;b_()Vintermediary method_6007Lnet/minecraft/class_1309;method_6007()Vnamed tickMovementLnet/minecraft/entity/LivingEntity;tickMovement()V
-
tick
public void tick()Ticks this entity. -
canPickUpLoot
public boolean canPickUpLoot()- Overrides:
canPickUpLootin classMobEntity- Mappings:
Namespace Name Mixin selector official fuLbei;fu()Zintermediary method_5936Lnet/minecraft/class_1308;method_5936()Znamed canPickUpLootLnet/minecraft/entity/mob/MobEntity;canPickUpLoot()Z
-
isHoldingItem
public boolean isHoldingItem()- Mappings:
Namespace Name Mixin selector official pLbqs;p()Zintermediary method_43396Lnet/minecraft/class_7298;method_43396()Znamed isHoldingItemLnet/minecraft/entity/passive/AllayEntity;isHoldingItem()Z
-
canEquip
-
isItemPickupCoolingDown
private boolean isItemPickupCoolingDown()- Mappings:
Namespace Name Mixin selector official fPLbqs;fP()Zintermediary method_42654Lnet/minecraft/class_7298;method_42654()Znamed isItemPickupCoolingDownLnet/minecraft/entity/passive/AllayEntity;isItemPickupCoolingDown()Z
-
interactMob
- Overrides:
interactMobin classMobEntity- Mappings:
Namespace Name Mixin selector official bLbei;b(Lbwp;Lbcl;)Lbcm;intermediary method_5992Lnet/minecraft/class_1308;method_5992(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;named interactMobLnet/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 bLbqs;b(Lgp;Z)Vintermediary method_44358Lnet/minecraft/class_7298;method_44358(Lnet/minecraft/class_2338;Z)Vnamed updateJukeboxPosLnet/minecraft/entity/passive/AllayEntity;updateJukeboxPos(Lnet/minecraft/util/math/BlockPos;Z)V
-
getInventory
- Specified by:
getInventoryin interfaceInventoryOwner- Mappings:
Namespace Name Mixin selector official tLbwa;t()Lbcr;intermediary method_35199Lnet/minecraft/class_6067;method_35199()Lnet/minecraft/class_1277;named getInventoryLnet/minecraft/entity/InventoryOwner;getInventory()Lnet/minecraft/inventory/SimpleInventory;
-
getItemPickUpRangeExpander
- Overrides:
getItemPickUpRangeExpanderin classMobEntity- Mappings:
Namespace Name Mixin selector official PLbei;P()Lhu;intermediary method_42646Lnet/minecraft/class_1308;method_42646()Lnet/minecraft/class_2382;named getItemPickUpRangeExpanderLnet/minecraft/entity/mob/MobEntity;getItemPickUpRangeExpander()Lnet/minecraft/util/math/Vec3i;
-
canGather
-
areItemsEqual
- Mappings:
Namespace Name Mixin selector official dLbqs;d(Lcdt;Lcdt;)Zintermediary method_45340Lnet/minecraft/class_7298;method_45340(Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)Znamed areItemsEqualLnet/minecraft/entity/passive/AllayEntity;areItemsEqual(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)Z
-
areDifferentPotions
- Mappings:
Namespace Name Mixin selector official eLbqs;e(Lcdt;Lcdt;)Zintermediary method_45341Lnet/minecraft/class_7298;method_45341(Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)Znamed areDifferentPotionsLnet/minecraft/entity/passive/AllayEntity;areDifferentPotions(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)Z
-
loot
-
sendAiDebugData
protected void sendAiDebugData()- Overrides:
sendAiDebugDatain classMobEntity- Mappings:
Namespace Name Mixin selector official SLbei;S()Vintermediary method_18409Lnet/minecraft/class_1308;method_18409()Vnamed sendAiDebugDataLnet/minecraft/entity/mob/MobEntity;sendAiDebugData()V
-
isFlappingWings
public boolean isFlappingWings()Returns whether the entity is flapping their wings.Entities flapping their wings will call
Entity.addFlapEffects()insideEntity.addAirTravelEffects().- Overrides:
isFlappingWingsin classEntity- Returns:
- whether the entity is flapping their wings
- Mappings:
Namespace Name Mixin selector official aPLbdr;aP()Zintermediary method_5776Lnet/minecraft/class_1297;method_5776()Znamed isFlappingWingsLnet/minecraft/entity/Entity;isFlappingWings()Z
-
updateEventHandler
Called 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 classEntity- Mappings:
Namespace Name Mixin selector official aLbdr;a(Ljava/util/function/BiConsumer;)Vintermediary method_42147Lnet/minecraft/class_1297;method_42147(Ljava/util/function/BiConsumer;)Vnamed updateEventHandlerLnet/minecraft/entity/Entity;updateEventHandler(Ljava/util/function/BiConsumer;)V
-
isDancing
public boolean isDancing()- Mappings:
Namespace Name Mixin selector official fMLbqs;fM()Zintermediary method_44359Lnet/minecraft/class_7298;method_44359()Znamed isDancingLnet/minecraft/entity/passive/AllayEntity;isDancing()Z
-
isPanicking
public boolean isPanicking()- Mappings:
Namespace Name Mixin selector official fNLbqs;fN()Zintermediary method_45342Lnet/minecraft/class_7298;method_45342()Znamed isPanickingLnet/minecraft/entity/passive/AllayEntity;isPanicking()Z
-
setDancing
public void setDancing(boolean dancing) - Mappings:
Namespace Name Mixin selector official vLbqs;v(Z)Vintermediary method_44367Lnet/minecraft/class_7298;method_44367(Z)Vnamed setDancingLnet/minecraft/entity/passive/AllayEntity;setDancing(Z)V
-
shouldStopDancing
private boolean shouldStopDancing()- Mappings:
Namespace Name Mixin selector official fQLbqs;fQ()Zintermediary method_44361Lnet/minecraft/class_7298;method_44361()Znamed shouldStopDancingLnet/minecraft/entity/passive/AllayEntity;shouldStopDancing()Z
-
method_43397
public float method_43397(float float2) - Mappings:
Namespace Name Mixin selector official zLbqs;z(F)Fintermediary method_43397Lnet/minecraft/class_7298;method_43397(F)Fnamed method_43397Lnet/minecraft/entity/passive/AllayEntity;method_43397(F)F
-
method_44360
public boolean method_44360()- Mappings:
Namespace Name Mixin selector official fOLbqs;fO()Zintermediary method_44360Lnet/minecraft/class_7298;method_44360()Znamed method_44360Lnet/minecraft/entity/passive/AllayEntity;method_44360()Z
-
method_44368
public float method_44368(float float2) - Mappings:
Namespace Name Mixin selector official ALbqs;A(F)Fintermediary method_44368Lnet/minecraft/class_7298;method_44368(F)Fnamed method_44368Lnet/minecraft/entity/passive/AllayEntity;method_44368(F)F
-
areItemsDifferent
- Overrides:
areItemsDifferentin classLivingEntity- Mappings:
Namespace Name Mixin selector official aLbeg;a(Lcdt;Lcdt;)Zintermediary method_45324Lnet/minecraft/class_1309;method_45324(Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)Znamed areItemsDifferentLnet/minecraft/entity/LivingEntity;areItemsDifferent(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)Z
-
dropInventory
protected void dropInventory()- Overrides:
dropInventoryin classLivingEntity- Mappings:
Namespace Name Mixin selector official enLbeg;en()Vintermediary method_16078Lnet/minecraft/class_1309;method_16078()Vnamed dropInventoryLnet/minecraft/entity/LivingEntity;dropInventory()V
-
canImmediatelyDespawn
public boolean canImmediatelyDespawn(double distanceSquared) - Overrides:
canImmediatelyDespawnin classMobEntity- Mappings:
Namespace Name Mixin selector official hLbei;h(D)Zintermediary method_5974Lnet/minecraft/class_1308;method_5974(D)Znamed canImmediatelyDespawnLnet/minecraft/entity/mob/MobEntity;canImmediatelyDespawn(D)Z
-
writeCustomDataToNbt
Writes 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 classMobEntity- See Also:
- Mappings:
Namespace Name Mixin selector official bLbdr;b(Lqp;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
Reads 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 classMobEntity- See Also:
- Mappings:
Namespace Name Mixin selector official aLbdr;a(Lqp;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
shouldFollowLeash
protected boolean shouldFollowLeash()- Overrides:
shouldFollowLeashin classPathAwareEntity- Mappings:
Namespace Name Mixin selector official fKLbep;fK()Zintermediary method_43689Lnet/minecraft/class_1314;method_43689()Znamed shouldFollowLeashLnet/minecraft/entity/mob/PathAwareEntity;shouldFollowLeash()Z
-
tickDuplicationCooldown
private void tickDuplicationCooldown()- Mappings:
Namespace Name Mixin selector official fRLbqs;fR()Vintermediary method_44362Lnet/minecraft/class_7298;method_44362()Vnamed tickDuplicationCooldownLnet/minecraft/entity/passive/AllayEntity;tickDuplicationCooldown()V
-
matchesDuplicationIngredient
- Mappings:
Namespace Name Mixin selector official mLbqs;m(Lcdt;)Zintermediary method_44366Lnet/minecraft/class_7298;method_44366(Lnet/minecraft/class_1799;)Znamed matchesDuplicationIngredientLnet/minecraft/entity/passive/AllayEntity;matchesDuplicationIngredient(Lnet/minecraft/item/ItemStack;)Z
-
duplicate
private void duplicate()- Mappings:
Namespace Name Mixin selector official fSLbqs;fS()Vintermediary method_44363Lnet/minecraft/class_7298;method_44363()Vnamed duplicateLnet/minecraft/entity/passive/AllayEntity;duplicate()V
-
startDuplicationCooldown
private void startDuplicationCooldown()- Mappings:
Namespace Name Mixin selector official fTLbqs;fT()Vintermediary method_44364Lnet/minecraft/class_7298;method_44364()Vnamed startDuplicationCooldownLnet/minecraft/entity/passive/AllayEntity;startDuplicationCooldown()V
-
canDuplicate
private boolean canDuplicate()- Mappings:
Namespace Name Mixin selector official fULbqs;fU()Zintermediary method_44365Lnet/minecraft/class_7298;method_44365()Znamed canDuplicateLnet/minecraft/entity/passive/AllayEntity;canDuplicate()Z
-
decrementStackUnlessInCreative
- Mappings:
Namespace Name Mixin selector official aLbqs;a(Lbwp;Lcdt;)Vintermediary method_44357Lnet/minecraft/class_7298;method_44357(Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;)Vnamed decrementStackUnlessInCreativeLnet/minecraft/entity/passive/AllayEntity;decrementStackUnlessInCreative(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)V
-
getLeashOffset
Returns 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 classEntity- Returns:
- the offset from the entity's position where the leash is attached to
- See Also:
- Mappings:
Namespace Name Mixin selector official cGLbdr;cG()Leae;intermediary method_29919Lnet/minecraft/class_1297;method_29919()Lnet/minecraft/class_243;named getLeashOffsetLnet/minecraft/entity/Entity;getLeashOffset()Lnet/minecraft/util/math/Vec3d;
-
getHeightOffset
public double getHeightOffset()- Overrides:
getHeightOffsetin classEntity- Mappings:
Namespace Name Mixin selector official bvLbdr;bv()Dintermediary method_5678Lnet/minecraft/class_1297;method_5678()Dnamed getHeightOffsetLnet/minecraft/entity/Entity;getHeightOffset()D
-
handleStatus
public 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 classMobEntity- See Also:
- Mappings:
Namespace Name Mixin selector official aLbdr;a(B)Vintermediary method_5711Lnet/minecraft/class_1297;method_5711(B)Vnamed handleStatusLnet/minecraft/entity/Entity;handleStatus(B)V
-
addHeartParticle
private void addHeartParticle()- Mappings:
Namespace Name Mixin selector official fVLbqs;fV()Vintermediary method_44608Lnet/minecraft/class_7298;method_44608()Vnamed addHeartParticleLnet/minecraft/entity/passive/AllayEntity;addHeartParticle()V
-