Skip to content

ReadWriteQuery

Package: com.hypixel.hytale.component

public class ReadWriteQuery<ECS_TYPE> implements ReadWriteArchetypeQuery<ECS_TYPE>

A query that distinguishes between read-only and read-write component access. Used by the parallel execution system to determine which archetype chunks can be processed concurrently — chunks are safe to process in parallel when systems only read shared components and write to disjoint ones.

public ReadWriteQuery(@Nonnull Archetype<ECS_TYPE> read, @Nonnull Archetype<ECS_TYPE> write)
public Archetype<ECS_TYPE> getReadArchetype()
public Archetype<ECS_TYPE> getWriteArchetype()
  • Archetype — the read and write archetypes
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.