net.minecraft.world.entity

public abstract class TamableAnimal

extends Animal implements OwnableEntity

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, OwnableEntity

aun
net.minecraft.world.entity.TamableAnimal
net.minecraft.class_1321
net.minecraft.unmapped.C_sjwjnzbw
net.minecraft.entity.passive.TameableEntity
net.minecraft.src.C_547_
net.minecraft.world.entity.EntityTameableAnimal

Field summary

Modifier and TypeField
protected static final EntityDataAccessor<Byte>
bS
DATA_FLAGS_ID
field_6322
f_kbzwzygv
TAMEABLE_FLAGS
f_21798_
protected static final EntityDataAccessor<Optional<UUID>>
bT
DATA_OWNERUUID_ID
field_6320
f_rborvvvh
OWNER_UUID
f_21799_
private boolean
bV
orderedToSit
field_21974
f_epcsrtrm
sitting
f_21800_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
a_()
defineSynchedData()
method_5693()
m_lwugwlsw()
initDataTracker()
m_8097_()
initDatawatcher()
public void
b(na arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
saveData(NBTTagCompound arg0)
public void
a(na arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
loadData(NBTTagCompound arg0)
public boolean
a(bkd arg0)
canBeLeashed(Player arg0)
method_5931(class_1657 arg0)
m_fgmsyatf(C_jzrpycqo arg0)
canBeLeashedBy(PlayerEntity arg0)
m_6573_(C_1141_ arg0)
protected void
v(boolean arg0)
spawnTamingParticles(boolean arg0)
method_6180(boolean arg0)
m_mkfladdv(boolean arg0)
showEmoteParticle(boolean positive)
m_21834_(boolean arg0)
public void
a(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
m_kkieextx(byte arg0)
handleStatus(byte arg0)
m_7822_(byte arg0)
public boolean
p()
isTame()
method_6181()
m_xhsllqmu()
isTamed()
m_21824_()
isTamed()
public void
w(boolean arg0)
setTame(boolean arg0)
method_6173(boolean arg0)
m_lvckrpxt(boolean arg0)
setTamed(boolean tamed)
m_7105_(boolean arg0)
setTamed(boolean arg0)
protected void
t()
reassessTameGoals()
method_6175()
m_szezzsnr()
onTamedChanged()
m_5849_()
public boolean
fv()
isInSittingPose()
method_6172()
m_jaiutpwi()
isInSittingPose()
m_21825_()
isSitting()
public void
x(boolean arg0)
setInSittingPose(boolean arg0)
method_6179(boolean arg0)
m_yeburszk(boolean arg0)
setInSittingPose(boolean inSittingPose)
m_21837_(boolean arg0)
setSitting(boolean arg0)
public UUID
d()
getOwnerUUID()
method_6139()
m_syyylunm()
getOwnerUuid()
m_142504_()
getOwnerUUID()
public void
b(UUID arg0)
setOwnerUUID(UUID arg0)
method_6174(UUID arg0)
m_ofifzrdx(UUID arg0)
setOwnerUuid(UUID uuid)
m_21816_(UUID arg0)
setOwnerUUID(UUID arg0)
public void
f(bkd arg0)
tame(Player arg0)
method_6170(class_1657 arg0)
m_ztvtqemk(C_jzrpycqo arg0)
setOwner(PlayerEntity player)
m_21828_(C_1141_ arg0)
tame(EntityHuman arg0)
public LivingEntity
fw()
getOwner()
method_6177()
m_uhrnycwo()
getOwner()
m_142480_()
getOwner()
public boolean
c(att arg0)
canAttack(LivingEntity arg0)
method_18395(class_1309 arg0)
m_guuxmwap(C_usxaxydn arg0)
canTarget(LivingEntity arg0)
m_6779_(C_524_ arg0)
public boolean
j(att arg0)
isOwnedBy(LivingEntity arg0)
method_6171(class_1309 arg0)
m_zgkbrqwb(C_usxaxydn arg0)
isOwner(LivingEntity entity)
m_21830_(C_524_ arg0)
public boolean
a(att arg0, att arg1)
wantsToAttack(LivingEntity arg0, LivingEntity arg1)
method_6178(class_1309 arg0, class_1309 arg1)
m_frgwjzaq(C_usxaxydn arg0, C_usxaxydn arg1)
canAttackWithOwner(LivingEntity target, LivingEntity owner)
m_7757_(C_524_ p_21811_, C_524_ arg1)
public Team
bR()
getTeam()
method_5781()
m_hjjjfrzw()
getScoreboardTeam()
m_5647_()
getScoreboardTeam()
public boolean
p(atf arg0)
isAlliedTo(Entity arg0)
method_5722(class_1297 arg0)
m_acgnvjmq(C_astfners arg0)
isTeammate(Entity arg0)
m_7307_(C_507_ arg0)
public void
a(asp arg0)
die(DamageSource arg0)
method_6078(class_1282 arg0)
m_tflzijcx(C_sbxfkpyv arg0)
onDeath(DamageSource arg0)
m_6667_(C_489_ arg0)
die(DamageSource arg0)
public boolean
fx()
isOrderedToSit()
method_24345()
m_eqokagel()
isSitting()
m_21827_()
isWillSit()
public void
y(boolean arg0)
setOrderedToSit(boolean arg0)
method_24346(boolean arg0)
m_enoyzrxs(boolean arg0)
setSitting(boolean sitting)
m_21839_(boolean arg0)
setWillSit(boolean arg0)