net.minecraft.world.entity.animal.horse

public class Llama

extends AbstractChestedHorse implements VariantHolder<Llama$Variant>, RangedAttackMob

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, CommandSource, ScoreHolder, Attackable, EquipmentUser, Leashable, Targeting, ContainerListener, HasCustomInventoryScreen, OwnableEntity, PlayerRideableJumping, PlayerRideable, Saddleable, VariantHolder, RangedAttackMob

chl
net.minecraft.world.entity.animal.horse.Llama
net.minecraft.class_1501
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
cc
MAX_STRENGTH
field_30425
MAX_STRENGTH
f_149535_
private static final EntityDataAccessor<Integer>
cd
DATA_STRENGTH_ID
field_6998
STRENGTH
f_30745_
private static final EntityDataAccessor<Integer>
ce
DATA_VARIANT_ID
field_6996
VARIANT
f_30747_
private static final EntityDimensions
cg
BABY_DIMENSIONS
field_47808
BABY_BASE_DIMENSIONS
f_314884_
boolean
ch
didSpit
field_6999
spit
f_30741_
private Llama
ci
caravanHead
field_7000
following
f_30742_
private Llama
cj
caravanTail
field_6997
follower
f_30743_

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
gn()
isTraderLlama()
method_6807()
isTrader()
m_7565_()
private void
x(int arg0)
setStrength(int arg0)
method_6802(int arg0)
setStrength(int strength)
m_30840_(int arg0)
private void
b(ayw arg0)
setRandomStrength(RandomSource arg0)
method_6796(class_5819 arg0)
initializeStrength(Random random)
m_218817_(C_212974_ arg0)
public int
go()
getStrength()
method_6803()
getStrength()
m_30823_()
public void
b(ub arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(ub arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
protected void
B()
registerGoals()
method_5959()
initGoals()
m_8099_()
public static AttributeSupplier$Builder
gu()
createAttributes()
method_26900()
createLlamaAttributes()
m_30824_()
protected void
a(aka$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
public Llama$Variant
gv()
getVariant()
method_6809()
getVariant()
m_28554_()
public void
a(chl$d arg0)
setVariant(Llama$Variant arg0)
method_47874(class_1501$class_7993 arg0)
setVariant(LlamaEntity$Variant arg0)
m_28464_(C_930_$C_262192_ arg0)
public boolean
o(cuq arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
m_6898_(C_1391_ arg0)
protected boolean
a(cmx arg0, cuq arg1)
handleEating(Player arg0, ItemStack arg1)
method_6742(class_1657 arg0, class_1799 arg1)
receiveFood(PlayerEntity arg0, ItemStack arg1)
m_5994_(C_1141_ p_30797_, C_1391_ arg1)
public boolean
fc()
isImmobile()
method_6062()
isImmobile()
m_6107_()
public SpawnGroupData
a(ddl arg0, bqp arg1, btr arg2, buh arg3)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, MobSpawnType arg2, SpawnGroupData arg3)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
m_6518_(C_1618_ p_30775_, C_469_ p_30776_, C_529_ p_30777_, C_542_ arg3)
protected boolean
gl()
canPerformRearing()
method_45349()
shouldAmbientStand()
m_245259_()
protected SoundEvent
gJ()
getAngrySound()
method_6747()
getAngrySound()
m_7871_()
protected SoundEvent
v()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
protected SoundEvent
d(brk arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
n_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
protected SoundEvent
gm()
getEatingSound()
method_28368()
getEatSound()
m_7872_()
protected void
b(jd arg0, dtc arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
m_7355_(C_4675_ p_30791_, C_2064_ arg1)
protected void
x()
playChestEquipsSound()
method_6705()
playAddChestSound()
m_7609_()
public int
af_()
getInventoryColumns()
method_6702()
getInventoryColumns()
m_7488_()
public boolean
d(bsy arg0)
canUseSlot(EquipmentSlot arg0)
method_56991(class_1304 arg0)
canUseSlot(EquipmentSlot arg0)
m_30729_(C_516_ arg0)
public boolean
l(cuq arg0)
isBodyArmorItem(ItemStack arg0)
method_6773(class_1799 arg0)
isHorseArmor(ItemStack arg0)
m_30833_(C_1391_ arg0)
public boolean
f()
isSaddleable()
method_6765()
canBeSaddled()
m_6741_()
private static DyeColor
n(cuq arg0)
getDyeColor(ItemStack arg0)
method_6794(class_1799 arg0)
getColorFromCarpet(ItemStack color)
m_30835_(C_1391_ p_30836_)
public DyeColor
gw()
getSwag()
method_6800()
getCarpetColor()
m_30826_()
public int
gL()
getMaxTemper()
method_6755()
getMaxTemper()
m_7555_()
public boolean
a(cfe arg0)
canMate(Animal arg0)
method_6474(class_1429 arg0)
canBreedWith(AnimalEntity arg0)
m_7848_(C_801_ arg0)
public Llama
b(aqu arg0, bsl arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_6804(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
m_142606_(C_12_ p_149546_, C_141062_ arg1)
protected Llama
gx()
makeNewLlama()
method_18004()
createChild()
m_7127_()
private void
k(btn arg0)
spit(LivingEntity arg0)
method_6792(class_1309 arg0)
spitAt(LivingEntity target)
m_30827_(C_524_ arg0)
void
E(boolean arg0)
setDidSpit(boolean arg0)
method_6808(boolean arg0)
setSpit(boolean spit)
m_30752_(boolean arg0)
public boolean
a(float arg0, float arg1, brk arg2)
causeFallDamage(float arg0, float arg1, DamageSource arg2)
method_5747(float arg0, float arg1, class_1282 arg2)
handleFallDamage(float arg0, float arg1, DamageSource arg2)
m_142535_(float p_149539_, float p_149540_, C_489_ arg2)
public void
gy()
leaveCaravan()
method_6797()
stopFollowing()
m_30809_()
public void
a(chl arg0)
joinCaravan(Llama arg0)
method_6791(class_1501 arg0)
follow(LlamaEntity llama)
m_30766_(C_930_ arg0)
public boolean
gV()
hasCaravanTail()
method_6793()
hasFollower()
m_30810_()
public boolean
gW()
inCaravan()
method_6805()
isFollowing()
m_30811_()
public Llama
gX()
getCaravanHead()
method_6806()
getFollowing()
m_30812_()
protected double
gj()
followLeashSpeed()
method_6148()
getFollowLeashSpeed()
m_5823_()
protected void
gM()
followMommy()
method_6746()
walkToParent()
m_7567_()
public boolean
gN()
canEatGrass()
method_6762()
eatsGrass()
m_7559_()
public void
a(btn arg0, float arg1)
performRangedAttack(LivingEntity arg0, float arg1)
method_7105(class_1309 arg0, float arg1)
shootAt(LivingEntity arg0, float arg1)
m_6504_(C_524_ p_30763_, float arg1)
public Vec3
cM()
getLeashOffset()
method_29919()
getLeashOffset()
m_7939_()
public EntityDimensions
e(bua arg0)
getDefaultDimensions(Pose arg0)
method_55694(class_4050 arg0)
getBaseDimensions(EntityPose arg0)
m_31586_(C_535_ arg0)
protected Vec3
a(bsr arg0, bsu arg1, float arg2)
getPassengerAttachmentPoint(Entity arg0, EntityDimensions arg1, float arg2)
method_52533(class_1297 arg0, class_4048 arg1, float arg2)
getPassengerAttachmentPos(Entity arg0, EntityDimensions arg1, float arg2)
m_293035_(C_507_ p_300390_, C_510_ p_300878_, float arg2)