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

cjg
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
bY
MAX_STRENGTH
field_30425
MAX_STRENGTH
private static final EntityDataAccessor<Integer>
bZ
DATA_STRENGTH_ID
field_6998
STRENGTH
private static final EntityDataAccessor<Integer>
ca
DATA_VARIANT_ID
field_6996
VARIANT
private static final EntityDimensions
cc
BABY_DIMENSIONS
field_47808
BABY_BASE_DIMENSIONS
boolean
cd
didSpit
field_6999
spit
private Llama
ce
caravanHead
field_7000
following
private Llama
cf
caravanTail
field_6997
follower

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
gv()
isTraderLlama()
method_6807()
isTrader()
private void
w(int arg0)
setStrength(int arg0)
method_6802(int arg0)
setStrength(int strength)
private void
b(azh arg0)
setRandomStrength(RandomSource arg0)
method_6796(class_5819 arg0)
initializeStrength(Random random)
public int
gw()
getStrength()
method_6803()
getStrength()
public void
b(tq arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(tq arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
protected void
E()
registerGoals()
method_5959()
initGoals()
public static AttributeSupplier$Builder
gE()
createAttributes()
method_26900()
createLlamaAttributes()
protected void
a(akc$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public Llama$Variant
gF()
getVariant()
method_6809()
getVariant()
public void
a(cjg$d arg0)
setVariant(Llama$Variant arg0)
method_47874(class_1501$class_7993 arg0)
setVariant(LlamaEntity$Variant arg0)
public boolean
j(cwq arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
protected boolean
a(coy arg0, cwq 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(dha arg0, bsj arg1, bus arg2, bwb 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
gt()
canPerformRearing()
method_45349()
shouldAmbientStand()
protected SoundEvent
gT()
getAngrySound()
method_6747()
getAngrySound()
protected SoundEvent
u()
getAmbientSound()
method_5994()
getAmbientSound()
protected SoundEvent
e(btc arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
o_()
getDeathSound()
method_6002()
getDeathSound()
protected SoundEvent
gu()
getEatingSound()
method_28368()
getEatSound()
protected void
b(ji arg0, dwy 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
af_()
getInventoryColumns()
method_6702()
getInventoryColumns()
public boolean
e(buu arg0)
canUseSlot(EquipmentSlot arg0)
method_56991(class_1304 arg0)
canUseSlot(EquipmentSlot arg0)
public boolean
f()
isSaddleable()
method_6765()
canBeSaddled()
public int
gV()
getMaxTemper()
method_6755()
getMaxTemper()
public boolean
a(cgz arg0)
canMate(Animal arg0)
method_6474(class_1429 arg0)
canBreedWith(AnimalEntity arg0)
public Llama
b(ard arg0, bud arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_6804(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
protected Llama
gG()
makeNewLlama()
method_18004()
createChild()
private void
k(bvi 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, btc 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
gH()
leaveCaravan()
method_6797()
stopFollowing()
public void
a(cjg arg0)
joinCaravan(Llama arg0)
method_6791(class_1501 arg0)
follow(LlamaEntity llama)
public boolean
gI()
hasCaravanTail()
method_6793()
hasFollower()
public boolean
he()
inCaravan()
method_6805()
isFollowing()
public Llama
hf()
getCaravanHead()
method_6806()
getFollowing()
protected double
gr()
followLeashSpeed()
method_6148()
getFollowLeashSpeed()
protected void
g(ard arg0)
followMommy(ServerLevel arg0)
method_6746(class_3218 arg0)
walkToParent(ServerWorld arg0)
public boolean
gW()
canEatGrass()
method_6762()
eatsGrass()
public void
a(bvi 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(bvu arg0)
getDefaultDimensions(Pose arg0)
method_55694(class_4050 arg0)
getBaseDimensions(EntityPose arg0)
protected Vec3
a(bum arg0, bup 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)