net.minecraft.world.entity.animal

public class Turtle

extends Animal

All mapped superinterfaces:

Nameable, CommandSource

arx
net.minecraft.world.entity.animal.Turtle
net.minecraft.class_1481
net.minecraft.entity.passive.TurtleEntity
net.minecraft.entity.passive.TurtleEntity
net.minecraft.server.v1_14_R1.EntityTurtle

Field summary

Modifier and TypeField
private static final EntityDataAccessor<BlockPos>
bA
HOME_POS
field_6920
HOME_POS
field_203030_by
private static final EntityDataAccessor<Boolean>
bB
HAS_EGG
field_6919
HAS_EGG
field_203031_bz
private static final EntityDataAccessor<Boolean>
bC
LAYING_EGG
field_6923
DIGGING_SAND
field_203024_bB
private static final EntityDataAccessor<BlockPos>
bD
TRAVEL_POS
field_6922
TRAVEL_POS
field_203025_bC
private static final EntityDataAccessor<Boolean>
bE
GOING_HOME
field_6924
LAND_BOUND
field_203026_bD
private static final EntityDataAccessor<Boolean>
bF
TRAVELLING
field_6925
ACTIVELY_TRAVELLING
field_203027_bE
private int
bG
layEggCounter
field_6918
sandDiggingCounter
field_203028_bF
public static final Predicate<LivingEntity>
bz
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(ew arg0)
setHomePos(BlockPos arg0)
method_6683(class_2338 arg0)
setHomePos(BlockPos pos)
func_203011_g(BlockPos arg0)
private BlockPos
dX()
getHomePos()
method_6693()
getHomePos()
func_203018_dA()
private void
h(ew arg0)
setTravelPos(BlockPos arg0)
method_6699(class_2338 arg0)
setTravelPos(BlockPos pos)
func_203019_h(BlockPos arg0)
private BlockPos
dY()
getTravelPos()
method_6687()
getTravelPos()
func_203013_dB()
public boolean
dV()
hasEgg()
method_6679()
hasEgg()
func_203020_dx()
private void
r(boolean arg0)
setHasEgg(boolean arg0)
method_6680(boolean arg0)
setHasEgg(boolean hasEgg)
func_203017_r(boolean arg0)
public boolean
dW()
isLayingEgg()
method_6695()
isDiggingSand()
func_203023_dy()
private void
s(boolean arg0)
setLayingEgg(boolean arg0)
method_6676(boolean arg0)
setDiggingSand(boolean diggingSand)
func_203015_s(boolean arg0)
private boolean
dZ()
isGoingHome()
method_6684()
isLandBound()
func_203022_dF()
private void
t(boolean arg0)
setGoingHome(boolean arg0)
method_6697(boolean arg0)
setLandBound(boolean landBound)
func_203012_t(boolean arg0)
private boolean
ee()
isTravelling()
method_6691()
isActivelyTravelling()
func_203014_dG()
private void
u(boolean arg0)
setTravelling(boolean arg0)
method_6696(boolean arg0)
setActivelyTravelling(boolean travelling)
func_203021_u(boolean arg0)
protected void
u_()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
initDatawatcher()
public void
b(id arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
public void
a(id arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
public SpawnGroupData
a(bhs arg0, ahh arg1, aja arg2, ajj arg3, id arg4)
finalizeSpawn(LevelAccessor arg0, DifficultyInstance arg1, MobSpawnType arg2, SpawnGroupData arg3, CompoundTag arg4)
method_5943(class_1936 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3, class_2487 arg4)
initialize(IWorld arg0, LocalDifficulty arg1, SpawnType arg2, EntityData arg3, CompoundTag arg4)
func_213386_a(IWorld arg0, DifficultyInstance arg1, SpawnReason arg2, ILivingEntityData arg3, CompoundNBT arg4)
prepare(GeneratorAccess arg0, DifficultyDamageScaler arg1, EnumMobSpawn arg2, GroupDataEntity arg3, NBTTagCompound arg4)
public static boolean
c(ais<arx> arg0, bhs arg1, aja arg2, ew 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)
func_223322_c(EntityType<TurtleEntity> arg0, IWorld arg1, SpawnReason arg2, BlockPos arg3, Random arg4)
protected void
n()
registerGoals()
method_5959()
initGoals()
func_184651_r()
initPathfinder()
protected void
cl()
registerAttributes()
method_6001()
initAttributes()
func_110147_ax()
initAttributes()
public boolean
bE()
isPushedByWater()
method_5675()
canFly()
func_96092_aw()
public boolean
cm()
canBreatheUnderwater()
method_6094()
canBreatheInWater()
func_70648_aU()
public MobType
cQ()
getMobType()
method_6046()
getGroup()
func_70668_bt()
getMonsterType()
public int
A()
getAmbientSoundInterval()
method_5970()
getMinAmbientSoundDelay()
func_70627_aG()
protected SoundEvent
G()
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
ai()
getSwimSound()
method_5737()
getSwimSound()
func_184184_Z()
getSoundSwim()
protected SoundEvent
e(ahx arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
func_184601_bQ(DamageSource arg0)
getSoundHurt(DamageSource arg0)
protected SoundEvent
cH()
getDeathSound()
method_6002()
getDeathSound()
func_184615_bR()
getSoundDeath()
protected void
a(ew arg0, bvt 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
ea()
canFallInLove()
method_6482()
canEat()
func_204701_dC()
protected float
ag()
nextStep()
method_5867()
calculateNextStepSoundDistance()
func_203009_ad()
public float
cn()
getScale()
method_17825()
getScaleFactor()
func_213355_cm()
protected PathNavigation
b(bhr arg0)
createNavigation(Level arg0)
method_5965(class_1937 arg0)
createNavigation(World arg0)
func_175447_b(World arg0)
public AgableMob
a(aim arg0)
getBreedOffspring(AgableMob arg0)
method_5613(class_1296 arg0)
createChild(PassiveEntity arg0)
func_90011_a(AgeableEntity arg0)
createChild(EntityAgeable arg0)
public boolean
i(bcj arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
func_70877_b(ItemStack arg0)
public float
a(ew arg0, bhu arg1)
getWalkTargetValue(BlockPos arg0, LevelReader arg1)
method_6144(class_2338 arg0, class_1941 arg1)
getPathfindingFavor(BlockPos arg0, CollisionView arg1)
func_205022_a(BlockPos arg0, IWorldReader arg1)
public void
k()
aiStep()
method_6007()
tickMovement()
func_70636_d()
movementTick()
protected void
l()
ageBoundaryReached()
method_5619()
onGrowUp()
func_175500_n()
public void
e(csi arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)
func_213352_e(Vec3d arg0)
public boolean
a(awg arg0)
canBeLeashed(Player arg0)
method_5931(class_1657 arg0)
canBeLeashedBy(PlayerEntity arg0)
func_184652_a(PlayerEntity arg0)
public void
a(atu arg0)
thunderHit(LightningBolt arg0)
method_5800(class_1538 arg0)
onStruckByLightning(LightningEntity arg0)
func_70077_a(LightningBoltEntity arg0)
onLightningStrike(EntityLightning arg0)