net.minecraft.world.entity.animal

public class Turtle

extends Animal

All mapped superinterfaces:

Nameable, CommandSource

bau
net.minecraft.world.entity.animal.Turtle
net.minecraft.class_1481
net.minecraft.entity.passive.TurtleEntity
net.minecraft.entity.passive.TurtleEntity
net.minecraft.server.v1_16_R2.EntityTurtle

Field summary

Modifier and TypeField
private static final EntityDataAccessor<BlockPos>
bp
HOME_POS
field_6920
HOME_POS
field_203030_by
private static final EntityDataAccessor<Boolean>
bq
HAS_EGG
field_6919
HAS_EGG
field_203031_bz
private static final EntityDataAccessor<Boolean>
br
LAYING_EGG
field_6923
DIGGING_SAND
field_203024_bB
private static final EntityDataAccessor<BlockPos>
bs
TRAVEL_POS
field_6922
TRAVEL_POS
field_203025_bC
private static final EntityDataAccessor<Boolean>
bt
GOING_HOME
field_6924
LAND_BOUND
field_203026_bD
private static final EntityDataAccessor<Boolean>
bu
TRAVELLING
field_6925
ACTIVELY_TRAVELLING
field_203027_bE
private int
bv
layEggCounter
field_6918
sandDiggingCounter
field_203028_bF
public static final Predicate<LivingEntity>
bo
BABY_ON_LAND_SELECTOR
field_6921
BABY_TURTLE_ON_LAND_FILTER
field_203029_bx

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
g(fx arg0)
setHomePos(BlockPos arg0)
method_6683(class_2338 arg0)
setHomePos(BlockPos pos)
func_203011_g(BlockPos arg0)
setHomePos(BlockPosition arg0)
private BlockPos
eN()
getHomePos()
method_6693()
getHomePos()
func_203018_dA()
getHomePos()
private void
h(fx arg0)
setTravelPos(BlockPos arg0)
method_6699(class_2338 arg0)
setTravelPos(BlockPos pos)
func_203019_h(BlockPos arg0)
setTravelPos(BlockPosition arg0)
private BlockPos
eO()
getTravelPos()
method_6687()
getTravelPos()
func_203013_dB()
getTravelPos()
public boolean
eK()
hasEgg()
method_6679()
hasEgg()
func_203020_dx()
hasEgg()
private void
t(boolean arg0)
setHasEgg(boolean arg0)
method_6680(boolean arg0)
setHasEgg(boolean hasEgg)
func_203017_r(boolean arg0)
setHasEgg(boolean arg0)
public boolean
eL()
isLayingEgg()
method_6695()
isDiggingSand()
func_203023_dy()
private void
u(boolean arg0)
setLayingEgg(boolean arg0)
method_6676(boolean arg0)
setDiggingSand(boolean diggingSand)
func_203015_s(boolean arg0)
private boolean
eU()
isGoingHome()
method_6684()
isLandBound()
func_203022_dF()
private void
v(boolean arg0)
setGoingHome(boolean arg0)
method_6697(boolean arg0)
setLandBound(boolean landBound)
func_203012_t(boolean arg0)
private boolean
eV()
isTravelling()
method_6691()
isActivelyTravelling()
func_203014_dG()
private void
w(boolean arg0)
setTravelling(boolean arg0)
method_6696(boolean arg0)
setActivelyTravelling(boolean travelling)
func_203021_u(boolean arg0)
protected void
e()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
initDatawatcher()
public void
b(md arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
saveData(NBTTagCompound arg0)
public void
a(md arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
loadData(NBTTagCompound arg0)
public SpawnGroupData
a(bsh arg0, aop arg1, aqm arg2, aqz arg3, md arg4)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, MobSpawnType arg2, SpawnGroupData arg3, CompoundTag arg4)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3, class_2487 arg4)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3, CompoundTag arg4)
func_213386_a(IServerWorld arg0, DifficultyInstance arg1, SpawnReason arg2, ILivingEntityData arg3, CompoundNBT arg4)
prepare(WorldAccess arg0, DifficultyDamageScaler arg1, EnumMobSpawn arg2, GroupDataEntity arg3, NBTTagCompound arg4)
public static boolean
c(aqb<bau> arg0, brv arg1, aqm arg2, fx arg3, Random arg4)
checkTurtleSpawnRules(EntityType<Turtle> arg0, LevelAccessor arg1, MobSpawnType arg2, BlockPos arg3, Random arg4)
method_20671(class_1299<class_1481> arg0, class_1936 arg1, class_3730 arg2, class_2338 arg3, Random arg4)
canSpawn(EntityType<TurtleEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
func_223322_c(EntityType<TurtleEntity> arg0, IWorld arg1, SpawnReason arg2, BlockPos arg3, Random arg4)
protected void
o()
registerGoals()
method_5959()
initGoals()
func_184651_r()
initPathfinder()
public static AttributeSupplier$Builder
eM()
createAttributes()
method_26896()
createTurtleAttributes()
func_234228_eK_()
public boolean
bU()
isPushedByFluid()
method_5675()
canFly()
func_96092_aw()
public boolean
cL()
canBreatheUnderwater()
method_6094()
canBreatheInWater()
func_70648_aU()
public MobType
dB()
getMobType()
method_6046()
getGroup()
func_70668_bt()
getMonsterType()
public int
D()
getAmbientSoundInterval()
method_5970()
getMinAmbientSoundDelay()
func_70627_aG()
protected SoundEvent
I()
getAmbientSound()
method_5994()
getAmbientSound()
func_184639_G()
getSoundAmbient()
protected void
d(float arg0)
playSwimSound(float arg0)
method_5734(float arg0)
playSwimSound(float arg0)
func_203006_d(float arg0)
protected SoundEvent
au()
getSwimSound()
method_5737()
getSwimSound()
func_184184_Z()
getSoundSwim()
protected SoundEvent
e(aph arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
func_184601_bQ(DamageSource arg0)
getSoundHurt(DamageSource arg0)
protected SoundEvent
dp()
getDeathSound()
method_6002()
getDeathSound()
func_184615_bR()
getSoundDeath()
protected void
b(fx arg0, cee arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
func_180429_a(BlockPos arg0, BlockState arg1)
public boolean
eP()
canFallInLove()
method_6482()
canEat()
func_204701_dC()
protected float
as()
nextStep()
method_5867()
calculateNextStepSoundDistance()
func_203009_ad()
public float
cR()
getScale()
method_17825()
getScaleFactor()
func_213355_cm()
protected PathNavigation
b(bru arg0)
createNavigation(Level arg0)
method_5965(class_1937 arg0)
createNavigation(World arg0)
func_175447_b(World arg0)
public AgableMob
a(aag arg0, apv arg1)
getBreedOffspring(ServerLevel arg0, AgableMob arg1)
method_5613(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
func_241840_a(ServerWorld arg0, AgeableEntity arg1)
createChild(WorldServer arg0, EntityAgeable arg1)
public boolean
k(bly arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
func_70877_b(ItemStack arg0)
public float
a(fx arg0, brw arg1)
getWalkTargetValue(BlockPos arg0, LevelReader arg1)
method_6144(class_2338 arg0, class_4538 arg1)
getPathfindingFavor(BlockPos arg0, WorldView arg1)
func_205022_a(BlockPos arg0, IWorldReader arg1)
public void
k()
aiStep()
method_6007()
tickMovement()
func_70636_d()
movementTick()
protected void
m()
ageBoundaryReached()
method_5619()
onGrowUp()
func_175500_n()
public void
g(dck arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)
func_213352_e(Vector3d arg0)
public boolean
a(bft arg0)
canBeLeashed(Player arg0)
method_5931(class_1657 arg0)
canBeLeashedBy(PlayerEntity arg0)
func_184652_a(PlayerEntity arg0)
public void
a(aag arg0, aqi arg1)
thunderHit(ServerLevel arg0, LightningBolt arg1)
method_5800(class_3218 arg0, class_1538 arg1)
onStruckByLightning(ServerWorld arg0, LightningEntity arg1)
func_241841_a(ServerWorld arg0, LightningBoltEntity arg1)
onLightningStrike(WorldServer arg0, EntityLightning arg1)