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

cjl
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
bY
despawnDelay
field_17716
despawnDelay

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
gv()
isTraderLlama()
method_6807()
isTrader()
protected Llama
gG()
makeNewLlama()
method_18004()
createChild()
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 void
w(int arg0)
setDespawnDelay(int arg0)
method_35189(int arg0)
setDespawnDelay(int despawnDelay)
protected void
a(coy arg0)
doPlayerRide(Player arg0)
method_6726(class_1657 arg0)
putPlayerOnBack(PlayerEntity arg0)
public void
d_()
aiStep()
method_6007()
tickMovement()
private void
hh()
maybeDespawn()
method_20501()
tryDespawn()
private boolean
hi()
canDespawn()
method_20502()
canDespawn()
private boolean
hj()
isLeashedToWanderingTrader()
method_20503()
heldByTrader()
private boolean
hk()
isLeashedToSomethingOtherThanTheWanderingTrader()
method_20504()
leashedByPlayer()
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)