Class Ref<ECS_TYPE>

java.lang.Object
com.hypixel.hytale.component.Ref<ECS_TYPE>

public class Ref<ECS_TYPE> extends Object
Used to reference an entity by a system external to the component data chunks.
  • Field Details

    • EMPTY_ARRAY

      public static final Ref<?>[] EMPTY_ARRAY
  • Constructor Details

  • Method Details

    • getStore

      @Nonnull public Store<ECS_TYPE> getStore()
    • getIndex

      public int getIndex()
    • validate

      public int validate(@Nonnull Store<ECS_TYPE> store)
    • validate

      public void validate()
    • isValid

      public boolean isValid()
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class Object