Class TraderLlamaEntity

All Implemented Interfaces:
RangedAttackMob, JumpingMount, Mount, RideableInventory, Saddleable, InventoryChangedListener, CommandOutput, Nameable, EntityLike

public class TraderLlamaEntity extends LlamaEntity
Mappings:
Namespace Name
official bol
intermediary net/minecraft/class_3986
named net/minecraft/entity/passive/TraderLlamaEntity
  • Field Details

    • despawnDelay

      private int despawnDelay
      Mappings:
      Namespace Name Mixin selector
      official cn Lbol;cn:I
      intermediary field_17716 Lnet/minecraft/class_3986;field_17716:I
      named despawnDelay Lnet/minecraft/entity/passive/TraderLlamaEntity;despawnDelay:I
  • Constructor Details

    • TraderLlamaEntity

      public TraderLlamaEntity(EntityType<? extends TraderLlamaEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbaq;<init>(Lbau;Lcga;)V
      intermediary <init> Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
  • Method Details

    • isTrader

      public boolean isTrader()
      Overrides:
      isTrader in class LlamaEntity
      Mappings:
      Namespace Name Mixin selector
      official gp Lbog;gp()Z
      intermediary method_6807 Lnet/minecraft/class_1501;method_6807()Z
      named isTrader Lnet/minecraft/entity/passive/LlamaEntity;isTrader()Z
    • createChild

      protected LlamaEntity createChild()
      Overrides:
      createChild in class LlamaEntity
      Mappings:
      Namespace Name Mixin selector
      official gu Lbog;gu()Lbog;
      intermediary method_18004 Lnet/minecraft/class_1501;method_18004()Lnet/minecraft/class_1501;
      named createChild Lnet/minecraft/entity/passive/LlamaEntity;createChild()Lnet/minecraft/entity/passive/LlamaEntity;
    • writeCustomDataToNbt

      public void writeCustomDataToNbt(NbtCompound nbt)
      Overrides:
      writeCustomDataToNbt in class LlamaEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lbaq;b(Lpj;)V
      intermediary method_5652 Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
      named writeCustomDataToNbt Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • readCustomDataFromNbt

      public void readCustomDataFromNbt(NbtCompound nbt)
      Overrides:
      readCustomDataFromNbt in class LlamaEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbaq;a(Lpj;)V
      intermediary method_5749 Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
      named readCustomDataFromNbt Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • initGoals

      protected void initGoals()
      Overrides:
      initGoals in class LlamaEntity
      Mappings:
      Namespace Name Mixin selector
      official u Lbbh;u()V
      intermediary method_5959 Lnet/minecraft/class_1308;method_5959()V
      named initGoals Lnet/minecraft/entity/mob/MobEntity;initGoals()V
    • setDespawnDelay

      public void setDespawnDelay(int despawnDelay)
      Mappings:
      Namespace Name Mixin selector
      official x Lbol;x(I)V
      intermediary method_35189 Lnet/minecraft/class_3986;method_35189(I)V
      named setDespawnDelay Lnet/minecraft/entity/passive/TraderLlamaEntity;setDespawnDelay(I)V
    • putPlayerOnBack

      protected void putPlayerOnBack(PlayerEntity player)
      Overrides:
      putPlayerOnBack in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      official e Lbod;e(Lbtf;)V
      intermediary method_6726 Lnet/minecraft/class_1496;method_6726(Lnet/minecraft/class_1657;)V
      named putPlayerOnBack Lnet/minecraft/entity/passive/AbstractHorseEntity;putPlayerOnBack(Lnet/minecraft/entity/player/PlayerEntity;)V
    • tickMovement

      public void tickMovement()
      Overrides:
      tickMovement in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      official w_ Lbbf;w_()V
      intermediary method_6007 Lnet/minecraft/class_1309;method_6007()V
      named tickMovement Lnet/minecraft/entity/LivingEntity;tickMovement()V
    • tryDespawn

      private void tryDespawn()
      Mappings:
      Namespace Name Mixin selector
      official gz Lbol;gz()V
      intermediary method_20501 Lnet/minecraft/class_3986;method_20501()V
      named tryDespawn Lnet/minecraft/entity/passive/TraderLlamaEntity;tryDespawn()V
    • canDespawn

      private boolean canDespawn()
      Mappings:
      Namespace Name Mixin selector
      official gA Lbol;gA()Z
      intermediary method_20502 Lnet/minecraft/class_3986;method_20502()Z
      named canDespawn Lnet/minecraft/entity/passive/TraderLlamaEntity;canDespawn()Z
    • heldByTrader

      private boolean heldByTrader()
      Mappings:
      Namespace Name Mixin selector
      official gB Lbol;gB()Z
      intermediary method_20503 Lnet/minecraft/class_3986;method_20503()Z
      named heldByTrader Lnet/minecraft/entity/passive/TraderLlamaEntity;heldByTrader()Z
    • leashedByPlayer

      private boolean leashedByPlayer()
      Mappings:
      Namespace Name Mixin selector
      official gC Lbol;gC()Z
      intermediary method_20504 Lnet/minecraft/class_3986;method_20504()Z
      named leashedByPlayer Lnet/minecraft/entity/passive/TraderLlamaEntity;leashedByPlayer()Z
    • initialize

      @Nullable public @Nullable EntityData initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable @Nullable EntityData entityData, @Nullable @Nullable NbtCompound entityNbt)
      Overrides:
      initialize in class LlamaEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbbh;a(Lcgp;Lazk;Lbbj;Lbbx;Lpj;)Lbbx;
      intermediary method_5943 Lnet/minecraft/class_1308;method_5943(Lnet/minecraft/class_5425;Lnet/minecraft/class_1266;Lnet/minecraft/class_3730;Lnet/minecraft/class_1315;Lnet/minecraft/class_2487;)Lnet/minecraft/class_1315;
      named initialize Lnet/minecraft/entity/mob/MobEntity;initialize(Lnet/minecraft/world/ServerWorldAccess;Lnet/minecraft/world/LocalDifficulty;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/entity/EntityData;Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/entity/EntityData;