Class Store<ECS_TYPE>

java.lang.Object
com.hypixel.hytale.component.Store<ECS_TYPE>
Type Parameters:
ECS_TYPE - The ECS entity data type.
All Implemented Interfaces:
ComponentAccessor<ECS_TYPE>

public class Store<ECS_TYPE> extends Object implements ComponentAccessor<ECS_TYPE>
A store of components and entities for a specific ComponentRegistry.
  • Field Details

    • EMPTY_ARRAY

      public static final Store[] EMPTY_ARRAY
      An array of stores that represents an empty set.
    • ROOT_PARENT_ID

      public static final int ROOT_PARENT_ID
      The parent id of an entity that no other entity owns and that owns no children. Never allocated to a real entity.
      See Also:
    • OWNER_ROOT_ID

      public static final int OWNER_ROOT_ID
      The parent id of an entity that no other entity owns and that owns children. Never allocated to a real entity.
      See Also:
    • METRICS_REGISTRY

      @Nonnull public static final MetricsRegistry<Store<?>> METRICS_REGISTRY
      The metrics registry for stores.
  • Method Details