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

cjj
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
bZ
TOTAL_PLAYDEAD_TIME
field_30388
PLAY_DEAD_TICKS
private static final int
ck
POSE_ANIMATION_TICKS
field_52482
field_52482
protected static final com.google.common.collect.ImmutableList<? extends SensorType<? extends Sensor<? super Axolotl>>>
ca
SENSOR_TYPES
field_28333
SENSORS
protected static final com.google.common.collect.ImmutableList<? extends MemoryModuleType<?>>
cb
MEMORY_TYPES
field_28334
MEMORY_MODULES
private static final EntityDataAccessor<Integer>
cl
DATA_VARIANT
field_28335
VARIANT
private static final EntityDataAccessor<Boolean>
cm
DATA_PLAYING_DEAD
field_28336
PLAYING_DEAD
private static final EntityDataAccessor<Boolean>
cn
FROM_BUCKET
field_28337
FROM_BUCKET
public static final double
cd
PLAYER_REGEN_DETECTION_RANGE
field_30389
BUFF_RANGE
public static final int
ce
RARE_VARIANT_CHANCE
field_30390
BLUE_BABY_CHANCE
private static final int
co
AXOLOTL_TOTAL_AIR_SUPPLY
field_30392
MAX_AIR
public static final String
cf
VARIANT_TAG
field_30391
VARIANT_KEY
private static final int
cp
REHYDRATE_AIR_SUPPLY
field_33485
HYDRATION_BY_POTION
private static final int
cq
REGEN_BUFF_MAX_DURATION
field_34005
MAX_REGENERATION_BUFF_DURATION
public final BinaryAnimator
cg
playingDeadAnimator
field_52478
playingDeadFf
public final BinaryAnimator
ch
inWaterAnimator
field_52479
inWaterFf
public final BinaryAnimator
ci
onGroundAnimator
field_52480
onGroundFf
public final BinaryAnimator
cj
movingAnimator
field_52481
isMovingFf
private static final int
cr
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(jh arg0, dhl arg1)
getWalkTargetValue(BlockPos arg0, LevelReader arg1)
method_6144(class_2338 arg0, class_4538 arg1)
getPathfindingFavor(BlockPos arg0, WorldView arg1)
protected void
a(alg$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder 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)
public void
R()
playAmbientSound()
method_5966()
playAmbientSound()
public SpawnGroupData
a(dhz arg0, bth arg1, bvq arg2, bwz 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
gr()
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
go()
getVariant()
method_33225()
getVariant()
public void
a(cjj$e arg0)
setVariant(Axolotl$Variant arg0)
method_33219(class_5762$class_5767 arg0)
setVariant(AxolotlEntity$Variant variant)
private static boolean
a(bam arg0)
useRareVariant(RandomSource arg0)
method_33221(class_5819 arg0)
shouldBabyBeDifferent(Random random)
public boolean
a(dhl 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
gp()
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(ash arg0, bvb arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_5613(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
public boolean
j(cxp arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
public boolean
y()
canBeLeashed()
method_5931()
canBeLeashed()
protected void
a(ash arg0)
customServerAiStep(ServerLevel arg0)
method_5958(class_3218 arg0)
mobTick(ServerWorld arg0)
public static AttributeSupplier$Builder
gq()
createAttributes()
method_33227()
createAxolotlAttributes()
protected PathNavigation
b(dhi arg0)
createNavigation(Level arg0)
method_5965(class_1937 arg0)
createNavigation(World arg0)
public void
gf()
playAttackSound()
method_59928()
playAttackSound()
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)
public int
Z()
getMaxHeadXRot()
method_5978()
getMaxLookPitchChange()
public int
aa()
getMaxHeadYRot()
method_5986()
getMaxHeadRotation()
public 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
i(cxp arg0)
saveToBucketTag(ItemStack arg0)
method_6455(class_1799 arg0)
copyDataToStack(ItemStack arg0)
public void
h(ux arg0)
loadFromBucketTag(CompoundTag arg0)
method_35170(class_2487 arg0)
copyDataFromNbt(NbtCompound arg0)
public ItemStack
X_()
getBucketItemStack()
method_6452()
getBucketItem()
public SoundEvent
t()
getPickupSound()
method_35171()
getBucketFillSound()
public boolean
ex()
canBeSeenAsEnemy()
method_33190()
canTakeDamage()
public static void
a(ash arg0, cjj arg1, bwg 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(cpx arg0)
applySupportingEffects(Player arg0)
method_33223(class_1657 arg0)
buffPlayer(PlayerEntity player)
public boolean
W()
requiresCustomPersistence()
method_17326()
cannotDespawn()
protected SoundEvent
e(bua 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>
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<Axolotl>
ec()
getBrain()
method_18868()
getBrain()
protected void
Y()
sendDebugPackets()
method_18409()
sendAiDebugData()
public void
a_(fby arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)
protected void
a(cpx arg0, bti arg1, cxp 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(bvr<? extends bwg> arg0, dhz arg1, bvq arg2, jh arg3, bam 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)