net.minecraft.world.entity.animal.axolotl

public class Axolotl

extends Animal implements VariantHolder<Axolotl$Variant>, Bucketable

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, ScoreHolder, Attackable, EquipmentUser, Leashable, Targeting, VariantHolder, Bucketable

cil
net.minecraft.world.entity.animal.axolotl.Axolotl
net.minecraft.class_5762
net.minecraft.entity.passive.AxolotlEntity
net.minecraft.world.entity.animal.axolotl.Axolotl

Field summary

Modifier and TypeField
public static final int
bY
TOTAL_PLAYDEAD_TIME
field_30388
PLAY_DEAD_TICKS
private static final int
cj
POSE_ANIMATION_TICKS
field_52482
field_52482
protected static final com.google.common.collect.ImmutableList<? extends SensorType<? extends Sensor<? super Axolotl>>>
bZ
SENSOR_TYPES
field_28333
SENSORS
protected static final com.google.common.collect.ImmutableList<? extends MemoryModuleType<?>>
ca
MEMORY_TYPES
field_28334
MEMORY_MODULES
private static final EntityDataAccessor<Integer>
ck
DATA_VARIANT
field_28335
VARIANT
private static final EntityDataAccessor<Boolean>
cl
DATA_PLAYING_DEAD
field_28336
PLAYING_DEAD
private static final EntityDataAccessor<Boolean>
cm
FROM_BUCKET
field_28337
FROM_BUCKET
public static final double
cc
PLAYER_REGEN_DETECTION_RANGE
field_30389
BUFF_RANGE
public static final int
cd
RARE_VARIANT_CHANCE
field_30390
BLUE_BABY_CHANCE
private static final int
cn
AXOLOTL_TOTAL_AIR_SUPPLY
field_30392
MAX_AIR
public static final String
ce
VARIANT_TAG
field_30391
VARIANT_KEY
private static final int
co
REHYDRATE_AIR_SUPPLY
field_33485
HYDRATION_BY_POTION
private static final int
cp
REGEN_BUFF_MAX_DURATION
field_34005
MAX_REGENERATION_BUFF_DURATION
public final BinaryAnimator
cf
playingDeadAnimator
field_52478
playingDeadFf
public final BinaryAnimator
cg
inWaterAnimator
field_52479
inWaterFf
public final BinaryAnimator
ch
onGroundAnimator
field_52480
onGroundFf
public final BinaryAnimator
ci
movingAnimator
field_52481
isMovingFf
private static final int
cq
REGEN_BUFF_BASE_DURATION
field_30393
BUFF_DURATION

Constructor summary

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

Method summary

Modifier and TypeMethod
public float
a(ji arg0, dgm arg1)
getWalkTargetValue(BlockPos arg0, LevelReader arg1)
method_6144(class_2338 arg0, class_4538 arg1)
getPathfindingFavor(BlockPos arg0, WorldView arg1)
protected void
a(akc$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder 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)
public void
U()
playAmbientSound()
method_5966()
playAmbientSound()
public SpawnGroupData
a(dha arg0, bsj arg1, bus arg2, bwb arg3)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, EntitySpawnReason arg2, SpawnGroupData arg3)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
public void
az()
baseTick()
method_5670()
baseTick()
private void
gv()
tickAnimations()
method_61479()
tickClient()
protected void
s(int arg0)
handleAirSupply(int arg0)
method_33230(int arg0)
tickAir(int air)
public void
x()
rehydrate()
method_36282()
hydrateFromPotion()
public int
cs()
getMaxAirSupply()
method_5748()
getMaxAir()
public Axolotl$Variant
gs()
getVariant()
method_33225()
getVariant()
public void
a(cil$e arg0)
setVariant(Axolotl$Variant arg0)
method_33219(class_5762$class_5767 arg0)
setVariant(AxolotlEntity$Variant variant)
private static boolean
a(azh arg0)
useRareVariant(RandomSource arg0)
method_33221(class_5819 arg0)
shouldBabyBeDifferent(Random random)
public boolean
a(dgm arg0)
checkSpawnObstruction(LevelReader arg0)
method_5957(class_4538 arg0)
canSpawn(WorldView arg0)
public boolean
cJ()
isPushedByFluid()
method_5675()
isPushedByFluids()
public void
y(boolean arg0)
setPlayingDead(boolean arg0)
method_33231(boolean arg0)
setPlayingDead(boolean playingDead)
public boolean
gt()
isPlayingDead()
method_33226()
isPlayingDead()
public boolean
p()
fromBucket()
method_6453()
isFromBucket()
public void
x(boolean arg0)
setFromBucket(boolean arg0)
method_6454(boolean arg0)
setFromBucket(boolean arg0)
public AgeableMob
a(ard arg0, bud arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_5613(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
public boolean
j(cwq arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
public boolean
y()
canBeLeashed()
method_5931()
canBeLeashed()
protected void
a(ard arg0)
customServerAiStep(ServerLevel arg0)
method_5958(class_3218 arg0)
mobTick(ServerWorld arg0)
public static AttributeSupplier$Builder
gu()
createAttributes()
method_33227()
createAxolotlAttributes()
protected PathNavigation
b(dgj arg0)
createNavigation(Level arg0)
method_5965(class_1937 arg0)
createNavigation(World arg0)
public void
gj()
playAttackSound()
method_59928()
playAttackSound()
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)
public int
ad()
getMaxHeadXRot()
method_5978()
getMaxLookPitchChange()
public int
af()
getMaxHeadYRot()
method_5986()
getMaxHeadRotation()
public 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
i(cwq arg0)
saveToBucketTag(ItemStack arg0)
method_6455(class_1799 arg0)
copyDataToStack(ItemStack arg0)
public void
h(tq arg0)
loadFromBucketTag(CompoundTag arg0)
method_35170(class_2487 arg0)
copyDataFromNbt(NbtCompound arg0)
public ItemStack
W_()
getBucketItemStack()
method_6452()
getBucketItem()
public SoundEvent
t()
getPickupSound()
method_35171()
getBucketFillSound()
public boolean
ew()
canBeSeenAsEnemy()
method_33190()
canTakeDamage()
public static void
a(ard arg0, cil arg1, bvi arg2)
onStopAttacking(ServerLevel arg0, Axolotl arg1, LivingEntity arg2)
method_35175(class_3218 arg0, class_5762 arg1, class_1309 arg2)
appreciatePlayer(ServerWorld world, AxolotlEntity axolotl, LivingEntity target)
public void
a(coy arg0)
applySupportingEffects(Player arg0)
method_33223(class_1657 arg0)
buffPlayer(PlayerEntity player)
public boolean
aa()
requiresCustomPersistence()
method_17326()
cannotDespawn()
protected SoundEvent
e(btc arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
o_()
getDeathSound()
method_6002()
getDeathSound()
protected SoundEvent
u()
getAmbientSound()
method_5994()
getAmbientSound()
protected SoundEvent
aW()
getSwimSplashSound()
method_5625()
getSplashSound()
protected SoundEvent
aV()
getSwimSound()
method_5737()
getSwimSound()
protected Brain$Provider<Axolotl>
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<Axolotl>
eb()
getBrain()
method_18868()
getBrain()
protected void
ac()
sendDebugPackets()
method_18409()
sendAiDebugData()
public void
a_(fbb arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)
protected void
a(coy arg0, bsk arg1, cwq arg2)
usePlayerItem(Player arg0, InteractionHand arg1, ItemStack arg2)
method_6475(class_1657 arg0, class_1268 arg1, class_1799 arg2)
eat(PlayerEntity arg0, Hand arg1, ItemStack arg2)
public boolean
h(double arg0)
removeWhenFarAway(double arg0)
method_5974(double arg0)
canImmediatelyDespawn(double arg0)
public LivingEntity
O_()
getTarget()
method_5968()
getTarget()
public static boolean
a(but<? extends bvi> arg0, dha arg1, bus arg2, ji arg3, azh arg4)
checkAxolotlSpawnRules(EntityType<? extends LivingEntity> arg0, ServerLevelAccessor arg1, EntitySpawnReason arg2, BlockPos arg3, RandomSource arg4)
method_38987(class_1299<? extends class_1309> arg0, class_5425 arg1, class_3730 arg2, class_2338 arg3, class_5819 arg4)
canSpawn(EntityType<? extends LivingEntity> type, ServerWorldAccess world, SpawnReason reason, BlockPos pos, Random random)