Class PlayerSavingSystems.TickingSystem
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.core.modules.entity.player.PlayerSavingSystems.TickingSystem
- All Implemented Interfaces:
ISystem<EntityStore>,QuerySystem<EntityStore>,RunWhenPausedSystem<EntityStore>,TickableSystem<EntityStore>
- Enclosing class:
PlayerSavingSystems
public static class PlayerSavingSystems.TickingSystem
extends EntityTickingSystem<EntityStore>
implements RunWhenPausedSystem<EntityStore>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.hypixel.hytale.component.system.tick.EntityTickingSystem
EntityTickingSystem.SystemTaskData<ECS_TYPE> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ResourceType<EntityStore, PlayerSavingSystems.SaveDataResource> private final ComponentType<EntityStore, HeadRotation> private final ComponentType<EntityStore, Player> private final Query<EntityStore> private final ComponentType<EntityStore, TransformComponent> Fields inherited from interface com.hypixel.hytale.component.system.ISystem
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetQuery()booleanisParallel(int archetypeChunkSize, int taskCount) voidtick(float dt, int index, ArchetypeChunk<EntityStore> archetypeChunk, Store<EntityStore> store, CommandBuffer<EntityStore> commandBuffer) voidtick(float dt, int systemIndex, Store<EntityStore> store) Methods inherited from class com.hypixel.hytale.component.system.tick.EntityTickingSystem
doTick, maybeUseParallel, tick, useParallelMethods inherited from class com.hypixel.hytale.component.system.tick.ArchetypeTickingSystem
isExplicitQuery, testMethods inherited from class com.hypixel.hytale.component.system.System
getComponentRegistrations, getResourceRegistrations, registerComponent, registerComponent, registerComponent, registerResource, registerResourceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hypixel.hytale.component.system.ISystem
getDependencies, getGroup, onSystemRegistered, onSystemUnregistered
-
Field Details
-
dataResourceType
@Nonnull private final ResourceType<EntityStore,PlayerSavingSystems.SaveDataResource> dataResourceType -
playerComponentType
-
transformComponentType
-
headRotationComponentType
-
query
-
-
Constructor Details
-
TickingSystem
-
-
Method Details
-
getQuery
- Specified by:
getQueryin interfaceQuerySystem<EntityStore>
-
isParallel
public boolean isParallel(int archetypeChunkSize, int taskCount) - Overrides:
isParallelin classEntityTickingSystem<EntityStore>
-
tick
- Specified by:
tickin interfaceTickableSystem<EntityStore>- Overrides:
tickin classArchetypeTickingSystem<EntityStore>
-
tick
public void tick(float dt, int index, @Nonnull ArchetypeChunk<EntityStore> archetypeChunk, @Nonnull Store<EntityStore> store, @Nonnull CommandBuffer<EntityStore> commandBuffer) - Specified by:
tickin classEntityTickingSystem<EntityStore>
-