net.minecraft.world.entity.animal.allay

public class Allay

extends PathfinderMob implements InventoryCarrier, VibrationListener$VibrationListenerConfig

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, InventoryCarrier, VibrationListener$VibrationListenerConfig

bnl
net.minecraft.world.entity.animal.allay.Allay
net.minecraft.class_7298
net.minecraft.entity.passive.AllayEntity
net.minecraft.src.C_213035_
net.minecraft.world.entity.animal.allay.Allay

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
e
LOGGER
field_39045
field_39045
f_218307_
private static final int
bX
GAME_EVENT_LISTENER_RANGE
field_38405
field_38405
f_218298_
private static final Vec3i
bY
ITEM_PICKUP_REACH
field_38399
ITEM_PICKUP_RANGE_EXPANDER
f_218299_
private static final int
bZ
ANIMATION_DURATION
field_38934
field_38934
f_218300_
private static final float
ca
PATHFINDING_BOUNDING_BOX_PADDING
field_39451
field_39451
f_238172_
protected static final com.google.common.collect.ImmutableList<SensorType<? extends Sensor<? super Allay>>>
b
SENSOR_TYPES
field_38398
SENSORS
f_218297_
protected static final com.google.common.collect.ImmutableList<MemoryModuleType<?>>
c
MEMORY_TYPES
field_38403
MEMORY_MODULES
f_218301_
public static final com.google.common.collect.ImmutableList<Float>
d
THROW_SOUND_PITCHES
field_38937
THROW_SOUND_PITCHES
f_218306_
private final DynamicGameEventListener<VibrationListener>
cb
dynamicGameEventListener
field_38401
gameEventHandler
f_218302_
private final SimpleContainer
cc
inventory
field_38402
inventory
f_218303_
private float
cd
holdingItemAnimationTicks
field_38935
field_38935
f_218304_
private float
ce
holdingItemAnimationTicks0
field_38936
field_38936
f_218305_

Constructor summary

ModifierConstructor
public (EntityType<? extends Allay> p_218311_, Level arg1)

Method summary

Modifier and TypeMethod
protected Brain$Provider<Allay>
dA()
brainProvider()
method_28306()
createBrainProfile()
m_5490_()
protected Brain<?>
a(com.mojang.serialization.Dynamic<?> arg0)
makeBrain(com.mojang.serialization.Dynamic<?> arg0)
method_18867(com.mojang.serialization.Dynamic<?> arg0)
deserializeBrain(com.mojang.serialization.Dynamic<?> arg0)
m_8075_(com.mojang.serialization.Dynamic<?> arg0)
public Brain<Allay>
dz()
getBrain()
method_18868()
getBrain()
m_6274_()
public static AttributeSupplier$Builder
n()
createAttributes()
method_42655()
createAllayAttributes()
m_218388_()
protected PathNavigation
a(cga arg0)
createNavigation(Level arg0)
method_5965(class_1937 arg0)
createNavigation(World arg0)
m_6037_(C_1596_ arg0)
public void
g(dvt arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)
m_7023_(C_3046_ arg0)
protected float
b(bbr arg0, bar arg1)
getStandingEyeHeight(Pose arg0, EntityDimensions arg1)
method_18394(class_4050 arg0, class_4048 arg1)
getActiveEyeHeight(EntityPose arg0, EntityDimensions arg1)
m_6431_(C_535_ p_218357_, C_510_ arg1)
public boolean
a(float arg0, float arg1, azz arg2)
causeFallDamage(float arg0, float arg1, DamageSource arg2)
method_5747(float arg0, float arg1, class_1282 arg2)
handleFallDamage(float arg0, float arg1, DamageSource arg2)
m_142535_(float p_218322_, float p_218323_, C_489_ arg2)
public boolean
a(azz arg0, float arg1)
hurt(DamageSource arg0, float arg1)
method_5643(class_1282 arg0, float arg1)
damage(DamageSource arg0, float arg1)
m_6469_(C_489_ p_218340_, float arg1)
protected void
b(gt arg0, cur arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
m_7355_(C_4675_ p_218365_, C_2064_ arg1)
protected void
a(double arg0, boolean arg1, cur arg2, gt arg3)
checkFallDamage(double arg0, boolean arg1, BlockState arg2, BlockPos arg3)
method_5623(double arg0, boolean arg1, class_2680 arg2, class_2338 arg3)
fall(double arg0, boolean arg1, BlockState arg2, BlockPos arg3)
m_7840_(double p_218317_, boolean p_218319_, C_2064_ arg2, C_4675_ arg3)
protected SoundEvent
r()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
protected SoundEvent
c(azz arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
x_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
protected float
eD()
getSoundVolume()
method_6107()
getSoundVolume()
m_6121_()
protected void
T()
customServerAiStep()
method_5958()
mobTick()
m_8024_()
public void
w_()
aiStep()
method_6007()
tickMovement()
m_8107_()
public void
k()
tick()
method_5773()
tick()
m_8119_()
public boolean
fr()
canPickUpLoot()
method_5936()
canPickUpLoot()
m_21531_()
public boolean
q()
hasItemInHand()
method_43396()
isHoldingItem()
m_218389_()
public boolean
g(caa arg0)
canTakeItem(ItemStack arg0)
method_18397(class_1799 arg0)
canEquip(ItemStack arg0)
m_7066_(C_1391_ arg0)
private boolean
fM()
isOnPickupCooldown()
method_42654()
isItemPickupCoolingDown()
m_218377_()
protected InteractionResult
b(btf arg0, azl arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
m_6071_(C_1141_ p_218362_, C_470_ arg1)
public SimpleContainer
t()
getInventory()
method_35199()
getInventory()
m_35311_()
protected Vec3i
O()
getPickupReach()
method_42646()
getItemPickUpRangeExpander()
m_213552_()
public boolean
l(caa arg0)
wantsToPickUp(ItemStack arg0)
method_20820(class_1799 arg0)
canGather(ItemStack arg0)
m_7243_(C_1391_ arg0)
protected void
b(bpy arg0)
pickUpItem(ItemEntity arg0)
method_5949(class_1542 arg0)
loot(ItemEntity arg0)
m_7581_(C_976_ arg0)
protected void
R()
sendDebugPackets()
method_18409()
sendAiDebugData()
m_8025_()
public boolean
aL()
isFlapping()
method_5776()
hasWings()
m_142039_()
public void
a(BiConsumer<cyv<?>, afo> arg0)
updateDynamicGameEventListener(BiConsumer<DynamicGameEventListener<?>, ServerLevel> arg0)
method_42147(BiConsumer<class_5715<?>, class_3218> arg0)
updateEventHandler(BiConsumer<EntityGameEventHandler<?>, ServerWorld> arg0)
m_213651_(BiConsumer<C_213129_<?>, C_12_> arg0)
public boolean
fK()
isFlying()
method_43395()
method_43395()
m_218375_()
public float
y(float arg0)
getHoldingItemAnimationProgress(float arg0)
method_43397(float arg0)
method_43397(float arg0)
m_218394_(float arg0)
protected void
ej()
dropEquipment()
method_16078()
dropInventory()
m_5907_()
public boolean
h(double arg0)
removeWhenFarAway(double arg0)
method_5974(double arg0)
canImmediatelyDespawn(double arg0)
m_6785_(double arg0)
public boolean
a(afo arg0, cza arg1, gt arg2, cyy arg3, cyy$a arg4)
shouldListen(ServerLevel arg0, GameEventListener arg1, BlockPos arg2, GameEvent arg3, GameEvent$Context arg4)
method_32970(class_3218 arg0, class_5714 arg1, class_2338 arg2, class_5712 arg3, class_5712$class_7397 arg4)
accepts(ServerWorld arg0, GameEventListener arg1, BlockPos arg2, GameEvent arg3, GameEvent$Emitter arg4)
m_213641_(C_12_ p_218334_, C_141310_ p_218335_, C_4675_ p_218336_, C_141307_ p_218337_, C_213130_ arg4)
public void
a(afo arg0, cza arg1, gt arg2, cyy arg3, baq arg4, baq arg5, float arg6)
onSignalReceive(ServerLevel arg0, GameEventListener arg1, BlockPos arg2, GameEvent arg3, Entity arg4, Entity arg5, float arg6)
method_32969(class_3218 arg0, class_5714 arg1, class_2338 arg2, class_5712 arg3, class_1297 arg4, class_1297 arg5, float arg6)
accept(ServerWorld arg0, GameEventListener arg1, BlockPos arg2, GameEvent arg3, Entity arg4, Entity arg5, float arg6)
m_213991_(C_12_ p_218326_, C_141310_ p_218327_, C_4675_ p_218328_, C_141307_ p_218329_, C_507_ p_218330_, C_507_ p_218331_, float arg6)
public TagKey<GameEvent>
fL()
getListenableEvents()
method_42210()
getTag()
m_213929_()
public void
b(pj arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(pj arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
protected boolean
fI()
shouldStayCloseToLeashHolder()
method_43689()
shouldFollowLeash()
m_213814_()
public Iterable<BlockPos>
fG()
iteratePathfindingStartNodeCandidatePositions()
method_44330()
getPotentialEscapePositions()
m_238383_()
public Vec3
cC()
getLeashOffset()
method_29919()
getLeashOffset()
m_7939_()