Class WorldEventType<ECS_TYPE, Event extends EcsEvent>

java.lang.Object
com.hypixel.hytale.component.SystemType<ECS_TYPE, WorldEventSystem<ECS_TYPE,Event>>
com.hypixel.hytale.component.event.EventSystemType<ECS_TYPE, Event, WorldEventSystem<ECS_TYPE,Event>>
com.hypixel.hytale.component.event.WorldEventType<ECS_TYPE,Event>
Type Parameters:
ECS_TYPE - The type of ECS this system type is part of.
Event - The type of event this system type represents.
All Implemented Interfaces:
Comparable<SystemType<ECS_TYPE,?>>

public class WorldEventType<ECS_TYPE, Event extends EcsEvent> extends EventSystemType<ECS_TYPE, Event, WorldEventSystem<ECS_TYPE,Event>>
A system type representing a world event system.
  • Constructor Details

    • WorldEventType

      public WorldEventType(@Nonnull ComponentRegistry<ECS_TYPE> registry, @Nonnull Class<? super WorldEventSystem<ECS_TYPE,Event>> tClass, @Nonnull Class<Event> eClass, int index)
      Default Constructor for a WorldEventType instance.
      Parameters:
      registry - The registry this system type is part of.
      tClass - The class type of the system.
      eClass - The class type of the event.
      index - The index for this system type.