SystemType
Package: com.hypixel.hytale.component
public class SystemType<ECS_TYPE, T extends ISystem<ECS_TYPE>> implements Comparable<SystemType<ECS_TYPE, ?>>A typed handle representing a category of ECS systems. The registry pre-registers system types for the built-in system base classes (TickingSystem, RefSystem, HolderSystem, etc.). Systems are grouped by their SystemType for iteration — for example, the store iterates all systems of the TickingSystem type each tick.
Type Parameters
Section titled “Type Parameters”ECS_TYPE— the store type parameterT— the system interface or base class
Fields
Section titled “Fields”@Nonnullpublic static final SystemType[] EMPTY_ARRAY = new SystemType[0];Methods
Section titled “Methods”@Nonnullpublic ComponentRegistry<ECS_TYPE> getRegistry()public Class<? super T> getTypeClass()public boolean isType(@Nonnull ISystem<ECS_TYPE> system)Returns true if the given system is an instance of this type’s class.
public int getIndex()public void validateRegistry(@Nonnull ComponentRegistry<ECS_TYPE> registry)public void validate()Related Types
Section titled “Related Types”- ComponentRegistry — registers system types and provides accessors for built-in types
- SystemGroup — groups systems for dependency ordering
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.