类 ItemEntity

所有已实现的接口:
CommandSource, TraceableEntity, EntityAccess, Nameable, ICapabilityProvider, ICapabilityProviderImpl<Entity>, ICapabilitySerializable<CompoundTag>, IForgeEntity, INBTSerializable<CompoundTag>

public class ItemEntity extends Entity implements TraceableEntity
  • 字段详细资料

    • DATA_ITEM

      private static final EntityDataAccessor<ItemStack> DATA_ITEM
    • LIFETIME

      private static final int LIFETIME
      另请参阅:
    • INFINITE_PICKUP_DELAY

      private static final int INFINITE_PICKUP_DELAY
      另请参阅:
    • INFINITE_LIFETIME

      private static final int INFINITE_LIFETIME
      另请参阅:
    • age

      private int age
    • pickupDelay

      private int pickupDelay
    • health

      private int health
    • thrower

      @Nullable private UUID thrower
    • target

      @Nullable private UUID target
    • bobOffs

      public final float bobOffs
    • lifespan

      public int lifespan
      The maximum age of this EntityItem. The item is expired once this is reached.
  • 构造器详细资料

    • ItemEntity

      public ItemEntity(EntityType<? extends ItemEntity> pEntityType, Level pLevel)
    • ItemEntity

      public ItemEntity(Level pLevel, double pPosX, double pPosY, double pPosZ, ItemStack pItemStack)
    • ItemEntity

      public ItemEntity(Level pLevel, double pPosX, double pPosY, double pPosZ, ItemStack pItemStack, double pDeltaX, double pDeltaY, double pDeltaZ)
    • ItemEntity

      private ItemEntity(ItemEntity pOther)
  • 方法详细资料