net.minecraft.world.entity.animal

public class Turtle

extends Animal

All mapped superinterfaces:

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

cix
net.minecraft.world.entity.animal.Turtle
net.minecraft.class_1481
net.minecraft.unmapped.C_ssrhofsa
net.minecraft.entity.passive.TurtleEntity
net.minecraft.entity.passive.TurtleEntity
net.minecraft.src.C_909_
net.minecraft.world.entity.animal.EntityTropicalFish

Field summary

Modifier and TypeField
private static final EntityDataAccessor<BlockPos>
ca
HOME_POS
field_6920
f_uhpjleln
HOME_POS
HOME_POS
f_30123_
private static final EntityDataAccessor<Boolean>
cb
HAS_EGG
field_6919
f_tiwpctbn
HAS_EGG
HAS_EGG
f_30124_
private static final EntityDataAccessor<Boolean>
cd
LAYING_EGG
field_6923
f_dviczlry
DIGGING_SAND
DIGGING_SAND
f_30125_
private static final EntityDataAccessor<BlockPos>
ce
TRAVEL_POS
field_6922
f_zelkulek
TRAVEL_POS
TRAVEL_POS
f_30126_
private static final EntityDataAccessor<Boolean>
cf
GOING_HOME
field_6924
f_zstgimud
LAND_BOUND
LAND_BOUND
f_30127_
private static final EntityDataAccessor<Boolean>
cg
TRAVELLING
field_6925
f_gbcwgfnr
ACTIVELY_TRAVELING
ACTIVELY_TRAVELING
f_30128_
private static final float
ch
BABY_SCALE
field_47774
f_dkxkieza
BABY_SCALE
BABY_SCALE
f_314909_
private static final EntityDimensions
ci
BABY_DIMENSIONS
field_47775
f_jxnineln
BABY_BASE_DIMENSIONS
BABY_DIMENSIONS
f_315438_
int
cj
layEggCounter
field_6918
f_hrdxmrot
sandDiggingCounter
sandDiggingCounter
f_30129_
public static final TargetingConditions$Selector
bZ
BABY_ON_LAND_SELECTOR
field_6921
f_qbshsebi
BABY_TURTLE_ON_LAND_FILTER
BABY_TURTLE_ON_LAND_FILTER
f_30122_

Constructor summary

ModifierConstructor
public (EntityType<? extends Turtle> p_30133_, Level world)

Method summary

Modifier and TypeMethod
public void
h(jh arg0)
setHomePos(BlockPos arg0)
method_6683(class_2338 arg0)
m_kyepxent(C_hynzadkk arg0)
setHomePos(BlockPos pos)
setHomePos(BlockPos pos)
m_30219_(C_4675_ arg0)
BlockPos
go()
getHomePos()
method_6693()
m_tkudefwl()
getHomePos()
getHomePos()
m_30208_()
void
i(jh arg0)
setTravelPos(BlockPos arg0)
method_6699(class_2338 arg0)
m_yhnemicl(C_hynzadkk arg0)
setTravelPos(BlockPos pos)
setTravelPos(BlockPos pos)
m_30223_(C_4675_ arg0)
BlockPos
gp()
getTravelPos()
method_6687()
m_smiodpks()
getTravelPos()
getTravelPos()
m_30209_()
public boolean
p()
hasEgg()
method_6679()
m_iukxjjsh()
hasEgg()
hasEgg()
m_30205_()
void
x(boolean arg0)
setHasEgg(boolean arg0)
method_6680(boolean arg0)
m_uuvmjtno(boolean arg0)
setHasEgg(boolean hasEgg)
setHasEgg(boolean hasEgg)
m_30234_(boolean arg0)
public boolean
t()
isLayingEgg()
method_6695()
m_lbegztqm()
isDiggingSand()
isDiggingSand()
m_30206_()
void
y(boolean arg0)
setLayingEgg(boolean arg0)
method_6676(boolean arg0)
m_edhrxqud(boolean arg0)
setDiggingSand(boolean diggingSand)
setDiggingSand(boolean diggingSand)
m_30236_(boolean arg0)
boolean
gq()
isGoingHome()
method_6684()
m_efkreqba()
isLandBound()
isLandBound()
m_30211_()
void
z(boolean arg0)
setGoingHome(boolean arg0)
method_6697(boolean arg0)
m_loioslyz(boolean arg0)
setLandBound(boolean landBound)
setLandBound(boolean landBound)
m_30238_(boolean arg0)
boolean
gr()
isTravelling()
method_6691()
m_xxbjcaxh()
isActivelyTraveling()
isActivelyTraveling()
m_30212_()
void
A(boolean arg0)
setTravelling(boolean arg0)
method_6696(boolean arg0)
m_mbyhpwuf(boolean arg0)
setActivelyTraveling(boolean traveling)
setActivelyTraveling(boolean traveling)
m_30240_(boolean arg0)
protected void
a(alg$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
m_lwugwlsw(C_pyoaoolj$C_oqzxcugu arg0)
initDataTracker(DataTracker$Builder arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
public void
b(ux 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(ux 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)
public SpawnGroupData
a(dhy arg0, btg arg1, bvp arg2, bwy arg3)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, EntitySpawnReason arg2, SpawnGroupData arg3)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3)
m_oxrxxqyz(C_jmnzlycd arg0, C_jiailwzt arg1, C_bhyaesep arg2, C_lsmqixfx arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
m_6518_(C_1618_ p_30154_, C_469_ p_362811_, C_345845_ p_30156_, C_542_ arg3)
public static boolean
c(bvq<cix> arg0, dhi arg1, bvp arg2, jh arg3, bam arg4)
checkTurtleSpawnRules(EntityType<Turtle> arg0, LevelAccessor arg1, EntitySpawnReason arg2, BlockPos arg3, RandomSource arg4)
method_20671(class_1299<class_1481> arg0, class_1936 arg1, class_3730 arg2, class_2338 arg3, class_5819 arg4)
m_iktashqw(C_ogavsvbr<C_ssrhofsa> arg0, C_vdvbsyle arg1, C_bhyaesep arg2, C_hynzadkk arg3, C_rlomrsco arg4)
canSpawn(EntityType<TurtleEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
canSpawn(EntityType<TurtleEntity> type, WorldAccess world, SpawnReason reason, BlockPos pos, RandomGenerator random)
m_218276_(C_513_<C_909_> p_218277_, C_1598_ p_218278_, C_345845_ p_362525_, C_4675_ p_218280_, C_212974_ p_218281_)
protected void
B()
registerGoals()
method_5959()
m_itjttsuo()
initGoals()
initGoals()
m_8099_()
public static AttributeSupplier$Builder
x()
createAttributes()
method_26896()
m_muvbqkxg()
createTurtleAttributes()
createAttributes()
m_30207_()
public boolean
cJ()
isPushedByFluid()
method_5675()
m_mhvikmsw()
isPushedByFluids()
isPushedByFluids()
m_6063_()
public int
Q()
getAmbientSoundInterval()
method_5970()
m_pswyixar()
getMinAmbientSoundDelay()
getMinAmbientSoundDelay()
m_8100_()
protected SoundEvent
u()
getAmbientSound()
method_5994()
m_jjefzxbm()
getAmbientSound()
getAmbientSound()
m_7515_()
protected void
f(float arg0)
playSwimSound(float arg0)
method_5734(float arg0)
m_muwkisky(float arg0)
playSwimSound(float arg0)
playSwimSound(float arg0)
m_5625_(float arg0)
protected SoundEvent
aV()
getSwimSound()
method_5737()
m_ngysbrcu()
getSwimSound()
getSwimSound()
m_5501_()
protected SoundEvent
e(btz 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
o_()
getDeathSound()
method_6002()
m_axkhmdzu()
getDeathSound()
getDeathSound()
m_5592_()
protected void
b(jh arg0, dxu 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_30174_, C_2064_ arg1)
public boolean
gv()
canFallInLove()
method_6482()
m_ajdkrylg()
canEat()
canEat()
m_5957_()
protected float
aU()
nextStep()
method_5867()
m_hhwoykag()
calculateNextStepSoundDistance()
calculateNextStepSoundDistance()
m_6059_()
public float
ej()
getAgeScale()
method_17825()
m_rzywzrvn()
getScaleFactor()
getAgeScale()
m_320705_()
protected PathNavigation
b(dhh 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)
public AgeableMob
a(ash arg0, bva arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_5613(class_3218 arg0, class_1296 arg1)
m_hftuejnb(C_bdwnwhiu arg0, C_jvojbnla arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
m_142606_(C_12_ p_149069_, C_141062_ arg1)
public boolean
j(cxo arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
m_njyokwrm(C_sddaxwyk arg0)
isBreedingItem(ItemStack arg0)
isBreedingItem(ItemStack arg0)
m_6898_(C_1391_ arg0)
public float
a(jh arg0, dhk arg1)
getWalkTargetValue(BlockPos arg0, LevelReader arg1)
method_6144(class_2338 arg0, class_4538 arg1)
m_omcdcxbz(C_hynzadkk arg0, C_eemzphbi arg1)
getPathfindingFavor(BlockPos arg0, WorldView arg1)
getPathfindingFavor(BlockPos arg0, WorldView arg1)
m_5610_(C_4675_ p_30160_, C_1599_ arg1)
public void
d_()
aiStep()
method_6007()
m_alyudxll()
tickMovement()
tickMovement()
m_8107_()
protected void
i()
ageBoundaryReached()
method_5619()
m_xdpbetzz()
onGrowUp()
onGrowUp()
m_30232_()
public void
a_(fbx 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)
public boolean
y()
canBeLeashed()
method_5931()
m_xvyvanvw()
canBeLeashed()
canBeLeashed()
m_6573_()
public void
a(ash arg0, bwe arg1)
thunderHit(ServerLevel arg0, LightningBolt arg1)
method_5800(class_3218 arg0, class_1538 arg1)
m_vindekkr(C_bdwnwhiu arg0, C_kbpqznyn arg1)
onStruckByLightning(ServerWorld arg0, LightningEntity arg1)
onStruckByLightning(ServerWorld arg0, LightningEntity arg1)
m_8038_(C_12_ p_30141_, C_523_ arg1)
public EntityDimensions
e(bwr arg0)
getDefaultDimensions(Pose arg0)
method_55694(class_4050 arg0)
m_qukpzlyx(C_ufdjspmk arg0)
getBaseDimensions(EntityPose arg0)
getDefaultDimensions(EntityPose arg0)
m_31586_(C_535_ arg0)