Class ArchetypeChunkData

java.lang.Object
com.hypixel.hytale.component.metric.ArchetypeChunkData

public class ArchetypeChunkData extends Object
Diagnostic data for an archetype chunk, used in server dumps.
  • Field Details

  • Constructor Details

    • ArchetypeChunkData

      public ArchetypeChunkData()
      Empty Constructor for an ArchetypeChunkData instance.

      Used by the codec to instantiate ArchetypeChunkData instances.

    • ArchetypeChunkData

      public ArchetypeChunkData(@Nonnull String[] componentTypes, int entityCount)
      Default Constructor for an ArchetypeChunkData instance.
      Parameters:
      componentTypes - The component types present in the archetype chunk.
      entityCount - The number of entities in the archetype chunk.
  • Method Details

    • getComponentTypes

      @Nonnull public String[] getComponentTypes()
      Returns:
      the component types present in the archetype chunk.
    • getEntityCount

      public int getEntityCount()
      Returns:
      the number of entities in the archetype chunk.