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.
Type Parameters
Section titled “Type Parameters”ECS_TYPE— the store type parameter
Methods
Section titled “Methods”@Nonnullpublic ComponentRegistry<ECS_TYPE> getRegistry()@Nonnullpublic 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()Related Types
Section titled “Related Types”- 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.