Contents
Class MessageSupportSystem<T extends MessageSupport>
java.lang.Object
com.hypixel.hytale.component.system.System<EntityStore>
com.hypixel.hytale.component.system.tick.TickingSystem<EntityStore>
com.hypixel.hytale.component.system.tick.ArchetypeTickingSystem<EntityStore>
com.hypixel.hytale.component.system.tick.EntityTickingSystem<EntityStore>
com.hypixel.hytale.server.npc.systems.SteppableTickingSystem
com.hypixel.hytale.server.npc.systems.MessageSupportSystem<T>
- All Implemented Interfaces:
ISystem<EntityStore>, QuerySystem<EntityStore>, TickableSystem<EntityStore>
- Direct Known Subclasses:
MessageSupportSystem.BeaconSystem, MessageSupportSystem.NPCBlockEventSystem, MessageSupportSystem.NPCEntityEventSystem, MessageSupportSystem.PlayerBlockEventSystem, MessageSupportSystem.PlayerEntityEventSystem
Handles ticking of
MessageSupport classes for NPCs.
Created on 17/11/2020-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA message support system for theBeaconSupportcomponentstatic classA message support system for theNPCBlockEventSupportcomponentstatic classA message support system for theNPCEntityEventSupportcomponentstatic classA message support system for thePlayerBlockEventSupportcomponentstatic classA message support system for thePlayerEntityEventSupportcomponentNested classes/interfaces inherited from class EntityTickingSystem
EntityTickingSystem.SystemTaskData<ECS_TYPE> -
Field Summary
Fields inherited from interface ISystem
EMPTY_ARRAY -
Constructor Summary
ConstructorsConstructorDescriptionMessageSupportSystem(ComponentType<EntityStore, T> messageSupportComponentType, Set<Dependency<EntityStore>> dependencies) Default Constructor for aMessageSupportSysteminstance -
Method Summary
Modifier and TypeMethodDescriptiongetQuery()booleanisParallel(int archetypeChunkSize, int taskCount) voidsteppedTick(float dt, int index, ArchetypeChunk<EntityStore> archetypeChunk, Store<EntityStore> store, CommandBuffer<EntityStore> commandBuffer) The abstract tick method utilised bySteppableTickingSystemclassesMethods inherited from class SteppableTickingSystem
tickMethods inherited from class EntityTickingSystem
doTick, tickMethods inherited from class ArchetypeTickingSystem
isExplicitQuery, test, tickMethods inherited from class System
getComponentRegistrations, getResourceRegistrations, registerResource, registerResourceMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ISystem
getGroup, onSystemRegistered, onSystemUnregisteredMethods inherited from interface QuerySystem
getHierarchyScope
-
Constructor Details
-
MessageSupportSystem
public MessageSupportSystem(@Nonnull ComponentType<EntityStore, T> messageSupportComponentType, @Nonnull Set<Dependency<EntityStore>> dependencies) Default Constructor for aMessageSupportSysteminstance- Parameters:
messageSupportComponentType- TheMessageSupportextending component typedependencies- The dependencies used by this system
-
-
Method Details
-
getDependencies
-
isParallel
public boolean isParallel(int archetypeChunkSize, int taskCount) - Overrides:
isParallelin classEntityTickingSystem<EntityStore>- Returns:
trueif parallel ticking is enabled.- See Also:
-
steppedTick
public void steppedTick(float dt, int index, @Nonnull ArchetypeChunk<EntityStore> archetypeChunk, @Nonnull Store<EntityStore> store, @Nonnull CommandBuffer<EntityStore> commandBuffer) Description copied from class:SteppableTickingSystemThe abstract tick method utilised bySteppableTickingSystemclasses- Specified by:
steppedTickin classSteppableTickingSystem- Parameters:
dt- The delta time of the current tickindex- The index of the entityarchetypeChunk- The archetype chunk for the systemstore- The entity store for component accesscommandBuffer- The entity store command buffer
-
getQuery
-