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

cif
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
bY
LOGGER
field_39045
LOGGER
private static final Vec3i
bZ
ITEM_PICKUP_REACH
field_38399
ITEM_PICKUP_RANGE_EXPANDER
private static final int
ca
LIFTING_ITEM_ANIMATION_DURATION
field_39461
field_39461
private static final float
cb
DANCING_LOOP_DURATION
field_39462
field_39462
private static final float
cc
SPINNING_ANIMATION_DURATION
field_39463
field_39463
private static final int
cd
DUPLICATION_COOLDOWN_TICKS
field_39465
DUPLICATION_COOLDOWN
private static final int
ce
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>
cf
DATA_DANCING
field_39466
DANCING
private static final EntityDataAccessor<Boolean>
cg
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>
ch
dynamicVibrationListener
field_38401
gameEventHandler
private VibrationSystem$Data
ci
vibrationData
field_44596
vibrationListenerData
private final VibrationSystem$User
cj
vibrationUser
field_39468
vibrationCallback
private final DynamicGameEventListener<Allay$JukeboxListener>
ck
dynamicJukeboxListener
field_39469
jukeboxEventHandler
private final SimpleContainer
cl
inventory
field_38402
inventory
private BlockPos
cm
jukeboxPos
field_39470
jukeboxPos
private long
cn
duplicationCooldown
field_39471
duplicationCooldown
private float
co
holdingItemAnimationTicks
field_38935
itemHoldAnimationTicks
private float
cp
holdingItemAnimationTicks0
field_38936
prevItemHoldAnimationTicks
private float
cq
dancingAnimationTicks
field_39472
danceTicks
private float
cr
spinningAnimationTicks
field_39473
spinningAnimationTicks
private float
cs
spinningAnimationTicks0
field_39474
prevSpinningAnimationTicks

Constructor summary

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

Method summary

Modifier and TypeMethod
protected Brain$Provider<Allay>
ec()
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>
eb()
getBrain()
method_18868()
getBrain()
public static AttributeSupplier$Builder
m()
createAttributes()
method_42655()
createAllayAttributes()
protected PathNavigation
b(dgj arg0)
createNavigation(Level arg0)
method_5965(class_1937 arg0)
createNavigation(World arg0)
protected void
a(akc$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public void
a_(fbb arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)
public boolean
a(ard arg0, btc 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 boolean
t(bum arg0)
considersEntityAsAlly(Entity arg0)
method_61416(class_1297 arg0)
isInSameTeam(Entity arg0)
private boolean
b(bum arg0)
isLikedPlayer(Entity arg0)
method_65349(class_1297 arg0)
isLikedBy(Entity player)
protected void
b(ji arg0, dwy 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, dwy arg2, ji 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(btc 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(ard 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(buu arg0)
canDispenserEquipIntoSlot(EquipmentSlot arg0)
method_63626(class_1304 arg0)
canDispenserEquipSlot(EquipmentSlot arg0)
private boolean
gv()
isOnPickupCooldown()
method_42654()
isItemPickupCoolingDown()
protected InteractionResult
b(coy arg0, bsk arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
public void
b(ji 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
Y()
getPickupReach()
method_42646()
getItemPickUpRangeExpander()
public boolean
c(ard arg0, cwq arg1)
wantsToPickUp(ServerLevel arg0, ItemStack arg1)
method_20820(class_3218 arg0, class_1799 arg1)
canGather(ServerWorld arg0, ItemStack arg1)
private boolean
c(cwq arg0, cwq arg1)
allayConsidersItemEqual(ItemStack arg0, ItemStack arg1)
method_45340(class_1799 arg0, class_1799 arg1)
areItemsEqual(ItemStack stack, ItemStack stack2)
private boolean
d(cwq arg0, cwq arg1)
hasNonMatchingPotion(ItemStack arg0, ItemStack arg1)
method_45341(class_1799 arg0, class_1799 arg1)
areDifferentPotions(ItemStack stack, ItemStack stack2)
protected void
a(ard arg0, cld arg1)
pickUpItem(ServerLevel arg0, ItemEntity arg1)
method_5949(class_3218 arg0, class_1542 arg1)
loot(ServerWorld arg0, ItemEntity arg1)
protected void
ac()
sendDebugPackets()
method_18409()
sendAiDebugData()
public boolean
ba()
isFlapping()
method_5776()
isFlappingWings()
public void
a(BiConsumer<ebr<?>, ard> 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
gw()
shouldStopDancing()
method_44361()
shouldStopDancing()
public float
J(float arg0)
getHoldingItemAnimationProgress(float arg0)
method_43397(float arg0)
getItemHoldAnimationTicks(float tickDelta)
public boolean
gs()
isSpinning()
method_44360()
isSpinning()
public float
K(float arg0)
getSpinningProgress(float arg0)
method_44368(float arg0)
getSpinningAnimationTicks(float tickDelta)
public boolean
a(cwq arg0, cwq arg1)
equipmentHasChanged(ItemStack arg0, ItemStack arg1)
method_45324(class_1799 arg0, class_1799 arg1)
areItemsDifferent(ItemStack arg0, ItemStack arg1)
protected void
f(ard 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(tq arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(tq arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
protected boolean
gq()
shouldStayCloseToLeashHolder()
method_43689()
shouldFollowLeash()
private void
gx()
updateDuplicationCooldown()
method_44362()
tickDuplicationCooldown()
private void
gy()
duplicateAllay()
method_44363()
duplicate()
private void
gz()
resetDuplicationCooldown()
method_44364()
startDuplicationCooldown()
private boolean
gA()
canDuplicate()
method_44365()
canDuplicate()
private void
a(coy arg0, cwq 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
gB()
spawnHeartParticle()
method_44608()
addHeartParticle()
public VibrationSystem$Data
gt()
getVibrationData()
method_51298()
getVibrationListenerData()
public VibrationSystem$User
gu()
getVibrationUser()
method_51299()
getVibrationCallback()