java.lang.Object
com.hypixel.hytale.server.core.modules.entity.item.ItemComponent
All Implemented Interfaces:
Component<EntityStore>, Cloneable

public class ItemComponent extends Object implements Component<EntityStore>
  • Field Details

    • LOGGER

      @Nonnull private static final com.hypixel.hytale.logger.HytaleLogger LOGGER
    • CODEC

      @Nonnull public static final BuilderCodec<ItemComponent> CODEC
    • DROPPED_ITEM_VERTICAL_BOUNCE_VELOCITY

      private static final float DROPPED_ITEM_VERTICAL_BOUNCE_VELOCITY
      See Also:
    • DROPPED_ITEM_HORIZONTAL_BOUNCE_VELOCITY

      private static final float DROPPED_ITEM_HORIZONTAL_BOUNCE_VELOCITY
      See Also:
    • DEFAULT_PICKUP_DELAY

      public static final float DEFAULT_PICKUP_DELAY
      See Also:
    • PICKUP_DELAY_DROPPED

      public static final float PICKUP_DELAY_DROPPED
      See Also:
    • PICKUP_THROTTLE

      public static final float PICKUP_THROTTLE
      See Also:
    • DEFAULT_MERGE_DELAY

      public static final float DEFAULT_MERGE_DELAY
      See Also:
    • itemStack

      @Nullable private ItemStack itemStack
    • isNetworkOutdated

      private boolean isNetworkOutdated
    • mergeDelay

      private float mergeDelay
    • pickupDelay

      private float pickupDelay
    • pickupThrottle

      private float pickupThrottle
    • removedByPlayerPickup

      private boolean removedByPlayerPickup
    • pickupRange

      private float pickupRange
  • Constructor Details

    • ItemComponent

      public ItemComponent()
    • ItemComponent

      public ItemComponent(@Nullable ItemStack itemStack)
    • ItemComponent

      public ItemComponent(@Nullable ItemStack itemStack, float mergeDelay, float pickupDelay, float pickupThrottle, boolean removedByPlayerPickup)
  • Method Details