net.minecraft.entity.living.mob.passive.animal

public class TurtleEntity

extends AnimalEntity

All mapped superinterfaces:

Nameable, CommandSource, SpawnableEntity

akk
net.minecraft.class_3495
net.minecraft.entity.living.mob.passive.animal.TurtleEntity
net.minecraft.entity.passive.EntityTurtle
net.minecraft.entity.passive.EntityTurtle

Field summary

Modifier and TypeField
private static final DataAttribute<BlockPos>
bD
field_16958
HOME_POS
field_203030_by
HOME_POS
private static final DataAttribute<Boolean>
bE
field_16959
HAS_EGG
field_203031_bz
HAS_EGG
private static final DataAttribute<Boolean>
bG
field_16960
DIGGING_SAND
field_203024_bB
IS_DIGGING
private static final DataAttribute<BlockPos>
bH
field_16961
TRAVEL_POS
field_203025_bC
TRAVEL_POS
private static final DataAttribute<Boolean>
bI
field_16962
LAND_BOUND
field_203026_bD
GOING_HOME
private static final DataAttribute<Boolean>
bJ
field_16963
ACTIVELY_TRAVELING
field_203027_bE
TRAVELLING
private int
bK
field_16964
sandDiggingCounter
field_203028_bF
isDigging
public static final Predicate<Entity>
bC
field_16957
BABY_TURTLE_ON_LAND_FILTER
field_203029_bx
TARGET_DRY_BABY

Constructor summary

ModifierConstructor
public (World arg0)

Method summary

Modifier and TypeMethod
public void
g(el arg0)
method_15817(class_2552 arg0)
setHomePos(BlockPos pos)
func_203011_g(BlockPos arg0)
setHome(BlockPos position)
private BlockPos
dA()
method_15808()
getHomePos()
func_203018_dA()
getHome()
private void
h(el arg0)
method_15819(class_2552 arg0)
setTravelPos(BlockPos pos)
func_203019_h(BlockPos arg0)
setTravelPos(BlockPos position)
private BlockPos
dB()
method_15809()
getTravelPos()
func_203013_dB()
getTravelPos()
public boolean
dy()
method_15812()
hasEgg()
func_203020_dx()
hasEgg()
private void
s(boolean arg0)
method_15820(boolean arg0)
setHasEgg(boolean hasEgg)
func_203017_r(boolean arg0)
setHasEgg(boolean hasEgg)
public boolean
dz()
method_15813()
isDiggingSand()
func_203023_dy()
isDigging()
private void
t(boolean arg0)
method_15821(boolean arg0)
setDiggingSand(boolean diggingSand)
func_203015_s(boolean arg0)
setDigging(boolean isDigging)
private boolean
dC()
method_15810()
isLandBound()
func_203022_dF()
isGoingHome()
private void
u(boolean arg0)
method_15822(boolean arg0)
setLandBound(boolean landBound)
func_203012_t(boolean arg0)
setGoingHome(boolean isGoingHome)
private boolean
dH()
method_15811()
isActivelyTraveling()
func_203014_dG()
isTravelling()
private void
v(boolean arg0)
method_15823(boolean arg0)
setActivelyTraveling(boolean traveling)
func_203021_u(boolean arg0)
setTravelling(boolean isTravelling)
protected void
x_()
method_2484()
registerSyncedData()
func_70088_a()
registerData()
public void
b(gy arg0)
method_2528(class_322 arg0)
writeCustomNbt(NbtCompound arg0)
func_70014_b(NBTTagCompound arg0)
writeAdditional(NBTTagCompound arg0)
public void
a(gy arg0)
method_2498(class_322 arg0)
readCustomNbt(NbtCompound arg0)
func_70037_a(NBTTagCompound arg0)
readAdditional(NBTTagCompound arg0)
public EntityData
a(adj arg0, afj arg1, gy arg2)
method_6156(class_2607 arg0, class_1700 arg1, class_322 arg2)
initialize(LocalDifficulty arg0, EntityData arg1, NbtCompound arg2)
func_204210_a(DifficultyInstance arg0, IEntityLivingData arg1, NBTTagCompound arg2)
onInitialSpawn(DifficultyInstance arg0, IEntityLivingData arg1, NBTTagCompound arg2)
public boolean
a(axz arg0, boolean arg1)
method_15652(class_3598 arg0, boolean arg1)
canSpawn(WorldAccess arg0, boolean arg1)
func_205020_a(IWorld arg0, boolean arg1)
canSpawn(IWorld arg0, boolean arg1)
protected void
n()
method_13087()
initGoals()
func_184651_r()
initEntityAI()
protected void
bZ()
method_6129()
initAttributes()
func_110147_ax()
registerAttributes()
public boolean
bw()
method_5380()
hasLiquidCollision()
func_96092_aw()
isPushedByWater()
public boolean
ca()
method_2607()
canBreatheUnderwater()
func_70648_aU()
canBreatheUnderwater()
public MobType
cA()
method_2647()
getMobType()
func_70668_bt()
getCreatureAttribute()
public int
z()
method_2594()
getAmbientSoundInterval()
func_70627_aG()
getTalkInterval()
protected SoundEvent
D()
method_2603()
getAmbientSound()
func_184639_G()
getAmbientSound()
protected void
d(float arg0)
method_15588(float arg0)
playSwimSound(float arg0)
func_203006_d(float arg0)
playSwimSound(float arg0)
protected SoundEvent
ad()
method_12984()
getSwimSound()
func_184184_Z()
getSwimSound()
protected SoundEvent
d(aea arg0)
method_15060(class_856 arg0)
getHurtSound(DamageSource arg0)
func_184601_bQ(DamageSource arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
cs()
method_13049()
getDeathSound()
func_184615_bR()
getDeathSound()
protected void
a(el arg0, blc arg1)
method_10936(class_2552 arg0, class_2232 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
func_180429_a(BlockPos arg0, IBlockState arg1)
playStepSound(BlockPos arg0, IBlockState arg1)
public boolean
dD()
method_15741()
canEat()
func_204701_dC()
canBreed()
protected float
ab()
method_15572()
calculateNextStepSoundDistance()
func_203009_ad()
determineNextStepDistance()
public void
a(boolean arg0)
method_5377(boolean arg0)
setAgeSize(boolean arg0)
func_98054_a(boolean arg0)
setScaleForAge(boolean arg0)
protected PathNavigation
b(axy arg0)
method_10986(class_1150 arg0)
createNavigation(World arg0)
func_175447_b(World arg0)
createNavigator(World arg0)
public PassiveEntity
a(aeo arg0)
method_4440(class_862 arg0)
makeChild(PassiveEntity arg0)
func_90011_a(EntityAgeable arg0)
createChild(EntityAgeable arg0)
public boolean
f(ate arg0)
method_2853(class_1071 arg0)
isBreedingItem(ItemStack arg0)
func_70877_b(ItemStack arg0)
isBreedingItem(ItemStack arg0)
public float
a(el arg0, ayc arg1)
method_15657(class_2552 arg0, class_3599 arg1)
getPathfindingFavor(BlockPos arg0, WorldView arg1)
func_205022_a(BlockPos arg0, IWorldReaderBase arg1)
getBlockPathWeight(BlockPos arg0, IWorldReaderBase arg1)
public void
k()
method_2651()
mobTick()
func_70636_d()
livingTick()
protected void
l()
method_10926()
onGrowUp()
func_175500_n()
onGrowingAdult()
public void
a(float arg0, float arg1, float arg2)
method_2657(float arg0, float arg1, float arg2)
moveRelative(float arg0, float arg1, float arg2)
func_191986_a(float arg0, float arg1, float arg2)
travel(float arg0, float arg1, float arg2)
public boolean
a(aog arg0)
method_2537(class_988 arg0)
isTameable(PlayerEntity arg0)
func_184652_a(EntityPlayer arg0)
canBeLeashedTo(EntityPlayer arg0)
protected Identifier
G()
method_13074()
getDefaultLootTable()
func_184647_J()
getLootTable()
public void
a(amj arg0)
method_2502(class_961 arg0)
struckByLightning(LightningBoltEntity arg0)
func_70077_a(EntityLightningBolt arg0)
onStruckByLightning(EntityLightningBolt arg0)
public void
a(aea arg0)
method_2580(class_856 arg0)
die(DamageSource arg0)
func_70645_a(DamageSource arg0)
onDeath(DamageSource arg0)