Contents
Class MusicEmitterSystems.PacketSystem
java.lang.Object
com.hypixel.hytale.component.system.System<ChunkStore>
com.hypixel.hytale.component.system.data.ArchetypeDataSystem<ChunkStore, PlayerRef, ToClientPacket>
com.hypixel.hytale.component.system.data.EntityDataSystem<ChunkStore, PlayerRef, ToClientPacket>
com.hypixel.hytale.server.core.universe.world.storage.ChunkStore.LoadPacketDataQuerySystem
com.hypixel.hytale.builtin.audio.systems.MusicEmitterSystems.PacketSystem
- All Implemented Interfaces:
ISystem<ChunkStore>, QuerySystem<ChunkStore>
- Enclosing class:
MusicEmitterSystems
Appends a
SetBlockMusicEmitter add packet for each emitter holder when a player loads
the owning chunk.-
Nested Class Summary
Nested classes/interfaces inherited from class EntityDataSystem
EntityDataSystem.SystemTaskData<ECS_TYPE,Q, R> -
Field Summary
Fields inherited from interface ISystem
EMPTY_ARRAY -
Constructor Summary
ConstructorsConstructorDescriptionPacketSystem(ComponentType<ChunkStore, MusicEmitterBlock> musicEmitterBlockComponentType) -
Method Summary
Modifier and TypeMethodDescriptionvoidfetch(int index, ArchetypeChunk<ChunkStore> archetypeChunk, Store<ChunkStore> store, CommandBuffer<ChunkStore> commandBuffer, PlayerRef player, List<ToClientPacket> results) getQuery()booleanMethods inherited from class EntityDataSystem
doFetch, fetchMethods 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
getDependencies, getGroup, onSystemRegistered, onSystemUnregisteredMethods inherited from interface QuerySystem
getHierarchyScope, test
-
Constructor Details
-
PacketSystem
public PacketSystem(@Nonnull ComponentType<ChunkStore, MusicEmitterBlock> musicEmitterBlockComponentType)
-
-
Method Details
-
getQuery
-
isParallel
public boolean isParallel()- Overrides:
isParallelin classEntityDataSystem<ChunkStore, PlayerRef, ToClientPacket>- Returns:
trueif parallel data fetch is enabled.
-
fetch
public void fetch(int index, @Nonnull ArchetypeChunk<ChunkStore> archetypeChunk, @Nonnull Store<ChunkStore> store, CommandBuffer<ChunkStore> commandBuffer, PlayerRef player, @Nonnull List<ToClientPacket> results) - Specified by:
fetchin classEntityDataSystem<ChunkStore, PlayerRef, ToClientPacket>
-