net.minecraft.world.entity

public abstract class TamableAnimal

extends Animal

All mapped superinterfaces:

Nameable, CommandSource

apq
net.minecraft.world.entity.TamableAnimal
net.minecraft.class_1321
net.minecraft.entity.passive.TameableEntity
net.minecraft.entity.passive.TameableEntity
net.minecraft.server.v1_16_R1.EntityTameableAnimal

Field summary

Modifier and TypeField
protected static final EntityDataAccessor<Byte>
bv
DATA_FLAGS_ID
field_6322
TAMEABLE_FLAGS
field_184755_bv
protected static final EntityDataAccessor<Optional<UUID>>
bw
DATA_OWNERUUID_ID
field_6320
OWNER_UUID
field_184756_bw
private boolean
bx
orderedToSit
field_21974
sitting
field_233683_bw_
willSit

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
e()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
initDatawatcher()
public void
b(le arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
saveData(NBTTagCompound arg0)
public void
a(le arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
loadData(NBTTagCompound arg0)
public boolean
a(bec arg0)
canBeLeashed(Player arg0)
method_5931(class_1657 arg0)
canBeLeashedBy(PlayerEntity arg0)
func_184652_a(PlayerEntity arg0)
public boolean
eL()
isTame()
method_6181()
isTamed()
func_70909_n()
isTamed()
public void
u(boolean arg0)
setTame(boolean arg0)
method_6173(boolean arg0)
setTamed(boolean tamed)
func_70903_f(boolean arg0)
setTamed(boolean arg0)
protected void
eM()
reassessTameGoals()
method_6175()
onTamedChanged()
func_175544_ck()
public boolean
eN()
isInSittingPose()
method_6172()
isInSittingPose()
func_233684_eK_()
isSitting()
public void
v(boolean arg0)
setInSittingPose(boolean arg0)
method_6179(boolean arg0)
setInSittingPose(boolean inSittingPose)
func_233686_v_(boolean arg0)
setSitting(boolean arg0)
public UUID
B_()
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
f(bec arg0)
tame(Player arg0)
method_6170(class_1657 arg0)
setOwner(PlayerEntity player)
func_193101_c(PlayerEntity arg0)
tame(EntityHuman arg0)
public LivingEntity
eO()
getOwner()
method_6177()
getOwner()
func_70902_q()
getOwner()
public boolean
d(aoy arg0)
canAttack(LivingEntity arg0)
method_18395(class_1309 arg0)
canTarget(LivingEntity arg0)
func_213336_c(LivingEntity arg0)
public boolean
j(aoy arg0)
isOwnedBy(LivingEntity arg0)
method_6171(class_1309 arg0)
isOwner(LivingEntity entity)
func_152114_e(LivingEntity arg0)
public boolean
a(aoy arg0, aoy 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
bC()
getTeam()
method_5781()
getScoreboardTeam()
func_96124_cp()
getScoreboardTeam()
public boolean
r(aom arg0)
isAlliedTo(Entity arg0)
method_5722(class_1297 arg0)
isTeammate(Entity arg0)
func_184191_r(Entity arg0)
public void
a(anw arg0)
die(DamageSource arg0)
method_6078(class_1282 arg0)
onDeath(DamageSource arg0)
func_70645_a(DamageSource arg0)
die(DamageSource arg0)
public boolean
eP()
isOrderedToSit()
method_24345()
isSitting()
func_233685_eM_()
isWillSit()
public void
w(boolean arg0)
setOrderedToSit(boolean arg0)
method_24346(boolean arg0)
setSitting(boolean sitting)
func_233687_w_(boolean arg0)
setWillSit(boolean arg0)
protected void
t(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)