net.minecraft.world.entity.animal.allay

public class Allay

extends PathfinderMob implements InventoryCarrier, VibrationSystem

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, ScoreHolder, Attackable, EquipmentUser, Leashable, Targeting, InventoryCarrier, VibrationSystem

cjd
net.minecraft.world.entity.animal.allay.Allay
net.minecraft.class_7298
net.minecraft.entity.passive.AllayEntity
net.minecraft.world.entity.animal.allay.Allay

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
bZ
LOGGER
field_39045
LOGGER
private static final Vec3i
ca
ITEM_PICKUP_REACH
field_38399
ITEM_PICKUP_RANGE_EXPANDER
private static final int
cb
LIFTING_ITEM_ANIMATION_DURATION
field_39461
field_39461
private static final float
cc
DANCING_LOOP_DURATION
field_39462
field_39462
private static final float
cd
SPINNING_ANIMATION_DURATION
field_39463
field_39463
private static final int
ce
DUPLICATION_COOLDOWN_TICKS
field_39465
DUPLICATION_COOLDOWN
private static final int
cf
NUM_OF_DUPLICATION_HEARTS
field_39679
field_39679
public static final int
a
MAX_NOTEBLOCK_DISTANCE
field_54974
field_54974
private static final EntityDataAccessor<Boolean>
cg
DATA_DANCING
field_39466
DANCING
private static final EntityDataAccessor<Boolean>
ch
DATA_CAN_DUPLICATE
field_39467
CAN_DUPLICATE
protected static final com.google.common.collect.ImmutableList<SensorType<? extends Sensor<? super Allay>>>
b
SENSOR_TYPES
field_38398
SENSORS
protected static final com.google.common.collect.ImmutableList<MemoryModuleType<?>>
c
MEMORY_TYPES
field_38403
MEMORY_MODULES
public static final com.google.common.collect.ImmutableList<Float>
d
THROW_SOUND_PITCHES
field_38937
THROW_SOUND_PITCHES
private final DynamicGameEventListener<VibrationSystem$Listener>
ci
dynamicVibrationListener
field_38401
gameEventHandler
private VibrationSystem$Data
cj
vibrationData
field_44596
vibrationListenerData
private final VibrationSystem$User
ck
vibrationUser
field_39468
vibrationCallback
private final DynamicGameEventListener<Allay$JukeboxListener>
cl
dynamicJukeboxListener
field_39469
jukeboxEventHandler
private final SimpleContainer
cm
inventory
field_38402
inventory
private BlockPos
cn
jukeboxPos
field_39470
jukeboxPos
private long
co
duplicationCooldown
field_39471
duplicationCooldown
private float
cp
holdingItemAnimationTicks
field_38935
itemHoldAnimationTicks
private float
cq
holdingItemAnimationTicks0
field_38936
prevItemHoldAnimationTicks
private float
cr
dancingAnimationTicks
field_39472
danceTicks
private float
cs
spinningAnimationTicks
field_39473
spinningAnimationTicks
private float
ct
spinningAnimationTicks0
field_39474
prevSpinningAnimationTicks

Constructor summary

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

Method summary

Modifier and TypeMethod
protected Brain$Provider<Allay>
ed()
brainProvider()
method_28306()
createBrainProfile()
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)
public Brain<Allay>
ec()
getBrain()
method_18868()
getBrain()
public static AttributeSupplier$Builder
m()
createAttributes()
method_42655()
createAllayAttributes()
protected PathNavigation
b(dhi arg0)
createNavigation(Level arg0)
method_5965(class_1937 arg0)
createNavigation(World arg0)
protected void
a(alg$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public void
a_(fby arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)
public boolean
a(ash arg0, bua arg1, float arg2)
hurtServer(ServerLevel arg0, DamageSource arg1, float arg2)
method_64397(class_3218 arg0, class_1282 arg1, float arg2)
damage(ServerWorld arg0, DamageSource arg1, float arg2)
protected void
b(jh arg0, dxv arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
protected void
a(double arg0, boolean arg1, dxv arg2, jh 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)
protected SoundEvent
u()
getAmbientSound()
method_5994()
getAmbientSound()
protected SoundEvent
e(bua arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
o_()
getDeathSound()
method_6002()
getDeathSound()
protected float
fg()
getSoundVolume()
method_6107()
getSoundVolume()
protected void
a(ash arg0)
customServerAiStep(ServerLevel arg0)
method_5958(class_3218 arg0)
mobTick(ServerWorld arg0)
public void
d_()
aiStep()
method_6007()
tickMovement()
public void
h()
tick()
method_5773()
tick()
public boolean
fN()
canPickUpLoot()
method_5936()
canPickUpLoot()
public boolean
p()
hasItemInHand()
method_43396()
isHoldingItem()
protected boolean
f(bvs arg0)
canDispenserEquipIntoSlot(EquipmentSlot arg0)
method_63626(class_1304 arg0)
canDispenserEquipSlot(EquipmentSlot arg0)
private boolean
gr()
isOnPickupCooldown()
method_42654()
isItemPickupCoolingDown()
protected InteractionResult
b(cpx arg0, bti arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
public void
b(jh arg0, boolean arg1)
setJukeboxPlaying(BlockPos arg0, boolean arg1)
method_44358(class_2338 arg0, boolean arg1)
updateJukeboxPos(BlockPos jukeboxPos, boolean playing)
public SimpleContainer
t()
getInventory()
method_35199()
getInventory()
protected Vec3i
V()
getPickupReach()
method_42646()
getItemPickUpRangeExpander()
public boolean
c(ash arg0, cxp arg1)
wantsToPickUp(ServerLevel arg0, ItemStack arg1)
method_20820(class_3218 arg0, class_1799 arg1)
canGather(ServerWorld arg0, ItemStack arg1)
private boolean
c(cxp arg0, cxp arg1)
allayConsidersItemEqual(ItemStack arg0, ItemStack arg1)
method_45340(class_1799 arg0, class_1799 arg1)
areItemsEqual(ItemStack stack, ItemStack stack2)
private boolean
d(cxp arg0, cxp arg1)
hasNonMatchingPotion(ItemStack arg0, ItemStack arg1)
method_45341(class_1799 arg0, class_1799 arg1)
areDifferentPotions(ItemStack stack, ItemStack stack2)
protected void
a(ash arg0, cmb arg1)
pickUpItem(ServerLevel arg0, ItemEntity arg1)
method_5949(class_3218 arg0, class_1542 arg1)
loot(ServerWorld arg0, ItemEntity arg1)
protected void
Y()
sendDebugPackets()
method_18409()
sendAiDebugData()
public boolean
ba()
isFlapping()
method_5776()
isFlappingWings()
public void
a(BiConsumer<eco<?>, ash> arg0)
updateDynamicGameEventListener(BiConsumer<DynamicGameEventListener<?>, ServerLevel> arg0)
method_42147(BiConsumer<class_5715<?>, class_3218> arg0)
updateEventHandler(BiConsumer<EntityGameEventHandler<?>, ServerWorld> arg0)
public boolean
x()
isDancing()
method_44359()
isDancing()
public void
x(boolean arg0)
setDancing(boolean arg0)
method_44367(boolean arg0)
setDancing(boolean dancing)
private boolean
gs()
shouldStopDancing()
method_44361()
shouldStopDancing()
public float
J(float arg0)
getHoldingItemAnimationProgress(float arg0)
method_43397(float arg0)
getItemHoldAnimationTicks(float tickDelta)
public boolean
go()
isSpinning()
method_44360()
isSpinning()
public float
K(float arg0)
getSpinningProgress(float arg0)
method_44368(float arg0)
getSpinningAnimationTicks(float tickDelta)
public boolean
a(cxp arg0, cxp arg1)
equipmentHasChanged(ItemStack arg0, ItemStack arg1)
method_45324(class_1799 arg0, class_1799 arg1)
areItemsDifferent(ItemStack arg0, ItemStack arg1)
protected void
f(ash arg0)
dropEquipment(ServerLevel arg0)
method_16078(class_3218 arg0)
dropInventory(ServerWorld arg0)
public boolean
h(double arg0)
removeWhenFarAway(double arg0)
method_5974(double arg0)
canImmediatelyDespawn(double arg0)
public void
b(ux arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(ux arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
protected boolean
gm()
shouldStayCloseToLeashHolder()
method_43689()
shouldFollowLeash()
private void
gt()
updateDuplicationCooldown()
method_44362()
tickDuplicationCooldown()
private void
gu()
duplicateAllay()
method_44363()
duplicate()
private void
gv()
resetDuplicationCooldown()
method_44364()
startDuplicationCooldown()
private boolean
gw()
canDuplicate()
method_44365()
canDuplicate()
private void
a(cpx arg0, cxp arg1)
removeInteractionItem(Player arg0, ItemStack arg1)
method_44357(class_1657 arg0, class_1799 arg1)
decrementStackUnlessInCreative(PlayerEntity player, ItemStack stack)
public Vec3
cT()
getLeashOffset()
method_29919()
getLeashOffset()
public void
b(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
private void
gx()
spawnHeartParticle()
method_44608()
addHeartParticle()
public VibrationSystem$Data
gp()
getVibrationData()
method_51298()
getVibrationListenerData()
public VibrationSystem$User
gq()
getVibrationUser()
method_51299()
getVibrationCallback()