net.minecraft.world.entity.animal.horse

public class Llama

extends AbstractChestedHorse implements VariantHolder<Llama$Variant>, RangedAttackMob

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Attackable, Targeting, ContainerListener, HasCustomInventoryScreen, OwnableEntity, PlayerRideableJumping, PlayerRideable, Saddleable, VariantHolder, RangedAttackMob

btn
net.minecraft.world.entity.animal.horse.Llama
net.minecraft.class_1501
net.minecraft.unmapped.C_jzrmkmyj
net.minecraft.entity.passive.LlamaEntity
net.minecraft.entity.passive.LlamaEntity
net.minecraft.src.C_930_
net.minecraft.world.entity.animal.horse.EntityLlama

Field summary

Modifier and TypeField
private static final int
bU
MAX_STRENGTH
field_30425
f_nejznjbu
MAX_STRENGTH
MAX_STRENGTH
f_149535_
private static final Ingredient
bW
FOOD_ITEMS
field_25375
f_wgyxwyep
TAMING_INGREDIENT
TAMING_INGREDIENT
f_30744_
private static final EntityDataAccessor<Integer>
bX
DATA_STRENGTH_ID
field_6998
f_svymdifn
STRENGTH
STRENGTH
f_30745_
private static final EntityDataAccessor<Integer>
bY
DATA_SWAG_ID
field_6995
f_jhfqhgaa
CARPET_COLOR
CARPET_COLOR
f_30746_
private static final EntityDataAccessor<Integer>
bZ
DATA_VARIANT_ID
field_6996
f_gcwhygai
VARIANT
VARIANT
f_30747_
boolean
ca
didSpit
field_6999
f_bhjplgrb
spit
spit
f_30741_
private Llama
cb
caravanHead
field_7000
f_ybnufwga
following
following
f_30742_
private Llama
cc
caravanTail
field_6997
f_kbjjhfuq
follower
follower
f_30743_

Constructor summary

ModifierConstructor
public (EntityType<? extends Llama> p_30751_, Level arg1)

Method summary

Modifier and TypeMethod
public boolean
gh()
isTraderLlama()
method_6807()
m_bttxnaek()
isTrader()
isTrader()
m_7565_()
private void
w(int arg0)
setStrength(int arg0)
method_6802(int arg0)
m_mojegzjo(int arg0)
setStrength(int strength)
setStrength(int strength)
m_30840_(int arg0)
private void
b(apf arg0)
setRandomStrength(RandomSource arg0)
method_6796(class_5819 arg0)
m_ndwrlywe(C_rlomrsco arg0)
initializeStrength(Random random)
initializeStrength(RandomGenerator random)
m_218817_(C_212974_ arg0)
public int
gi()
getStrength()
method_6803()
m_akzrqzfp()
getStrength()
getStrength()
m_30823_()
public void
b(qr arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(qr arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
protected void
x()
registerGoals()
method_5959()
m_itjttsuo()
initGoals()
initGoals()
m_8099_()
public static AttributeSupplier$Builder
gj()
createAttributes()
method_26900()
m_mchodldb()
createLlamaAttributes()
createAttributes()
m_30824_()
protected void
a_()
defineSynchedData()
method_5693()
m_lwugwlsw()
initDataTracker()
initDataTracker()
m_8097_()
public Llama$Variant
gk()
getVariant()
method_6809()
m_qzluxgcb()
getVariant()
getVariant()
m_28554_()
public void
a(btn$d arg0)
setVariant(Llama$Variant arg0)
method_47874(class_1501$class_7993 arg0)
m_jszjbjqk(C_jzrmkmyj$C_bamxtdwv arg0)
setVariant(LlamaEntity$Variant arg0)
setVariant(LlamaEntity$Variant arg0)
m_28464_(C_930_$C_262192_ arg0)
protected int
V_()
getInventorySize()
method_6750()
m_fzsdcwye()
getInventorySize()
getInventorySize()
m_7506_()
protected void
a(bfj arg0, bfj$a arg1)
positionRider(Entity arg0, Entity$MoveFunction arg1)
method_5865(class_1297 arg0, class_1297$class_4738 arg1)
m_gwusjpmx(C_astfners arg0, C_astfners$C_aobkcgmf arg1)
updatePassengerPosition(Entity arg0, Entity$PositionUpdater arg1)
updatePassengerPosition(Entity arg0, Entity$PositionUpdater arg1)
m_19956_(C_507_ p_289531_, C_507_$C_509_ arg1)
public double
bx()
getPassengersRidingOffset()
method_5621()
m_kkphuyzb()
getMountedHeightOffset()
getMountedHeightOffset()
m_6048_()
public LivingEntity
cL()
getControllingPassenger()
method_5642()
m_cvqrfbej()
getControllingPassenger()
getPrimaryPassenger()
m_6688_()
public boolean
m(cfz arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
m_njyokwrm(C_sddaxwyk arg0)
isBreedingItem(ItemStack arg0)
isBreedingItem(ItemStack arg0)
m_6898_(C_1391_ arg0)
protected boolean
a(byo arg0, cfz arg1)
handleEating(Player arg0, ItemStack arg1)
method_6742(class_1657 arg0, class_1799 arg1)
m_gsiuwpzy(C_jzrpycqo arg0, C_sddaxwyk arg1)
receiveFood(PlayerEntity arg0, ItemStack arg1)
receiveFood(PlayerEntity arg0, ItemStack arg1)
m_5994_(C_1141_ p_30797_, C_1391_ arg1)
public boolean
eT()
isImmobile()
method_6062()
m_iauzolbu()
isImmobile()
isImmobile()
m_6107_()
public SpawnGroupData
a(cnb arg0, bdv arg1, bgd arg2, bgt arg3, qr arg4)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, MobSpawnType arg2, SpawnGroupData arg3, CompoundTag arg4)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3, class_2487 arg4)
m_oxrxxqyz(C_jmnzlycd arg0, C_jiailwzt arg1, C_uzzvxofv arg2, C_lsmqixfx arg3, C_hhlwcnih arg4)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3, NbtCompound arg4)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3, NbtCompound arg4)
m_6518_(C_1618_ p_30775_, C_469_ p_30776_, C_529_ p_30777_, C_542_ p_30778_, C_4917_ arg4)
protected boolean
ge()
canPerformRearing()
method_45349()
m_saoghlvq()
shouldAmbientStand()
canRear()
m_245259_()
protected SoundEvent
gx()
getAngrySound()
method_6747()
m_yfyphuce()
getAngrySound()
getAngrySound()
m_7871_()
protected SoundEvent
s()
getAmbientSound()
method_5994()
m_jjefzxbm()
getAmbientSound()
getAmbientSound()
m_7515_()
protected SoundEvent
d(ben arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
m_spwwmdyl(C_sbxfkpyv arg0)
getHurtSound(DamageSource arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
g_()
getDeathSound()
method_6002()
m_axkhmdzu()
getDeathSound()
getDeathSound()
m_5592_()
protected SoundEvent
gf()
getEatingSound()
method_28368()
m_rebcmcfu()
getEatSound()
getEatSound()
m_7872_()
protected void
b(gu arg0, dcb arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
m_rnleirmb(C_hynzadkk arg0, C_txtbiemp arg1)
playStepSound(BlockPos arg0, BlockState arg1)
playStepSound(BlockPos arg0, BlockState arg1)
m_7355_(C_4675_ p_30791_, C_2064_ arg1)
protected void
fY()
playChestEquipsSound()
method_6705()
m_ufvruazd()
playAddChestSound()
playAddChestSound()
m_7609_()
public int
gg()
getInventoryColumns()
method_6702()
m_yxmkpzfe()
getInventoryColumns()
getInventoryColumns()
m_7488_()
public boolean
gH()
canWearArmor()
method_6735()
m_ykhwtvdh()
hasArmorSlot()
hasArmorSlot()
m_7482_()
public boolean
gI()
isWearingArmor()
method_6753()
m_btgeycjv()
hasArmorInSlot()
hasArmorInSlot()
m_7481_()
public boolean
l(cfz arg0)
isArmor(ItemStack arg0)
method_6773(class_1799 arg0)
m_fddewlyq(C_sddaxwyk arg0)
isHorseArmor(ItemStack arg0)
isHorseArmor(ItemStack arg0)
m_6010_(C_1391_ arg0)
public boolean
g()
isSaddleable()
method_6765()
m_glykbwde()
canBeSaddled()
canBeSaddled()
m_6741_()
public void
a(bdq arg0)
containerChanged(Container arg0)
method_5453(class_1263 arg0)
m_ejtklevt(C_pjtstjoq arg0)
onInventoryChanged(Inventory arg0)
onInventoryChanged(Inventory arg0)
m_5757_(C_464_ arg0)
protected void
gv()
updateContainerEquipment()
method_6731()
m_tqypfoqc()
updateSaddle()
updateSaddle()
m_7493_()
private void
a(cen arg0)
setSwag(DyeColor arg0)
method_6799(class_1767 arg0)
m_crrqofst(C_arllgqae arg0)
setCarpetColor(DyeColor color)
setCarpetColor(DyeColor color)
m_30771_(C_1353_ arg0)
private static DyeColor
n(cfz arg0)
getDyeColor(ItemStack arg0)
method_6794(class_1799 arg0)
m_spfngqlv(C_sddaxwyk arg0)
getColorFromCarpet(ItemStack color)
getColorFromCarpet(ItemStack color)
m_30835_(C_1391_ p_30836_)
public DyeColor
gl()
getSwag()
method_6800()
m_npghprep()
getCarpetColor()
getCarpetColor()
m_30826_()
public int
gz()
getMaxTemper()
method_6755()
m_uzaawbaz()
getMaxTemper()
getMaxTemper()
m_7555_()
public boolean
a(brl arg0)
canMate(Animal arg0)
method_6474(class_1429 arg0)
m_rgotkmam(C_tprvtfff arg0)
canBreedWith(AnimalEntity arg0)
canBreedWith(AnimalEntity arg0)
m_7848_(C_801_ arg0)
public Llama
b(aif arg0, bfe arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_6804(class_3218 arg0, class_1296 arg1)
m_qcyklcip(C_bdwnwhiu arg0, C_jvojbnla arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
m_142606_(C_12_ p_149546_, C_141062_ arg1)
protected Llama
gm()
makeNewLlama()
method_18004()
m_ghyitixv()
createChild()
m_7127_()
private void
m(bfz arg0)
spit(LivingEntity arg0)
method_6792(class_1309 arg0)
m_sepmwwme(C_usxaxydn arg0)
spitAt(LivingEntity target)
spitAt(LivingEntity target)
m_30827_(C_524_ arg0)
void
D(boolean arg0)
setDidSpit(boolean arg0)
method_6808(boolean arg0)
m_gtymjqxz(boolean arg0)
setSpit(boolean spit)
setSpit(boolean spit)
m_30752_(boolean arg0)
public boolean
a(float arg0, float arg1, ben arg2)
causeFallDamage(float arg0, float arg1, DamageSource arg2)
method_5747(float arg0, float arg1, class_1282 arg2)
m_izrsdktf(float arg0, float arg1, C_sbxfkpyv arg2)
handleFallDamage(float arg0, float arg1, DamageSource arg2)
handleFallDamage(float arg0, float arg1, DamageSource arg2)
m_142535_(float p_149539_, float p_149540_, C_489_ arg2)
public void
gK()
leaveCaravan()
method_6797()
m_fdwfwkvl()
stopFollowing()
stopFollowing()
m_30809_()
public void
a(btn arg0)
joinCaravan(Llama arg0)
method_6791(class_1501 arg0)
m_xockexqj(C_jzrmkmyj arg0)
follow(LlamaEntity llama)
follow(LlamaEntity llama)
m_30766_(C_930_ arg0)
public boolean
gL()
hasCaravanTail()
method_6793()
m_ziuntool()
hasFollower()
hasFollower()
m_30810_()
public boolean
gM()
inCaravan()
method_6805()
m_amqliahl()
isFollowing()
isFollowing()
m_30811_()
public Llama
gN()
getCaravanHead()
method_6806()
m_rgwxwdhm()
getFollowing()
getFollowing()
m_30812_()
protected double
fX()
followLeashSpeed()
method_6148()
m_fnjvvmec()
getFollowLeashSpeed()
getRunFromLeashSpeed()
m_5823_()
protected void
gA()
followMommy()
method_6746()
m_lblxtruf()
walkToParent()
walkToParent()
m_7567_()
public boolean
gB()
canEatGrass()
method_6762()
m_yghrxdbt()
eatsGrass()
eatsGrass()
m_7559_()
public void
a(bfz arg0, float arg1)
performRangedAttack(LivingEntity arg0, float arg1)
method_7105(class_1309 arg0, float arg1)
m_tmonasak(C_usxaxydn arg0, float arg1)
attack(LivingEntity arg0, float arg1)
attack(LivingEntity arg0, float arg1)
m_6504_(C_524_ p_30763_, float arg1)
public Vec3
cG()
getLeashOffset()
method_29919()
m_gxfczhkq()
getLeashOffset()
getLeashOffset()
m_7939_()