net.minecraft.world.entity

public abstract class TamableAnimal

extends Animal

All mapped superinterfaces:

Nameable, CommandSource

ajl
net.minecraft.world.entity.TamableAnimal
net.minecraft.class_1321
net.minecraft.entity.passive.TameableEntity
net.minecraft.entity.passive.TameableEntity
net.minecraft.server.v1_14_R1.EntityTameableAnimal

Field summary

Modifier and TypeField
protected static final EntityDataAccessor<Byte>
bz
DATA_FLAGS_ID
field_6322
TAMEABLE_FLAGS
field_184755_bv
protected static final EntityDataAccessor<Optional<UUID>>
bA
DATA_OWNERUUID_ID
field_6320
OWNER_UUID
field_184756_bw
protected SitGoal
bB
sitGoal
field_6321
sitGoal
field_70911_d
goalSit

Constructor summary

ModifierConstructor
protected (EntityType<? extends TamableAnimal> type, Level arg1)

Method summary

Modifier and TypeMethod
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 boolean
a(awg arg0)
canBeLeashed(Player arg0)
method_5931(class_1657 arg0)
canBeLeashedBy(PlayerEntity arg0)
func_184652_a(PlayerEntity arg0)
protected void
r(boolean arg0)
spawnTamingParticles(boolean arg0)
method_6180(boolean arg0)
showEmoteParticle(boolean positive)
func_70908_e(boolean arg0)
public boolean
dV()
isTame()
method_6181()
isTamed()
func_70909_n()
isTamed()
public void
s(boolean arg0)
setTame(boolean arg0)
method_6173(boolean arg0)
setTamed(boolean tamed)
func_70903_f(boolean arg0)
setTamed(boolean arg0)
protected void
dW()
reassessTameGoals()
method_6175()
onTamedChanged()
func_175544_ck()
public boolean
dX()
isSitting()
method_6172()
isSitting()
func_70906_o()
isSitting()
public void
t(boolean arg0)
setSitting(boolean arg0)
method_6179(boolean arg0)
setSitting(boolean sitting)
func_70904_g(boolean arg0)
setSitting(boolean arg0)
public UUID
A_()
getOwnerUUID()
method_6139()
getOwnerUuid()
func_184753_b()
getOwnerUUID()
public void
b(UUID arg0)
setOwnerUUID(UUID arg0)
method_6174(UUID arg0)
setOwnerUuid(UUID uuid)
func_184754_b(UUID arg0)
setOwnerUUID(UUID arg0)
public void
e(awg arg0)
tame(Player arg0)
method_6170(class_1657 arg0)
setOwner(PlayerEntity player)
func_193101_c(PlayerEntity arg0)
tame(EntityHuman arg0)
public LivingEntity
dY()
getOwner()
method_6177()
getOwner()
func_70902_q()
getOwner()
public boolean
c(aix arg0)
canAttack(LivingEntity arg0)
method_18395(class_1309 arg0)
canTarget(LivingEntity arg0)
func_213336_c(LivingEntity arg0)
public boolean
h(aix arg0)
isOwnedBy(LivingEntity arg0)
method_6171(class_1309 arg0)
isOwner(LivingEntity entity)
func_152114_e(LivingEntity arg0)
public SitGoal
dZ()
getSitGoal()
method_6176()
getSitGoal()
func_70907_r()
getGoalSit()
public boolean
a(aix arg0, aix arg1)
wantsToAttack(LivingEntity arg0, LivingEntity arg1)
method_6178(class_1309 arg0, class_1309 arg1)
canAttackWithOwner(LivingEntity target, LivingEntity owner)
func_142018_a(LivingEntity arg0, LivingEntity arg1)
public Team
bo()
getTeam()
method_5781()
getScoreboardTeam()
func_96124_cp()
getScoreboardTeam()
public boolean
r(aio arg0)
isAlliedTo(Entity arg0)
method_5722(class_1297 arg0)
isTeammate(Entity arg0)
func_184191_r(Entity arg0)
public void
a(ahx arg0)
die(DamageSource arg0)
method_6078(class_1282 arg0)
onDeath(DamageSource arg0)
func_70645_a(DamageSource arg0)
die(DamageSource arg0)
public void
a(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
func_70103_a(byte arg0)