Skip to content

SystemGroup

Package: com.hypixel.hytale.component

public class SystemGroup<ECS_TYPE> implements Comparable<SystemGroup<ECS_TYPE>>

Groups systems for dependency-based execution ordering. Systems can declare a group via getGroup(), and groups can declare dependencies on other groups, system types, or individual systems. The ComponentRegistry uses these dependencies to compute a topological sort for system execution.

  • ECS_TYPE — the store type parameter
@Nonnull
public ComponentRegistry<ECS_TYPE> getRegistry()
@Nonnull
public Set<Dependency<ECS_TYPE>> getDependencies()

Returns the set of dependencies declared for this group.

public int getIndex()
public void validateRegistry(@Nonnull ComponentRegistry<ECS_TYPE> registry)
public void validate()
  • SystemType — categorizes systems by base class
  • Dependency — expresses ordering constraints between groups, types, and systems
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.