Skip to content

BlockPhysicsSystems

Package: com.hypixel.hytale.builtin.blockphysics

public class BlockPhysicsSystems

Contains the ECS ticking system and cached accessor for block physics simulation, handling support distance checks and block updates.

TypeName
intMAX_SUPPORT_RADIUS
ModifierReturn TypeSignature
public staticBlockPhysicsSystems.CachedAccessorof(ComponentAccessor<ChunkStore> commandBuffer, BlockSection blockSection, BlockPhysics section, FluidSection fluidSection, int cx, int cy, int cz, int radius)
publicBlockPhysicsgetBlockPhysics(int cx, int cy, int cz)
publicFluidSectiongetFluidSection(int cx, int cy, int cz)
publicBlockSectiongetBlockSection(int cx, int cy, int cz)
publicvoidperformBlockUpdate(int x, int y, int z, int maxSupportDistance)
publicvoidperformBlockUpdate(int x, int y, int z)
publicQuery<ChunkStore>getQuery()
publicSet<Dependency<ChunkStore>>getDependencies()
publicvoidtick(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.