net.minecraft.world.entity.animal.horse

public class Llama

extends AbstractChestedHorse implements VariantHolder<Llama$Variant>, RangedAttackMob

All mapped superinterfaces:

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

cke
net.minecraft.world.entity.animal.horse.Llama
net.minecraft.class_1501
net.minecraft.entity.passive.LlamaEntity
net.minecraft.world.entity.animal.horse.EntityLlama

Field summary

Modifier and TypeField
private static final int
bZ
MAX_STRENGTH
field_30425
MAX_STRENGTH
private static final EntityDataAccessor<Integer>
ca
DATA_STRENGTH_ID
field_6998
STRENGTH
private static final EntityDataAccessor<Integer>
cb
DATA_VARIANT_ID
field_6996
VARIANT
private static final EntityDimensions
cd
BABY_DIMENSIONS
field_47808
BABY_BASE_DIMENSIONS
boolean
ce
didSpit
field_6999
spit
private Llama
cf
caravanHead
field_7000
following
private Llama
cg
caravanTail
field_6997
follower

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
gr()
isTraderLlama()
method_6807()
isTrader()
private void
w(int arg0)
setStrength(int arg0)
method_6802(int arg0)
setStrength(int strength)
private void
b(bam arg0)
setRandomStrength(RandomSource arg0)
method_6796(class_5819 arg0)
initializeStrength(Random random)
public int
gs()
getStrength()
method_6803()
getStrength()
public void
b(ux arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(ux arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
protected void
B()
registerGoals()
method_5959()
initGoals()
public static AttributeSupplier$Builder
gA()
createAttributes()
method_26900()
createLlamaAttributes()
protected void
a(alg$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public Llama$Variant
gB()
getVariant()
method_6809()
getVariant()
public void
a(cke$d arg0)
setVariant(Llama$Variant arg0)
method_47874(class_1501$class_7993 arg0)
setVariant(LlamaEntity$Variant arg0)
public boolean
j(cxp arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
protected boolean
a(cpx arg0, cxp arg1)
handleEating(Player arg0, ItemStack arg1)
method_6742(class_1657 arg0, class_1799 arg1)
receiveFood(PlayerEntity arg0, ItemStack arg1)
public boolean
fi()
isImmobile()
method_6062()
isImmobile()
public SpawnGroupData
a(dhz arg0, bth arg1, bvq arg2, bwz arg3)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, EntitySpawnReason 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)
protected boolean
gp()
canPerformRearing()
method_45349()
shouldAmbientStand()
protected SoundEvent
gP()
getAngrySound()
method_6747()
getAngrySound()
protected SoundEvent
u()
getAmbientSound()
method_5994()
getAmbientSound()
protected SoundEvent
e(bua arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
o_()
getDeathSound()
method_6002()
getDeathSound()
protected SoundEvent
gq()
getEatingSound()
method_28368()
getEatSound()
protected void
b(jh arg0, dxv arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
protected void
x()
playChestEquipsSound()
method_6705()
playAddChestSound()
public int
ag_()
getInventoryColumns()
method_6702()
getInventoryColumns()
public boolean
e(bvs arg0)
canUseSlot(EquipmentSlot arg0)
method_56991(class_1304 arg0)
canUseSlot(EquipmentSlot arg0)
public boolean
f()
isSaddleable()
method_6765()
canBeSaddled()
public int
gR()
getMaxTemper()
method_6755()
getMaxTemper()
public boolean
a(chx arg0)
canMate(Animal arg0)
method_6474(class_1429 arg0)
canBreedWith(AnimalEntity arg0)
public Llama
b(ash arg0, bvb arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_6804(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
protected Llama
gC()
makeNewLlama()
method_18004()
createChild()
private void
k(bwg arg0)
spit(LivingEntity arg0)
method_6792(class_1309 arg0)
spitAt(LivingEntity target)
void
E(boolean arg0)
setDidSpit(boolean arg0)
method_6808(boolean arg0)
setSpit(boolean spit)
public boolean
a(float arg0, float arg1, bua arg2)
causeFallDamage(float arg0, float arg1, DamageSource arg2)
method_5747(float arg0, float arg1, class_1282 arg2)
handleFallDamage(float arg0, float arg1, DamageSource arg2)
public void
gD()
leaveCaravan()
method_6797()
stopFollowing()
public void
a(cke arg0)
joinCaravan(Llama arg0)
method_6791(class_1501 arg0)
follow(LlamaEntity llama)
public boolean
gE()
hasCaravanTail()
method_6793()
hasFollower()
public boolean
ha()
inCaravan()
method_6805()
isFollowing()
public Llama
hb()
getCaravanHead()
method_6806()
getFollowing()
protected double
gn()
followLeashSpeed()
method_6148()
getFollowLeashSpeed()
protected void
g(ash arg0)
followMommy(ServerLevel arg0)
method_6746(class_3218 arg0)
walkToParent(ServerWorld arg0)
public boolean
gS()
canEatGrass()
method_6762()
eatsGrass()
public void
a(bwg arg0, float arg1)
performRangedAttack(LivingEntity arg0, float arg1)
method_7105(class_1309 arg0, float arg1)
shootAt(LivingEntity arg0, float arg1)
public Vec3
cT()
getLeashOffset()
method_29919()
getLeashOffset()
public EntityDimensions
e(bws arg0)
getDefaultDimensions(Pose arg0)
method_55694(class_4050 arg0)
getBaseDimensions(EntityPose arg0)
protected Vec3
a(bvk arg0, bvn 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)