BlockPhysicsSystems
Package: com.hypixel.hytale.builtin.blockphysics
public class BlockPhysicsSystemsContains the ECS ticking system and cached accessor for block physics simulation, handling support distance checks and block updates.
Constants
Section titled “Constants”| Type | Name |
|---|---|
int | MAX_SUPPORT_RADIUS |
Key Methods
Section titled “Key Methods”| Modifier | Return Type | Signature |
|---|---|---|
public static | BlockPhysicsSystems.CachedAccessor | of(ComponentAccessor<ChunkStore> commandBuffer, BlockSection blockSection, BlockPhysics section, FluidSection fluidSection, int cx, int cy, int cz, int radius) |
public | BlockPhysics | getBlockPhysics(int cx, int cy, int cz) |
public | FluidSection | getFluidSection(int cx, int cy, int cz) |
public | BlockSection | getBlockSection(int cx, int cy, int cz) |
public | void | performBlockUpdate(int x, int y, int z, int maxSupportDistance) |
public | void | performBlockUpdate(int x, int y, int z) |
public | Query<ChunkStore> | getQuery() |
public | Set<Dependency<ChunkStore>> | getDependencies() |
public | void | tick(float dt, int index, @Nonnull ArchetypeChunk<ChunkStore> archetypeChunk, @Nonnull Store<ChunkStore> store, @Nonnull CommandBuffer<ChunkStore> commandBuffer) |
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.