Class ItemEntity

java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.ItemEntity

public class ItemEntity extends Entity
Mappings:
Namespace Name
official vv
intermediary net/minecraft/class_964
named net/minecraft/entity/ItemEntity
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official d Lvv;d:Lorg/apache/logging/log4j/Logger;
      intermediary field_9120 Lnet/minecraft/class_964;field_9120:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/entity/ItemEntity;LOGGER:Lorg/apache/logging/log4j/Logger;
    • age

      public int age
      Mappings:
      Namespace Name Mixin selector
      official a Lvv;a:I
      intermediary field_3893 Lnet/minecraft/class_964;field_3893:I
      named age Lnet/minecraft/entity/ItemEntity;age:I
    • pickupDelay

      public int pickupDelay
      Mappings:
      Namespace Name Mixin selector
      official b Lvv;b:I
      intermediary field_3894 Lnet/minecraft/class_964;field_3894:I
      named pickupDelay Lnet/minecraft/entity/ItemEntity;pickupDelay:I
    • health

      private int health
      Mappings:
      Namespace Name Mixin selector
      official e Lvv;e:I
      intermediary field_3896 Lnet/minecraft/class_964;field_3896:I
      named health Lnet/minecraft/entity/ItemEntity;health:I
    • thrower

      private String thrower
      Mappings:
      Namespace Name Mixin selector
      official f Lvv;f:Ljava/lang/String;
      intermediary field_9121 Lnet/minecraft/class_964;field_9121:Ljava/lang/String;
      named thrower Lnet/minecraft/entity/ItemEntity;thrower:Ljava/lang/String;
    • owner

      private String owner
      Mappings:
      Namespace Name Mixin selector
      official g Lvv;g:Ljava/lang/String;
      intermediary field_9122 Lnet/minecraft/class_964;field_9122:Ljava/lang/String;
      named owner Lnet/minecraft/entity/ItemEntity;owner:Ljava/lang/String;
    • hoverHeight

      public float hoverHeight
      Mappings:
      Namespace Name Mixin selector
      official c Lvv;c:F
      intermediary field_3895 Lnet/minecraft/class_964;field_3895:F
      named hoverHeight Lnet/minecraft/entity/ItemEntity;hoverHeight:F
  • Constructor Details

    • ItemEntity

      public ItemEntity(World world, double x, double y, double z)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lvv;<init>(Lafm;DDD)V
      intermediary <init> Lnet/minecraft/class_964;<init>(Lnet/minecraft/class_1150;DDD)V
      named <init> Lnet/minecraft/entity/ItemEntity;<init>(Lnet/minecraft/world/World;DDD)V
    • ItemEntity

      public ItemEntity(World world, double x, double y, double z, ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lvv;<init>(Lafm;DDDLabo;)V
      intermediary <init> Lnet/minecraft/class_964;<init>(Lnet/minecraft/class_1150;DDDLnet/minecraft/class_1071;)V
      named <init> Lnet/minecraft/entity/ItemEntity;<init>(Lnet/minecraft/world/World;DDDLnet/minecraft/item/ItemStack;)V
    • ItemEntity

      public ItemEntity(World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lqm;<init>(Lafm;)V
      intermediary <init> Lnet/minecraft/class_864;<init>(Lnet/minecraft/class_1150;)V
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
  • Method Details

    • canClimb

      protected boolean canClimb()
      Overrides:
      canClimb in class Entity
      Mappings:
      Namespace Name Mixin selector
      official g_ Lqm;g_()Z
      intermediary method_2549 Lnet/minecraft/class_864;method_2549()Z
      named canClimb Lnet/minecraft/entity/Entity;canClimb()Z
    • initDataTracker

      protected void initDataTracker()
      Specified by:
      initDataTracker in class Entity
      Mappings:
      Namespace Name Mixin selector
      official c Lqm;c()V
      intermediary method_2484 Lnet/minecraft/class_864;method_2484()V
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker()V
    • tick

      public void tick()
      Overrides:
      tick in class Entity
      Mappings:
      Namespace Name Mixin selector
      official h Lqm;h()V
      intermediary method_2558 Lnet/minecraft/class_864;method_2558()V
      named tick Lnet/minecraft/entity/Entity;tick()V
    • tryMerge

      private void tryMerge()
      Mappings:
      Namespace Name Mixin selector
      official k Lvv;k()V
      intermediary method_4549 Lnet/minecraft/class_964;method_4549()V
      named tryMerge Lnet/minecraft/entity/ItemEntity;tryMerge()V
    • tryMerge

      public boolean tryMerge(ItemEntity other)
      Mappings:
      Namespace Name Mixin selector
      official a Lvv;a(Lvv;)Z
      intermediary method_3057 Lnet/minecraft/class_964;method_3057(Lnet/minecraft/class_964;)Z
      named tryMerge Lnet/minecraft/entity/ItemEntity;tryMerge(Lnet/minecraft/entity/ItemEntity;)Z
    • method_3058

      public void method_3058()
      Mappings:
      Namespace Name Mixin selector
      official e Lvv;e()V
      intermediary method_3058 Lnet/minecraft/class_964;method_3058()V
      named method_3058 Lnet/minecraft/entity/ItemEntity;method_3058()V
    • updateWaterState

      public boolean updateWaterState()
      Overrides:
      updateWaterState in class Entity
      Mappings:
      Namespace Name Mixin selector
      official N Lqm;N()Z
      intermediary method_2468 Lnet/minecraft/class_864;method_2468()Z
      named updateWaterState Lnet/minecraft/entity/Entity;updateWaterState()Z
    • burn

      protected void burn(int time)
      Overrides:
      burn in class Entity
      Mappings:
      Namespace Name Mixin selector
      official f Lqm;f(I)V
      intermediary method_2546 Lnet/minecraft/class_864;method_2546(I)V
      named burn Lnet/minecraft/entity/Entity;burn(I)V
    • damage

      public boolean damage(DamageSource source, float amount)
      Overrides:
      damage in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lqm;a(Lqa;F)Z
      intermediary method_2499 Lnet/minecraft/class_864;method_2499(Lnet/minecraft/class_856;F)Z
      named damage Lnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
    • writeCustomDataToNbt

      public void writeCustomDataToNbt(NbtCompound nbt)
      Specified by:
      writeCustomDataToNbt in class Entity
      Mappings:
      Namespace Name Mixin selector
      official b Lqm;b(Ldg;)V
      intermediary method_2528 Lnet/minecraft/class_864;method_2528(Lnet/minecraft/class_322;)V
      named writeCustomDataToNbt Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • readCustomDataFromNbt

      public void readCustomDataFromNbt(NbtCompound nbt)
      Specified by:
      readCustomDataFromNbt in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lqm;a(Ldg;)V
      intermediary method_2498 Lnet/minecraft/class_864;method_2498(Lnet/minecraft/class_322;)V
      named readCustomDataFromNbt Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • onPlayerCollision

      public void onPlayerCollision(PlayerEntity player)
      Overrides:
      onPlayerCollision in class Entity
      Mappings:
      Namespace Name Mixin selector
      official b_ Lqm;b_(Lxk;)V
      intermediary method_2530 Lnet/minecraft/class_864;method_2530(Lnet/minecraft/class_988;)V
      named onPlayerCollision Lnet/minecraft/entity/Entity;onPlayerCollision(Lnet/minecraft/entity/player/PlayerEntity;)V
    • getTranslatedName

      public String getTranslatedName()
      Overrides:
      getTranslatedName in class Entity
      Mappings:
      Namespace Name Mixin selector
      official b_ Lqm;b_()Ljava/lang/String;
      intermediary method_2518 Lnet/minecraft/class_864;method_2518()Ljava/lang/String;
      named getTranslatedName Lnet/minecraft/entity/Entity;getTranslatedName()Ljava/lang/String;
    • isAttackable

      public boolean isAttackable()
      Overrides:
      isAttackable in class Entity
      Mappings:
      Namespace Name Mixin selector
      official av Lqm;av()Z
      intermediary method_2521 Lnet/minecraft/class_864;method_2521()Z
      named isAttackable Lnet/minecraft/entity/Entity;isAttackable()Z
    • teleportToDimension

      public void teleportToDimension(int dimensionId)
      Overrides:
      teleportToDimension in class Entity
      Mappings:
      Namespace Name Mixin selector
      official b Lqm;b(I)V
      intermediary method_3197 Lnet/minecraft/class_864;method_3197(I)V
      named teleportToDimension Lnet/minecraft/entity/Entity;teleportToDimension(I)V
    • getItemStack

      public ItemStack getItemStack()
      Mappings:
      Namespace Name Mixin selector
      official f Lvv;f()Labo;
      intermediary method_8399 Lnet/minecraft/class_964;method_8399()Lnet/minecraft/class_1071;
      named getItemStack Lnet/minecraft/entity/ItemEntity;getItemStack()Lnet/minecraft/item/ItemStack;
    • setItemStack

      public void setItemStack(ItemStack itemStack)
      Mappings:
      Namespace Name Mixin selector
      official a Lvv;a(Labo;)V
      intermediary method_4547 Lnet/minecraft/class_964;method_4547(Lnet/minecraft/class_1071;)V
      named setItemStack Lnet/minecraft/entity/ItemEntity;setItemStack(Lnet/minecraft/item/ItemStack;)V
    • getOwner

      public String getOwner()
      Mappings:
      Namespace Name Mixin selector
      official i Lvv;i()Ljava/lang/String;
      intermediary method_8400 Lnet/minecraft/class_964;method_8400()Ljava/lang/String;
      named getOwner Lnet/minecraft/entity/ItemEntity;getOwner()Ljava/lang/String;
    • setOwner

      public void setOwner(String owner)
      Mappings:
      Namespace Name Mixin selector
      official a Lvv;a(Ljava/lang/String;)V
      intermediary method_8397 Lnet/minecraft/class_964;method_8397(Ljava/lang/String;)V
      named setOwner Lnet/minecraft/entity/ItemEntity;setOwner(Ljava/lang/String;)V
    • getThrower

      public String getThrower()
      Mappings:
      Namespace Name Mixin selector
      official j Lvv;j()Ljava/lang/String;
      intermediary method_8401 Lnet/minecraft/class_964;method_8401()Ljava/lang/String;
      named getThrower Lnet/minecraft/entity/ItemEntity;getThrower()Ljava/lang/String;
    • setThrower

      public void setThrower(String thrower)
      Mappings:
      Namespace Name Mixin selector
      official b Lvv;b(Ljava/lang/String;)V
      intermediary method_8398 Lnet/minecraft/class_964;method_8398(Ljava/lang/String;)V
      named setThrower Lnet/minecraft/entity/ItemEntity;setThrower(Ljava/lang/String;)V