Class UpdateSleepPacketSystem
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.component.system.tick.DelayedEntitySystem<EntityStore>
com.hypixel.hytale.builtin.beds.sleep.systems.player.UpdateSleepPacketSystem
- All Implemented Interfaces:
ISystem<EntityStore>,QuerySystem<EntityStore>,TickableSystem<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 static final UUID[]static final intprivate static final UpdateSleepStatestatic final Query<EntityStore> static final DurationFields inherited from interface com.hypixel.hytale.component.system.ISystem
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate SleepMultiplayercreateSleepMultiplayer(Store<EntityStore> store) private UpdateSleepStatecreateSleepPacket(Store<EntityStore> store, int index, ArchetypeChunk<EntityStore> archetypeChunk) getQuery()voidtick(float dt, int index, ArchetypeChunk<EntityStore> archetypeChunk, Store<EntityStore> store, CommandBuffer<EntityStore> commandBuffer) Methods inherited from class com.hypixel.hytale.component.system.tick.DelayedEntitySystem
getIntervalSec, getResourceType, tickMethods inherited from class com.hypixel.hytale.component.system.tick.EntityTickingSystem
doTick, isParallel, 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
-
QUERY
-
SPAN_BEFORE_BLACK_SCREEN
-
MAX_SAMPLE_COUNT
public static final int MAX_SAMPLE_COUNT- See Also:
-
EMPTY_UUIDS
-
PACKET_NO_SLEEP_UI
-
-
Constructor Details
-
UpdateSleepPacketSystem
public UpdateSleepPacketSystem()
-
-
Method Details
-
getQuery
-
tick
public void tick(float dt, int index, @NonNullDecl ArchetypeChunk<EntityStore> archetypeChunk, @NonNullDecl Store<EntityStore> store, @NonNullDecl CommandBuffer<EntityStore> commandBuffer) - Specified by:
tickin classEntityTickingSystem<EntityStore>
-
createSleepPacket
private UpdateSleepState createSleepPacket(Store<EntityStore> store, int index, ArchetypeChunk<EntityStore> archetypeChunk) -
createSleepMultiplayer
-