net.minecraft.world.entity.animal.horse

public class TraderLlama

extends Llama

All mapped superinterfaces:

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

ckj
net.minecraft.world.entity.animal.horse.TraderLlama
net.minecraft.class_3986
net.minecraft.entity.passive.TraderLlamaEntity
net.minecraft.world.entity.animal.horse.EntityLlamaTrader

Field summary

Modifier and TypeField
private int
bZ
despawnDelay
field_17716
despawnDelay

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
gr()
isTraderLlama()
method_6807()
isTrader()
protected Llama
gC()
makeNewLlama()
method_18004()
createChild()
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 void
w(int arg0)
setDespawnDelay(int arg0)
method_35189(int arg0)
setDespawnDelay(int despawnDelay)
protected void
a(cpx arg0)
doPlayerRide(Player arg0)
method_6726(class_1657 arg0)
putPlayerOnBack(PlayerEntity arg0)
public void
d_()
aiStep()
method_6007()
tickMovement()
private void
hd()
maybeDespawn()
method_20501()
tryDespawn()
private boolean
he()
canDespawn()
method_20502()
canDespawn()
private boolean
hf()
isLeashedToWanderingTrader()
method_20503()
heldByTrader()
private boolean
hg()
isLeashedToSomethingOtherThanTheWanderingTrader()
method_20504()
leashedByPlayer()
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)