net.minecraft.world.entity.animal.allay

public class Allay

extends PathfinderMob implements InventoryCarrier, VibrationSystem

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, ScoreHolder, Attackable, Targeting, InventoryCarrier, VibrationSystem

bzc
net.minecraft.world.entity.animal.allay.Allay
net.minecraft.class_7298
net.minecraft.unmapped.C_ueeoxhql
net.minecraft.entity.passive.AllayEntity
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
f_galxrrwt
LOGGER
LOGGER
f_218307_
private static final Vec3i
bT
ITEM_PICKUP_REACH
field_38399
f_ecxyagii
ITEM_PICKUP_RANGE_EXPANDER
ITEM_PICKUP_REACH
f_218299_
private static final int
bU
LIFTING_ITEM_ANIMATION_DURATION
field_39461
f_isxgvexv
field_39461
f_238768_
private static final float
bV
DANCING_LOOP_DURATION
field_39462
f_cxgrajmm
field_39462
f_238696_
private static final float
bW
SPINNING_ANIMATION_DURATION
field_39463
f_bmniulwu
field_39463
f_238650_
private static final Ingredient
bX
DUPLICATION_ITEM
field_39464
f_kkdwnmbg
DUPLICATION_INGREDIENT
DUPLICATION_INGREDIENT
f_238776_
private static final int
bY
DUPLICATION_COOLDOWN_TICKS
field_39465
f_mtjnjlex
DUPLICATION_COOLDOWN
DUPLICATION_COOLDOWN
f_238543_
private static final int
bZ
NUM_OF_DUPLICATION_HEARTS
field_39679
f_mqaniyob
field_39679
f_238742_
private static final EntityDataAccessor<Boolean>
ca
DATA_DANCING
field_39466
f_oqiruvkz
DANCING
DANCING
f_238627_
private static final EntityDataAccessor<Boolean>
cb
DATA_CAN_DUPLICATE
field_39467
f_fwzlovqf
CAN_DUPLICATE
CAN_DUPLICATE
f_238802_
protected static final com.google.common.collect.ImmutableList<SensorType<? extends Sensor<? super Allay>>>
b
SENSOR_TYPES
field_38398
f_xaexqzwn
SENSORS
SENSORS
f_218297_
protected static final com.google.common.collect.ImmutableList<MemoryModuleType<?>>
c
MEMORY_TYPES
field_38403
f_iqgfejuv
MEMORY_MODULES
MEMORY_MODULES
f_218301_
public static final com.google.common.collect.ImmutableList<Float>
d
THROW_SOUND_PITCHES
field_38937
f_jxnwapwy
THROW_SOUND_PITCHES
THROWN_ITEM_PITCHES
f_218306_
private final DynamicGameEventListener<VibrationSystem$Listener>
cc
dynamicVibrationListener
field_38401
f_gqwygpsf
gameEventHandler
sculkSensorListener
f_238685_
private VibrationSystem$Data
cd
vibrationData
field_44596
f_agftpqlx
vibrationListenerData
vibrationData
f_279586_
private final VibrationSystem$User
ce
vibrationUser
field_39468
f_bfdnvtqa
vibrationCallback
vibrationCallback
f_279563_
private final DynamicGameEventListener<Allay$JukeboxListener>
cf
dynamicJukeboxListener
field_39469
f_uwlxwlku
jukeboxEventHandler
f_238563_
private final SimpleContainer
cg
inventory
field_38402
f_flhfrvyz
inventory
inventory
f_218303_
private BlockPos
ch
jukeboxPos
field_39470
f_zkxtonna
jukeboxPos
pos
f_238682_
private long
ci
duplicationCooldown
field_39471
f_qtotnwas
duplicationCooldown
duplicationCooldown
f_238791_
private float
cj
holdingItemAnimationTicks
field_38935
f_vcfrsywi
field_38935
f_218304_
private float
ck
holdingItemAnimationTicks0
field_38936
f_myblopii
field_38936
f_218305_
private float
cl
dancingAnimationTicks
field_39472
f_oxparwgy
danceTicks
f_238687_
private float
cm
spinningAnimationTicks
field_39473
f_lgixkfsj
field_39473
f_238541_
private float
cn
spinningAnimationTicks0
field_39474
f_rfaaxfvy
field_39474
f_238552_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected Brain$Provider<Allay>
dP()
brainProvider()
method_28306()
m_pusvfpox()
createBrainProfile()
createBrainProfile()
m_5490_()
protected Brain<?>
a(com.mojang.serialization.Dynamic<?> arg0)
makeBrain(com.mojang.serialization.Dynamic<?> arg0)
method_18867(com.mojang.serialization.Dynamic<?> arg0)
m_epkzhkqg(com.mojang.serialization.Dynamic<?> arg0)
deserializeBrain(com.mojang.serialization.Dynamic<?> arg0)
deserializeBrain(com.mojang.serialization.Dynamic<?> arg0)
m_8075_(com.mojang.serialization.Dynamic<?> arg0)
public Brain<Allay>
dO()
getBrain()
method_18868()
m_hobjxuks()
getBrain()
getBrain()
m_6274_()
public static AttributeSupplier$Builder
u()
createAttributes()
method_42655()
m_amirmypp()
createAllayAttributes()
createAttributes()
m_218388_()
protected PathNavigation
b(ctp arg0)
createNavigation(Level arg0)
method_5965(class_1937 arg0)
m_tqtwudhk(C_cdctfzbn arg0)
createNavigation(World arg0)
createNavigation(World arg0)
m_6037_(C_1596_ arg0)
protected void
c_()
defineSynchedData()
method_5693()
m_lwugwlsw()
initDataTracker()
initDataTracker()
m_8097_()
public void
a(elt arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
m_pdfqoxex(C_vgpupfxx arg0)
travel(Vec3d arg0)
travel(Vec3d arg0)
m_7023_(C_3046_ arg0)
protected float
b(bmx arg0, blw arg1)
getStandingEyeHeight(Pose arg0, EntityDimensions arg1)
method_18394(class_4050 arg0, class_4048 arg1)
m_heqvdbfg(C_ufdjspmk arg0, C_sszpscpo arg1)
getActiveEyeHeight(EntityPose arg0, EntityDimensions arg1)
getActiveEyeHeight(EntityPose arg0, EntityDimensions arg1)
m_6431_(C_535_ p_218357_, C_510_ arg1)
public boolean
a(bkt arg0, float arg1)
hurt(DamageSource arg0, float arg1)
method_5643(class_1282 arg0, float arg1)
m_szxeksnh(C_sbxfkpyv arg0, float arg1)
damage(DamageSource arg0, float arg1)
damage(DamageSource arg0, float arg1)
m_6469_(C_489_ p_218340_, float arg1)
protected void
b(hx arg0, djh arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
m_rnleirmb(C_hynzadkk arg0, C_txtbiemp arg1)
playStepSound(BlockPos arg0, BlockState arg1)
playStepSound(BlockPos arg0, BlockState arg1)
m_7355_(C_4675_ p_218365_, C_2064_ arg1)
protected void
a(double arg0, boolean arg1, djh arg2, hx arg3)
checkFallDamage(double arg0, boolean arg1, BlockState arg2, BlockPos arg3)
method_5623(double arg0, boolean arg1, class_2680 arg2, class_2338 arg3)
m_cckfyxyf(double arg0, boolean arg1, C_txtbiemp arg2, C_hynzadkk arg3)
fall(double arg0, boolean arg1, BlockState arg2, BlockPos 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
y()
getAmbientSound()
method_5994()
m_jjefzxbm()
getAmbientSound()
getAmbientSound()
m_7515_()
protected SoundEvent
d(bkt arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
m_spwwmdyl(C_sbxfkpyv arg0)
getHurtSound(DamageSource arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
n_()
getDeathSound()
method_6002()
m_axkhmdzu()
getDeathSound()
getDeathSound()
m_5592_()
protected float
eW()
getSoundVolume()
method_6107()
m_oafzlopj()
getSoundVolume()
getSoundVolume()
m_6121_()
protected void
Z()
customServerAiStep()
method_5958()
m_wbeiezxn()
mobTick()
mobTick()
m_8024_()
public void
d_()
aiStep()
method_6007()
m_alyudxll()
tickMovement()
tickMovement()
m_8107_()
public void
l()
tick()
method_5773()
m_arkgrfeb()
tick()
tick()
m_8119_()
public boolean
fK()
canPickUpLoot()
method_5936()
m_ijtiojvz()
canPickUpLoot()
canPickUpLoot()
m_21531_()
public boolean
w()
hasItemInHand()
method_43396()
m_txcoglmk()
isHoldingItem()
hasItem()
m_218389_()
public boolean
f(cmy arg0)
canTakeItem(ItemStack arg0)
method_18397(class_1799 arg0)
m_jhvcxqlb(C_sddaxwyk arg0)
canEquip(ItemStack arg0)
canEquip(ItemStack arg0)
m_7066_(C_1391_ arg0)
private boolean
gi()
isOnPickupCooldown()
method_42654()
m_fonjkttd()
isItemPickupCoolingDown()
isOnPickupCooldown()
m_218377_()
protected InteractionResult
b(cfi arg0, bka arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
m_kuhfocmh(C_jzrpycqo arg0, C_laxmzoqs arg1)
interactMob(PlayerEntity arg0, Hand arg1)
interactMob(PlayerEntity arg0, Hand arg1)
m_6071_(C_1141_ p_218362_, C_470_ arg1)
public void
b(hx arg0, boolean arg1)
setJukeboxPlaying(BlockPos arg0, boolean arg1)
method_44358(class_2338 arg0, boolean arg1)
m_saqrjapl(C_hynzadkk arg0, boolean arg1)
updateJukeboxPos(BlockPos jukeboxPos, boolean playing)
m_saqrjapl(BlockPos pos, boolean arg1)
m_240101_(C_4675_ p_240103_, boolean arg1)
public SimpleContainer
A()
getInventory()
method_35199()
m_jezpqywh()
getInventory()
getInventory()
m_35311_()
protected Vec3i
V()
getPickupReach()
method_42646()
m_ahhtjfdq()
getItemPickUpRangeExpander()
getItemPickupReach()
m_213552_()
public boolean
k(cmy arg0)
wantsToPickUp(ItemStack arg0)
method_20820(class_1799 arg0)
m_nzdowltt(C_sddaxwyk arg0)
canGather(ItemStack arg0)
canGather(ItemStack arg0)
m_7243_(C_1391_ arg0)
private boolean
d(cmy arg0, cmy arg1)
allayConsidersItemEqual(ItemStack arg0, ItemStack arg1)
method_45340(class_1799 arg0, class_1799 arg1)
m_evgblctp(C_sddaxwyk arg0, C_sddaxwyk arg1)
areItemsEqual(ItemStack stack, ItemStack stack2)
m_245613_(C_1391_ p_250405_, C_1391_ arg1)
private boolean
e(cmy arg0, cmy arg1)
hasNonMatchingPotion(ItemStack arg0, ItemStack arg1)
method_45341(class_1799 arg0, class_1799 arg1)
m_rajypowm(C_sddaxwyk arg0, C_sddaxwyk arg1)
areDifferentPotions(ItemStack stack, ItemStack stack2)
m_247678_(C_1391_ p_250839_, C_1391_ arg1)
protected void
b(cbu arg0)
pickUpItem(ItemEntity arg0)
method_5949(class_1542 arg0)
m_avgkrrey(C_uqpzijng arg0)
loot(ItemEntity arg0)
loot(ItemEntity arg0)
m_7581_(C_976_ arg0)
protected void
Y()
sendDebugPackets()
method_18409()
m_xozpkuaw()
sendAiDebugData()
sendAiDebugData()
m_8025_()
public boolean
aT()
isFlapping()
method_5776()
m_gavkvalj()
isFlappingWings()
hasWings()
m_142039_()
public void
a(BiConsumer<dno<?>, and> arg0)
updateDynamicGameEventListener(BiConsumer<DynamicGameEventListener<?>, ServerLevel> arg0)
method_42147(BiConsumer<class_5715<?>, class_3218> arg0)
m_jjhhwbds(BiConsumer<C_wpaexsvv<?>, C_bdwnwhiu> arg0)
updateEventHandler(BiConsumer<EntityGameEventHandler<?>, ServerWorld> arg0)
updateDynamicGameEventListener(BiConsumer<DynamicGameEventListener<?>, ServerWorld> arg0)
m_213651_(BiConsumer<C_213129_<?>, C_12_> arg0)
public boolean
ge()
isDancing()
method_44359()
m_ffajaezn()
isDancing()
isDancing()
m_239559_()
public void
w(boolean arg0)
setDancing(boolean arg0)
method_44367(boolean arg0)
m_ygywdeat(boolean arg0)
setDancing(boolean dancing)
setDancing(boolean dancing)
m_240177_(boolean arg0)
private boolean
gj()
shouldStopDancing()
method_44361()
m_hmaumxma()
shouldStopDancing()
shouldStopDancing()
m_239812_()
public float
E(float arg0)
getHoldingItemAnimationProgress(float arg0)
method_43397(float arg0)
m_zlnrwbiq(float arg0)
method_43397(float arg0)
m_218394_(float arg0)
public boolean
gf()
isSpinning()
method_44360()
m_fixrglzq()
isSpinning()
m_239302_()
public float
F(float arg0)
getSpinningProgress(float arg0)
method_44368(float arg0)
m_bywwptpx(float arg0)
method_44368(float arg0)
m_240056_(float arg0)
public boolean
a(cmy arg0, cmy arg1)
equipmentHasChanged(ItemStack arg0, ItemStack arg1)
method_45324(class_1799 arg0, class_1799 arg1)
m_vixrfdxj(C_sddaxwyk arg0, C_sddaxwyk arg1)
areItemsDifferent(ItemStack arg0, ItemStack arg1)
hasEquipmentChanged(ItemStack arg0, ItemStack arg1)
m_246525_(C_1391_ p_251595_, C_1391_ arg1)
protected void
ey()
dropEquipment()
method_16078()
m_whvujbsh()
dropInventory()
dropInventory()
m_5907_()
public boolean
h(double arg0)
removeWhenFarAway(double arg0)
method_5974(double arg0)
m_dciqpbdm(double arg0)
canImmediatelyDespawn(double arg0)
canImmediatelyDespawn(double arg0)
m_6785_(double arg0)
public void
b(sn arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(sn arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
protected boolean
gc()
shouldStayCloseToLeashHolder()
method_43689()
m_pimoyepk()
shouldFollowLeash()
runsFromLeash()
m_213814_()
private void
gk()
updateDuplicationCooldown()
method_44362()
m_inwxumkc()
tickDuplicationCooldown()
tickDuplicationCooldown()
m_218375_()
private boolean
l(cmy arg0)
isDuplicationItem(ItemStack arg0)
method_44366(class_1799 arg0)
m_pwttetfa(C_sddaxwyk arg0)
matchesDuplicationIngredient(ItemStack stack)
isDuplicationItem(ItemStack stack)
m_239735_(C_1391_ arg0)
private void
gl()
duplicateAllay()
method_44363()
m_vhszdjde()
duplicate()
duplicate()
m_218376_()
private void
gm()
resetDuplicationCooldown()
method_44364()
m_gfmqthlt()
startDuplicationCooldown()
setDuplicationCooldown()
m_239811_()
private boolean
gn()
canDuplicate()
method_44365()
m_qqqbecdb()
canDuplicate()
canDuplicate()
m_218324_()
private void
a(cfi arg0, cmy arg1)
removeInteractionItem(Player arg0, ItemStack arg1)
method_44357(class_1657 arg0, class_1799 arg1)
m_kbjhjzbs(C_jzrpycqo arg0, C_sddaxwyk arg1)
decrementStackUnlessInCreative(PlayerEntity player, ItemStack stack)
tryDecrementStack(PlayerEntity player, ItemStack stack)
m_239358_(C_1141_ p_239360_, C_1391_ arg1)
public Vec3
cJ()
getLeashOffset()
method_29919()
m_gxfczhkq()
getLeashOffset()
getLeashOffset()
m_7939_()
protected float
l(blv arg0)
ridingOffset(Entity arg0)
method_52537(class_1297 arg0)
m_udherscr(C_astfners arg0)
getUnscaledRidingOffset(Entity arg0)
m_292595_(C_507_ arg0)
public void
b(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
m_kkieextx(byte arg0)
handleStatus(byte arg0)
handleStatus(byte arg0)
m_7822_(byte arg0)
private void
go()
spawnHeartParticle()
method_44608()
m_jvmknyyd()
addHeartParticle()
spawnDuplicationParticle()
m_240069_()
public VibrationSystem$Data
gg()
getVibrationData()
method_51298()
m_exbfavst()
getVibrationListenerData()
getVibrationData()
m_280002_()
public VibrationSystem$User
gh()
getVibrationUser()
method_51299()
m_rwxalmkc()
getVibrationCallback()
getVibrationCallback()
m_280445_()