net.minecraft.world.entity.animal

public class Turtle

extends Animal

All mapped superinterfaces:

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

cia
net.minecraft.world.entity.animal.Turtle
net.minecraft.class_1481
net.minecraft.entity.passive.TurtleEntity
net.minecraft.world.entity.animal.EntityTurtle

Field summary

Modifier and TypeField
private static final EntityDataAccessor<BlockPos>
bZ
HOME_POS
field_6920
HOME_POS
private static final EntityDataAccessor<Boolean>
ca
HAS_EGG
field_6919
HAS_EGG
private static final EntityDataAccessor<Boolean>
cc
LAYING_EGG
field_6923
DIGGING_SAND
private static final EntityDataAccessor<BlockPos>
cd
TRAVEL_POS
field_6922
TRAVEL_POS
private static final EntityDataAccessor<Boolean>
ce
GOING_HOME
field_6924
LAND_BOUND
private static final EntityDataAccessor<Boolean>
cf
TRAVELLING
field_6925
ACTIVELY_TRAVELING
private static final float
cg
BABY_SCALE
field_47774
BABY_SCALE
private static final EntityDimensions
ch
BABY_DIMENSIONS
field_47775
BABY_BASE_DIMENSIONS
int
ci
layEggCounter
field_6918
sandDiggingCounter
public static final TargetingConditions$Selector
bY
BABY_ON_LAND_SELECTOR
field_6921
BABY_TURTLE_ON_LAND_FILTER

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
h(ji arg0)
setHomePos(BlockPos arg0)
method_6683(class_2338 arg0)
setHomePos(BlockPos pos)
BlockPos
gs()
getHomePos()
method_6693()
getHomePos()
void
i(ji arg0)
setTravelPos(BlockPos arg0)
method_6699(class_2338 arg0)
setTravelPos(BlockPos pos)
BlockPos
gt()
getTravelPos()
method_6687()
getTravelPos()
public boolean
p()
hasEgg()
method_6679()
hasEgg()
void
x(boolean arg0)
setHasEgg(boolean arg0)
method_6680(boolean arg0)
setHasEgg(boolean hasEgg)
public boolean
t()
isLayingEgg()
method_6695()
isDiggingSand()
void
y(boolean arg0)
setLayingEgg(boolean arg0)
method_6676(boolean arg0)
setDiggingSand(boolean diggingSand)
boolean
gu()
isGoingHome()
method_6684()
isLandBound()
void
z(boolean arg0)
setGoingHome(boolean arg0)
method_6697(boolean arg0)
setLandBound(boolean landBound)
boolean
gv()
isTravelling()
method_6691()
isActivelyTraveling()
void
A(boolean arg0)
setTravelling(boolean arg0)
method_6696(boolean arg0)
setActivelyTraveling(boolean traveling)
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 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 static boolean
c(but<cia> arg0, dgk arg1, bus arg2, ji arg3, azh 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)
canSpawn(EntityType<TurtleEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
protected void
E()
registerGoals()
method_5959()
initGoals()
public static AttributeSupplier$Builder
x()
createAttributes()
method_26896()
createTurtleAttributes()
public boolean
cJ()
isPushedByFluid()
method_5675()
isPushedByFluids()
public int
T()
getAmbientSoundInterval()
method_5970()
getMinAmbientSoundDelay()
protected SoundEvent
u()
getAmbientSound()
method_5994()
getAmbientSound()
protected void
f(float arg0)
playSwimSound(float arg0)
method_5734(float arg0)
playSwimSound(float arg0)
protected SoundEvent
aV()
getSwimSound()
method_5737()
getSwimSound()
protected SoundEvent
e(btc arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
o_()
getDeathSound()
method_6002()
getDeathSound()
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)
public boolean
gz()
canFallInLove()
method_6482()
canEat()
protected float
aU()
nextStep()
method_5867()
calculateNextStepSoundDistance()
public float
ei()
getAgeScale()
method_17825()
getScaleFactor()
protected PathNavigation
b(dgj arg0)
createNavigation(Level arg0)
method_5965(class_1937 arg0)
createNavigation(World 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 float
a(ji arg0, dgm arg1)
getWalkTargetValue(BlockPos arg0, LevelReader arg1)
method_6144(class_2338 arg0, class_4538 arg1)
getPathfindingFavor(BlockPos arg0, WorldView arg1)
public void
d_()
aiStep()
method_6007()
tickMovement()
protected void
i()
ageBoundaryReached()
method_5619()
onGrowUp()
public void
a_(fbb arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)
public boolean
y()
canBeLeashed()
method_5931()
canBeLeashed()
public void
a(ard arg0, bvh arg1)
thunderHit(ServerLevel arg0, LightningBolt arg1)
method_5800(class_3218 arg0, class_1538 arg1)
onStruckByLightning(ServerWorld arg0, LightningEntity arg1)
public EntityDimensions
e(bvu arg0)
getDefaultDimensions(Pose arg0)
method_55694(class_4050 arg0)
getBaseDimensions(EntityPose arg0)