Class Allay
java.lang.Object
net.minecraftforge.common.capabilities.CapabilityProvider<Entity>
net.minecraft.world.entity.Entity
net.minecraft.world.entity.LivingEntity
net.minecraft.world.entity.Mob
net.minecraft.world.entity.PathfinderMob
net.minecraft.world.entity.animal.allay.Allay
- All Implemented Interfaces:
- CommandSource,- Attackable,- InventoryCarrier,- Targeting,- EntityAccess,- VibrationSystem,- Nameable,- ICapabilityProvider,- ICapabilityProviderImpl<Entity>,- ICapabilitySerializable<CompoundTag>,- IForgeEntity,- IForgeLivingEntity,- INBTSerializable<CompoundTag>
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescription(package private) class(package private) classNested classes/interfaces inherited from class net.minecraft.world.entity.LivingEntityLivingEntity.FallsoundsNested classes/interfaces inherited from class net.minecraft.world.entity.EntityEntity.MoveFunction, Entity.MovementEmission, Entity.RemovalReasonNested classes/interfaces inherited from class net.minecraftforge.common.capabilities.CapabilityProviderCapabilityProvider.AsField<B extends ICapabilityProviderImpl<B>>Nested classes/interfaces inherited from interface net.minecraft.world.level.gameevent.vibrations.VibrationSystemVibrationSystem.Data, VibrationSystem.Listener, VibrationSystem.Ticker, VibrationSystem.User
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final floatprivate floatprivate static final EntityDataAccessor<Boolean>private static final EntityDataAccessor<Boolean>private static final intprivate static final Ingredientprivate longprivate final DynamicGameEventListener<Allay.JukeboxListener>private final DynamicGameEventListener<VibrationSystem.Listener>private floatprivate floatprivate final SimpleContainerprivate static final Vec3iprivate BlockPosprivate static final intprivate static final org.slf4j.Loggerprotected static final com.google.common.collect.ImmutableList<MemoryModuleType<?>>private static final intprotected static final com.google.common.collect.ImmutableList<SensorType<? extends Sensor<? super Allay>>>private static final floatprivate floatprivate floatstatic final com.google.common.collect.ImmutableList<Float>private VibrationSystem.Dataprivate final VibrationSystem.UserFields inherited from class net.minecraft.world.entity.PathfinderMobDEFAULT_WALK_TARGET_VALUEFields inherited from class net.minecraft.world.entity.MobambientSoundTime, armorDropChances, DEFAULT_EQUIPMENT_DROP_CHANCE, goalSelector, handDropChances, jumpControl, LEASH_TAG, lookControl, MAX_ENCHANTED_ARMOR_CHANCE, MAX_ENCHANTED_WEAPON_CHANCE, MAX_PICKUP_LOOT_CHANCE, MAX_WEARING_ARMOR_CHANCE, moveControl, navigation, PICKUP_REACH, PRESERVE_ITEM_DROP_CHANCE, targetSelector, UPDATE_GOAL_SELECTOR_EVERY_N_TICKS, xpRewardFields inherited from class net.minecraft.world.entity.LivingEntityanimStep, animStepO, ARMOR_SLOT_OFFSET, ARMOR_SLOTS, attackAnim, attackStrengthTicker, autoSpinAttackTicks, brain, DATA_LIVING_ENTITY_FLAGS, dead, DEATH_DURATION, deathScore, deathTime, DEFAULT_BASE_GRAVITY, DEFAULT_EYE_HEIGHT, EQUIPMENT_SLOT_OFFSET, EXTRA_RENDER_CULLING_SIZE_WITH_BIG_HAT, fallFlyTicks, HAND_SLOTS, hurtDuration, hurtTime, invulnerableDuration, jumping, lastHurt, lastHurtByPlayer, lastHurtByPlayerTime, lerpHeadSteps, lerpSteps, lerpX, lerpXRot, lerpY, lerpYHeadRot, lerpYRot, lerpZ, LIVING_ENTITY_FLAG_IS_USING, LIVING_ENTITY_FLAG_OFF_HAND, LIVING_ENTITY_FLAG_SPIN_ATTACK, MIN_MOVEMENT_DISTANCE, noActionTime, oAttackAnim, oRun, PLAYER_HURT_EXPERIENCE_TIME, removeArrowTime, removeStingerTime, rotA, rotOffs, run, SLEEPING_DIMENSIONS, SWING_DURATION, swinging, swingingArm, swingTime, timeOffs, USE_ITEM_INTERVAL, useItem, useItemRemaining, walkAnimation, xxa, yBodyRot, yBodyRotO, yHeadRot, yHeadRotO, yya, zzaFields inherited from class net.minecraft.world.entity.EntityBASE_TICKS_REQUIRED_TO_FREEZE, blocksBuilding, BOARDING_COOLDOWN, boardingCooldown, BREATHING_DISTANCE_BELOW_EYES, DATA_POSE, DATA_SHARED_FLAGS_ID, DEFAULT_BB_HEIGHT, DEFAULT_BB_WIDTH, DELTA_AFFECTED_BY_BLOCKS_BELOW_0_2, DELTA_AFFECTED_BY_BLOCKS_BELOW_0_5, DELTA_AFFECTED_BY_BLOCKS_BELOW_1_0, ENTITY_COUNTER, entityData, fallDistance, firstTick, FLAG_FALL_FLYING, FLAG_GLOWING, FLAG_ONFIRE, fluidHeight, flyDist, forgeFluidTypeHeight, FREEZE_HURT_FREQUENCY, hasImpulse, horizontalCollision, hurtMarked, ID_TAG, invulnerableTime, isInPowderSnow, isInsidePortal, mainSupportingBlockPos, MAX_ENTITY_TAG_COUNT, minorHorizontalCollision, moveDist, noCulling, noPhysics, PASSENGERS_TAG, portalEntrancePos, portalTime, random, stringUUID, stuckSpeedMultiplier, tickCount, TOTAL_AIR_SUPPLY, uuid, UUID_TAG, verticalCollision, verticalCollisionBelow, walkDist, walkDistO, wasEyeInWater, wasInPowderSnow, wasOnFire, wasTouchingWater, xo, xOld, xRotO, yo, yOld, yRotO, zo, zOldFields inherited from interface net.minecraft.commands.CommandSourceNULLFields inherited from interface net.minecraft.world.entity.npc.InventoryCarrierTAG_INVENTORYFields inherited from interface net.minecraft.world.level.gameevent.vibrations.VibrationSystemRESONANCE_EVENTS, VIBRATION_FREQUENCY_FOR_EVENT
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddAdditionalSaveData(CompoundTag p_218367_) voidaiStep()private booleanallayConsidersItemEqual(ItemStack p_252278_, ItemStack p_250405_) protected Brain.Provider<Allay>private booleanbooleanbooleancanTakeItem(ItemStack p_218380_) protected voidcheckFallDamage(double p_218316_, boolean p_218317_, BlockState p_218318_, BlockPos p_218319_) static AttributeSupplier.Builderprotected PathNavigationcreateNavigation(Level p_218342_) protected voidprotected voidprotected voidprivate voidbooleanequipmentHasChanged(ItemStack p_249825_, ItemStack p_251595_) protected SoundEventgetBrain()protected SoundEventfloatgetHoldingItemAnimationProgress(float p_218395_) protected SoundEventgetHurtSound(DamageSource p_218369_) protected Vec3iprotected floatfloatgetSpinningProgress(float p_240057_) protected floatgetStandingEyeHeight(Pose p_218356_, EntityDimensions p_218357_) voidhandleEntityEvent(byte p_239347_) booleanprivate booleanhasNonMatchingPotion(ItemStack p_248762_, ItemStack p_250839_) booleanhurt(DamageSource p_218339_, float p_218340_) booleanprivate booleanisDuplicationItem(ItemStack p_239736_) booleanprivate booleanbooleanprotected Brain<?>makeBrain(com.mojang.serialization.Dynamic<?> p_218344_) protected InteractionResultmobInteract(Player p_218361_, InteractionHand p_218362_) protected voidpickUpItem(ItemEntity p_218359_) protected voidplayStepSound(BlockPos p_218364_, BlockState p_218365_) voidreadAdditionalSaveData(CompoundTag p_218350_) private voidremoveInteractionItem(Player p_239359_, ItemStack p_239360_) booleanremoveWhenFarAway(double p_218384_) private voidprotected floatridingOffset(Entity p_297954_) protected voidvoidsetDancing(boolean p_240178_) voidsetJukeboxPlaying(BlockPos p_240102_, boolean p_240103_) protected booleanprivate booleanprivate voidvoidtick()voidprivate voidvoidbooleanwantsToPickUp(ItemStack p_218387_) Methods inherited from class net.minecraft.world.entity.PathfinderMobcheckSpawnRules, followLeashSpeed, getWalkTargetValue, getWalkTargetValue, isPanicking, isPathFinding, onLeashDistance, tickLeashMethods inherited from class net.minecraft.world.entity.Mobate, baseTick, canAttackType, canBeLeashed, canFireProjectileWeapon, canHoldItem, canReplaceCurrentItem, canReplaceEqualItem, checkDespawn, checkMobSpawnRules, checkSpawnObstruction, clearRestriction, convertTo, createBodyControl, createMobAttributes, doHurtTarget, dropCustomDeathLoot, dropFromLootTable, dropLeash, enchantSpawnedArmor, enchantSpawnedWeapon, equipItemIfPossible, finalizeSpawn, getAmbientSoundInterval, getArmorSlots, getAttackBoundingBox, getControllingPassenger, getDefaultLootTable, getEquipmentDropChance, getEquipmentForSlot, getExperienceReward, getHandSlots, getHeadRotSpeed, getItemBySlot, getJumpControl, getLeashHolder, getLookControl, getLootTable, getLootTableSeed, getMainArm, getMaxFallDistance, getMaxHeadXRot, getMaxHeadYRot, getMaxSpawnClusterSize, getMoveControl, getNavigation, getPathfindingMalus, getPickResult, getRestrictCenter, getRestrictRadius, getSensing, getSpawnType, getTarget, hasRestriction, interact, isAggressive, isEffectiveAi, isLeashed, isLeftHanded, isMaxGroupSizeReached, isNoAi, isPersistenceRequired, isSpawnCancelled, isSunBurnTick, isWithinMeleeAttackRange, isWithinRestriction, isWithinRestriction, jumpInFluid, jumpInLiquid, lookAt, onOffspringSpawnedFromEgg, onPathfindingDone, onPathfindingStart, playAmbientSound, playHurtSound, populateDefaultEquipmentEnchantments, populateDefaultEquipmentSlots, registerGoals, removeAfterChangingDimensions, removeAllGoals, removeFreeWill, requiresCustomPersistence, restrictTo, serverAiStep, setAggressive, setBaby, setCanPickUpLoot, setDelayedLeashHolderId, setDropChance, setGuaranteedDrop, setItemSlot, setItemSlotAndDropWhenKilled, setLeashedTo, setLeftHanded, setNoAi, setPathfindingMalus, setPersistenceRequired, setSpawnCancelled, setSpeed, setTarget, setXxa, setYya, setZza, shouldDespawnInPeaceful, shouldPassengersInheritMalus, spawnAnim, startRiding, tickHeadTurn, updateControlFlagsMethods inherited from class net.minecraft.world.entity.LivingEntityactuallyHurt, addEffect, addEffect, animateHurt, areAllEffectsAmbient, attackable, blockedByShield, blockUsingShield, broadcastBreakEvent, broadcastBreakEvent, calculateEntityAnimation, calculateFallDamage, canAttack, canAttack, canBeAffected, canBeSeenAsEnemy, canBeSeenByAnyone, canBreatheUnderwater, canChangeDimensions, canDisableShield, canFreeze, canSpawnSoulSpeedParticle, canStandOnFluid, causeFallDamage, checkAutoSpinAttack, clearSleepingPos, completeUsingItem, createLivingAttributes, createWitherRose, curePotionEffects, decreaseAirSupply, die, doAutoAttackOnTouch, doesEmitEquipEvent, doPush, dropAllDeathLoot, dropExperience, eat, forceAddEffect, getAbsorptionAmount, getActiveEffects, getActiveEffectsMap, getArmorCoverPercentage, getArmorValue, getArrowCount, getAttackAnim, getAttribute, getAttributeBaseValue, getAttributeBaseValue, getAttributes, getAttributeValue, getAttributeValue, getBedOrientation, getBlockSpeedFactor, getBoundingBoxForCulling, getCapability, getCombatTracker, getDamageAfterArmorAbsorb, getDamageAfterMagicAbsorb, getDimensions, getDismountPoses, getDrinkingSound, getEatingSound, getEffect, getEquipmentSlotForItem, getEyeHeight, getFallFlyingTicks, getFallSounds, getFluidFallingAdjustedMovement, getFlyingSpeed, getHealth, getHitbox, getHurtDir, getItemInHand, getJumpBoostPower, getJumpPower, getKillCredit, getLastAttacker, getLastClimbablePos, getLastDamageSource, getLastHurtByMob, getLastHurtByMobTimestamp, getLastHurtMob, getLastHurtMobTimestamp, getLocalBoundsForPose, getMainHandItem, getMaxAbsorption, getMaxHealth, getMobType, getMyRidingOffset, getNoActionTime, getOffhandItem, getPassengerRidingPosition, getProjectile, getRandom, getRelativePortalPosition, getRiddenInput, getRiddenSpeed, getScale, getSleepingPos, getSlot, getSpeed, getStingerCount, getSwimAmount, getTicksUsingItem, getUsedItemHand, getUseItem, getUseItemRemainingTicks, getViewYRot, getVisibilityPercent, getVisualRotationYInDegrees, getVoicePitch, getWaterSlowDown, getYHeadRot, goDownInWater, handleDamageEvent, handleRelativeFrictionAndCalculateMovement, hasEffect, hasItemInSlot, hasLineOfSight, heal, hurtArmor, hurtCurrentlyUsedShield, hurtHelmet, increaseAirSupply, indicateDamage, internalSetAbsorptionAmount, invalidateCaps, isAffectedByFluids, isAffectedByPotions, isAlive, isAlwaysExperienceDropper, isAutoSpinAttack, isBaby, isBlocking, isCurrentlyGlowing, isDamageSourceBlocked, isDeadOrDying, isFallFlying, isHolding, isHolding, isImmobile, isInvertedHealAndHarm, isInWall, isPickable, isPushable, isSensitiveToWater, isSleeping, isSuppressingSlidingDownLadder, isUsingItem, isVisuallySwimming, jumpFromGround, kill, knockback, lerpHeadRotationStep, lerpHeadTo, lerpTargetX, lerpTargetXRot, lerpTargetY, lerpTargetYRot, lerpTargetZ, lerpTo, lookAt, maxUpStep, onBelowWorld, onChangedBlock, onClimbable, onEffectAdded, onEffectRemoved, onEffectUpdated, onEnterCombat, onEquipItem, onItemPickup, onLeaveCombat, onSoulSpeedBlock, onSyncedDataUpdated, playBlockFallSound, push, pushEntities, randomTeleport, recreateFromPacket, releaseUsingItem, remove, removeAllEffects, removeEffect, removeEffectNoUpdate, removeEffectParticles, removeFrost, removeSoulSpeed, resetForwardDirectionOfRelativePortalPosition, reviveCaps, rideTick, sendEffectToPassengers, setAbsorptionAmount, setArrowCount, setDiscardFriction, setHealth, setItemInHand, setJumping, setLastHurtByMob, setLastHurtByPlayer, setLastHurtMob, setLivingEntityFlag, setNoActionTime, setRecordPlayingNearby, setSleepingPos, setSprinting, setStingerCount, setYBodyRot, setYHeadRot, shouldDiscardFriction, shouldDropExperience, shouldDropLoot, shouldRemoveSoulSpeed, shouldRiderFaceForward, shouldShowName, skipDropExperience, spawnSoulSpeedParticle, startSleeping, startUsingItem, stopRiding, stopSleeping, stopUsingItem, swing, swing, take, tickDeath, tickEffects, tickRidden, triggerItemUseEffects, tryAddFrost, tryAddSoulSpeed, updateEffectVisibility, updateInvisibilityStatus, updateSwingTime, updateUsingItem, updateWalkAnimation, verifyEquippedItem, wasExperienceConsumed, wouldNotSuffocateAtTargetPoseMethods inherited from class net.minecraft.world.entity.EntityabsMoveTo, absMoveTo, acceptsFailure, acceptsSuccess, addDeltaMovement, addPassenger, addTag, awardKillScore, blockPosition, broadcastToPlayer, calculateUpVector, calculateViewVector, canAddPassenger, canBeCollidedWith, canBeHitByProjectile, canCollideWith, canControlVehicle, canRide, canSpawnSprintParticle, canSprint, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, changeDimension, changeDimension, checkBelowWorld, checkInsideBlocks, checkSlowFallDistance, checkSupportingBlock, chunkPosition, clearFire, closerThan, closerThan, collideBoundingBox, copyPosition, couldAcceptPassenger, createCommandSourceStack, createHoverEvent, damageSources, dampensVibrations, discard, dismountsUnderwater, dismountTo, displayFireAnimation, distanceTo, distanceToSqr, distanceToSqr, distanceToSqr, doEnchantDamageEffects, doWaterSplashEffect, ejectPassengers, equals, extinguishFire, fillCrashReportCategory, findDimensionEntryPoint, fireImmune, fixupDimensions, gameEvent, gameEvent, getAddEntityPacket, getAirSupply, getAllSlots, getBbHeight, getBbWidth, getBlockExplosionResistance, getBlockJumpFactor, getBlockPosBelowThatAffectsMyMovement, getBlockStateOn, getBlockStateOnLegacy, getBlockX, getBlockY, getBlockZ, getBoundingBox, getCollisionHorizontalEscapeVector, getCommandSenderWorld, getControlledVehicle, getCustomName, getDeltaMovement, getDimensionChangingDelay, getDimensionsForge, getDirection, getDismountLocationForPassenger, getDisplayName, getEncodeId, getEntityData, getExitPortal, getEyeHeight, getEyeHeight, getEyeHeightAccess, getEyeInFluidType, getEyePosition, getEyePosition, getEyeY, getFeetBlockState, getFireImmuneTicks, getFirstPassenger, getFluidHeight, getFluidJumpThreshold, getFluidTypeHeight, getForward, getHandHoldingItemAngle, getId, getIndirectPassengers, getLeashOffset, getLightLevelDependentMagicValue, getLightProbePosition, getLookAngle, getMaxAirSupply, getMaxHeightFluidType, getMotionDirection, getMovementEmission, getName, getNameTagOffsetY, getOnPos, getOnPos, getOnPosLegacy, getPassengerAttachmentPoint, getPassengers, getPassengersAndSelf, getPercentFrozen, getPermissionLevel, getPersistentData, getPickRadius, getPistonPushReaction, getPortalCooldown, getPortalWaitTime, getPose, getPosition, getPositionCodec, getPrimaryStepSoundBlockPos, getRandomX, getRandomY, getRandomZ, getRemainingFireTicks, getRemovalReason, getRootVehicle, getRopeHoldPosition, getRotationVector, getScoreboardName, getSelfAndPassengers, getServer, getSharedFlag, getSoundSource, getStringUUID, getSwimHighSpeedSplashSound, getSwimSound, getSwimSplashSound, getTags, getTeam, getTeamColor, getTicksFrozen, getTicksRequiredToFreeze, getType, getTypeName, getUpVector, getUUID, getVehicle, getViewScale, getViewVector, getViewXRot, getX, getX, getXRot, getY, getY, getYRot, getZ, getZ, handleInsidePortal, handleNetherPortal, hasControllingPassenger, hasCustomName, hasExactlyOnePlayerPassenger, hasGlowingTag, hashCode, hasIndirectPassenger, hasPassenger, hasPassenger, hasPermissions, hasPose, ignoreExplosion, interactAt, is, isAddedToWorld, isAlliedTo, isAlliedTo, isAlwaysTicking, isAttackable, isColliding, isControlledByLocalInstance, isCrouching, isCustomNameVisible, isDescending, isDiscrete, isEyeInFluid, isFree, isFreezing, isFullyFrozen, isHorizontalCollisionMinor, isIgnoringBlockTriggers, isInFluidType, isInFluidType, isInLava, isInLiquid, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isInWater, isInWaterOrBubble, isInWaterOrRain, isInWaterRainOrBubble, isNoGravity, isOnFire, isOnPortalCooldown, isOnRails, isPassenger, isPassengerOfSameVehicle, isPushedByFluid, isRemoved, isShiftKeyDown, isSilent, isSpectator, isSprinting, isSteppingCarefully, isSupportedBy, isSuppressingBounce, isSwimming, isUnderWater, isVehicle, isVisuallyCrawling, killedEntity, lavaHurt, lerpMotion, lerpPositionAndRotationStep, level, limitPistonMovement, load, makeBoundingBox, makeStuckInBlock, markHurt, maybeBackOffFromEdge, mayInteract, mirror, move, moveRelative, moveTo, moveTo, moveTo, moveTo, moveTowardsClosestSpace, newDoubleList, newFloatList, nextStep, onAboveBubbleCol, onAddedToWorld, onClientRemoval, onFlap, onGround, onInsideBlock, onInsideBubbleColumn, onlyOpCanSetNbt, onPassengerTurned, onRemovedFromWorld, onSyncedDataUpdated, pick, playCombinationStepSounds, playEntityOnFireExtinguishedSound, playerTouch, playMuffledStepSound, playSound, playSound, playSwimSound, position, positionRider, positionRider, processFlappingMovement, processPortalCooldown, push, reapplyPosition, refreshDimensions, removePassenger, removeTag, removeVehicle, repositionEntityAfterLoad, resetFallDistance, restoreFrom, revive, rotate, save, saveAsPassenger, saveWithoutId, sendSystemMessage, setAirSupply, setBoundingBox, setCustomName, setCustomNameVisible, setDeltaMovement, setDeltaMovement, setFluidTypeHeight, setGlowingTag, setId, setInvisible, setInvulnerable, setIsInPowderSnow, setLevel, setLevelCallback, setMaxUpStep, setNoGravity, setOldPosAndRot, setOnGround, setOnGroundWithKnownMovement, setPortalCooldown, setPortalCooldown, setPos, setPos, setPose, setPosRaw, setRemainingFireTicks, setRemoved, setRot, setSecondsOnFire, setSharedFlag, setSharedFlagOnFire, setShiftKeyDown, setSilent, setSwimming, setTicksFrozen, setUUID, setViewScale, setXRot, setYRot, shouldBeSaved, shouldBlockExplode, shouldInformAdmins, shouldRender, shouldRenderAtSqrDistance, showVehicleHealth, skipAttackInteraction, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnSprintParticle, startRiding, startSeenByPlayer, stopSeenByPlayer, syncPacketPositionCodec, teleportRelative, teleportTo, teleportTo, teleportToWithTicket, thunderHit, toString, touchingUnloadedChunk, trackingPosition, tryCheckInsideBlocks, turn, unRide, unsetRemoved, updateFluidHeightAndDoFluidPushing, updateFluidHeightAndDoFluidPushing, updateFluidHeightAndDoFluidPushing, updateInWaterStateAndDoFluidPushing, updateSwimming, waterSwimSoundMethods inherited from class net.minecraftforge.common.capabilities.CapabilityProviderareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, serializeCapsMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.commands.CommandSourcealwaysAcceptsMethods inherited from interface net.minecraftforge.common.capabilities.ICapabilityProvidergetCapabilityMethods inherited from interface net.minecraftforge.common.extensions.IForgeEntitycanBeRiddenUnderFluidType, canFluidExtinguish, canHydrateInFluidType, canRiderInteract, canStartSwimming, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, deserializeNBT, getClassification, getEyeHeightForge, getEyeInFluidType, getFluidFallDistanceModifier, getFluidMotionScale, getFluidTypeHeight, getMaxHeightFluidType, getParts, getPersistentData, getPickedResult, getSoundFromFluidType, getStepHeight, hasCustomOutlineRendering, isAddedToWorld, isEyeInFluidType, isInFluidType, isInFluidType, isInFluidType, isInFluidType, isInFluidType, isMultipartEntity, isPushedByFluid, onAddedToWorld, onRemovedFromWorld, revive, serializeNBT, shouldRiderSit, shouldUpdateFluidWhileBoatingMethods inherited from interface net.minecraftforge.common.extensions.IForgeLivingEntitycanDrownInFluidType, canSwimInFluidType, moveInFluid, self, sinkInFluidMethods inherited from interface net.minecraft.world.entity.npc.InventoryCarrierreadInventoryFromTag, writeInventoryToTag
- 
Field Details- 
LOGGERprivate static final org.slf4j.Logger LOGGER
- 
ITEM_PICKUP_REACH
- 
LIFTING_ITEM_ANIMATION_DURATIONprivate static final int LIFTING_ITEM_ANIMATION_DURATION- See Also:
 
- 
DANCING_LOOP_DURATIONprivate static final float DANCING_LOOP_DURATION- See Also:
 
- 
SPINNING_ANIMATION_DURATIONprivate static final float SPINNING_ANIMATION_DURATION- See Also:
 
- 
DUPLICATION_ITEM
- 
DUPLICATION_COOLDOWN_TICKSprivate static final int DUPLICATION_COOLDOWN_TICKS- See Also:
 
- 
NUM_OF_DUPLICATION_HEARTSprivate static final int NUM_OF_DUPLICATION_HEARTS- See Also:
 
- 
DATA_DANCING
- 
DATA_CAN_DUPLICATE
- 
SENSOR_TYPESprotected static final com.google.common.collect.ImmutableList<SensorType<? extends Sensor<? super Allay>>> SENSOR_TYPES
- 
MEMORY_TYPES
- 
THROW_SOUND_PITCHES
- 
dynamicVibrationListener
- 
vibrationData
- 
vibrationUser
- 
dynamicJukeboxListener
- 
inventory
- 
jukeboxPos
- 
duplicationCooldownprivate long duplicationCooldown
- 
holdingItemAnimationTicksprivate float holdingItemAnimationTicks
- 
holdingItemAnimationTicks0private float holdingItemAnimationTicks0
- 
dancingAnimationTicksprivate float dancingAnimationTicks
- 
spinningAnimationTicksprivate float spinningAnimationTicks
- 
spinningAnimationTicks0private float spinningAnimationTicks0
 
- 
- 
Constructor Details- 
Allay
 
- 
- 
Method Details- 
brainProvider- Overrides:
- brainProviderin class- LivingEntity
 
- 
makeBrain- Overrides:
- makeBrainin class- LivingEntity
 
- 
getBrain- Overrides:
- getBrainin class- LivingEntity
 
- 
createAttributes
- 
defineSynchedDataprotected void defineSynchedData()- Overrides:
- defineSynchedDatain class- Mob
 
- 
travel- Overrides:
- travelin class- LivingEntity
 
- 
getStandingEyeHeight- Overrides:
- getStandingEyeHeightin class- LivingEntity
 
- 
hurt- Overrides:
- hurtin class- LivingEntity
 
- 
playStepSound- Overrides:
- playStepSoundin class- Entity
 
- 
checkFallDamageprotected void checkFallDamage(double p_218316_, boolean p_218317_, BlockState p_218318_, BlockPos p_218319_) - Overrides:
- checkFallDamagein class- LivingEntity
 
- 
getAmbientSound- Overrides:
- getAmbientSoundin class- Mob
 
- 
getHurtSound- Overrides:
- getHurtSoundin class- LivingEntity
 
- 
getDeathSound- Overrides:
- getDeathSoundin class- LivingEntity
 
- 
getSoundVolumeprotected float getSoundVolume()- Overrides:
- getSoundVolumein class- LivingEntity
 
- 
customServerAiStepprotected void customServerAiStep()- Overrides:
- customServerAiStepin class- Mob
 
- 
aiSteppublic void aiStep()
- 
tickpublic void tick()
- 
canPickUpLootpublic boolean canPickUpLoot()- Overrides:
- canPickUpLootin class- Mob
 
- 
hasItemInHandpublic boolean hasItemInHand()
- 
canTakeItem- Overrides:
- canTakeItemin class- Mob
 
- 
isOnPickupCooldownprivate boolean isOnPickupCooldown()
- 
mobInteract- Overrides:
- mobInteractin class- Mob
 
- 
setJukeboxPlaying
- 
getInventory- Specified by:
- getInventoryin interface- InventoryCarrier
 
- 
getPickupReach- Overrides:
- getPickupReachin class- Mob
 
- 
wantsToPickUp- Overrides:
- wantsToPickUpin class- Mob
 
- 
allayConsidersItemEqual
- 
hasNonMatchingPotion
- 
pickUpItem- Overrides:
- pickUpItemin class- Mob
 
- 
sendDebugPacketsprotected void sendDebugPackets()- Overrides:
- sendDebugPacketsin class- Mob
 
- 
isFlappingpublic boolean isFlapping()- Overrides:
- isFlappingin class- Entity
 
- 
updateDynamicGameEventListenerpublic void updateDynamicGameEventListener(BiConsumer<DynamicGameEventListener<?>, ServerLevel> p_218348_) - Overrides:
- updateDynamicGameEventListenerin class- Entity
 
- 
isDancingpublic boolean isDancing()
- 
setDancingpublic void setDancing(boolean p_240178_) 
- 
shouldStopDancingprivate boolean shouldStopDancing()
- 
getHoldingItemAnimationProgresspublic float getHoldingItemAnimationProgress(float p_218395_) 
- 
isSpinningpublic boolean isSpinning()
- 
getSpinningProgresspublic float getSpinningProgress(float p_240057_) 
- 
equipmentHasChanged- Overrides:
- equipmentHasChangedin class- LivingEntity
 
- 
dropEquipmentprotected void dropEquipment()- Overrides:
- dropEquipmentin class- LivingEntity
 
- 
removeWhenFarAwaypublic boolean removeWhenFarAway(double p_218384_) - Overrides:
- removeWhenFarAwayin class- Mob
 
- 
addAdditionalSaveData- Overrides:
- addAdditionalSaveDatain class- Mob
 
- 
readAdditionalSaveData- Overrides:
- readAdditionalSaveDatain class- Mob
 
- 
shouldStayCloseToLeashHolderprotected boolean shouldStayCloseToLeashHolder()- Overrides:
- shouldStayCloseToLeashHolderin class- PathfinderMob
 
- 
updateDuplicationCooldownprivate void updateDuplicationCooldown()
- 
isDuplicationItem
- 
duplicateAllayprivate void duplicateAllay()
- 
resetDuplicationCooldownprivate void resetDuplicationCooldown()
- 
canDuplicateprivate boolean canDuplicate()
- 
removeInteractionItem
- 
getLeashOffset- Overrides:
- getLeashOffsetin class- Entity
 
- 
ridingOffset- Overrides:
- ridingOffsetin class- Entity
 
- 
handleEntityEventpublic void handleEntityEvent(byte p_239347_) - Overrides:
- handleEntityEventin class- Mob
 
- 
spawnHeartParticleprivate void spawnHeartParticle()
- 
getVibrationData- Specified by:
- getVibrationDatain interface- VibrationSystem
 
- 
getVibrationUser- Specified by:
- getVibrationUserin interface- VibrationSystem
 
 
-