net.minecraft.world.entity

public abstract class TamableAnimal

extends Animal

All mapped superinterfaces:

Nameable, CommandSource

all
net.minecraft.world.entity.TamableAnimal
net.minecraft.class_1321
net.minecraft.entity.passive.TameableEntity
net.minecraft.entity.passive.TameableEntity
net.minecraft.server.v1_15_R1.EntityTameableAnimal

Field summary

Modifier and TypeField
protected static final EntityDataAccessor<Byte>
bw
DATA_FLAGS_ID
field_6322
TAMEABLE_FLAGS
field_184755_bv
protected static final EntityDataAccessor<Optional<UUID>>
bx
DATA_OWNERUUID_ID
field_6320
OWNER_UUID
field_184756_bw
protected SitGoal
by
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
w_()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
initDatawatcher()
public void
b(jt arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
public void
a(jt arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
public boolean
a(ayg arg0)
canBeLeashed(Player arg0)
method_5931(class_1657 arg0)
canBeLeashedBy(PlayerEntity arg0)
func_184652_a(PlayerEntity arg0)
public boolean
eq()
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
er()
reassessTameGoals()
method_6175()
onTamedChanged()
func_175544_ck()
public boolean
es()
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
C_()
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(ayg arg0)
tame(Player arg0)
method_6170(class_1657 arg0)
setOwner(PlayerEntity player)
func_193101_c(PlayerEntity arg0)
tame(EntityHuman arg0)
public LivingEntity
et()
getOwner()
method_6177()
getOwner()
func_70902_q()
getOwner()
public boolean
c(akw arg0)
canAttack(LivingEntity arg0)
method_18395(class_1309 arg0)
canTarget(LivingEntity arg0)
func_213336_c(LivingEntity arg0)
public boolean
i(akw arg0)
isOwnedBy(LivingEntity arg0)
method_6171(class_1309 arg0)
isOwner(LivingEntity entity)
func_152114_e(LivingEntity arg0)
public SitGoal
eu()
getSitGoal()
method_6176()
getSitGoal()
func_70907_r()
getGoalSit()
public boolean
a(akw arg0, akw 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
bv()
getTeam()
method_5781()
getScoreboardTeam()
func_96124_cp()
getScoreboardTeam()
public boolean
r(akn arg0)
isAlliedTo(Entity arg0)
method_5722(class_1297 arg0)
isTeammate(Entity arg0)
func_184191_r(Entity arg0)
public void
a(ajw arg0)
die(DamageSource arg0)
method_6078(class_1282 arg0)
onDeath(DamageSource arg0)
func_70645_a(DamageSource arg0)
die(DamageSource arg0)
protected void
r(boolean arg0)
spawnTamingParticles(boolean arg0)
method_6180(boolean arg0)
showEmoteParticle(boolean positive)
func_70908_e(boolean arg0)
public void
a(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
func_70103_a(byte arg0)