Class BuilderToolsPlugin.CachedAccessor
java.lang.Object
com.hypixel.hytale.server.core.universe.world.chunk.AbstractCachedAccessor
com.hypixel.hytale.builtin.buildertools.BuilderToolsPlugin.CachedAccessor
- Enclosing class:
BuilderToolsPlugin
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate static final intprivate static final intprivate static final ThreadLocal<BuilderToolsPlugin.CachedAccessor> Fields inherited from class com.hypixel.hytale.server.core.universe.world.chunk.AbstractCachedAccessor
commandBuffer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBlockPhysics(int cx, int cy, int cz) com.hypixel.hytale.server.core.universe.world.chunk.section.BlockSectiongetBlockSection(int cx, int cy, int cz) getFluidSection(int cx, int cy, int cz) of(ComponentAccessor<ChunkStore> accessor, int cx, int cy, int cz, int radius) Methods inherited from class com.hypixel.hytale.server.core.universe.world.chunk.AbstractCachedAccessor
getChunk, getComponentSection, getSection, init, insertSection, insertSectionComponent
-
Field Details
-
THREAD_LOCAL
-
FLUID_COMPONENT
private static final int FLUID_COMPONENT- See Also:
-
PHYSICS_COMPONENT
private static final int PHYSICS_COMPONENT- See Also:
-
BLOCKS_COMPONENT
private static final int BLOCKS_COMPONENT- See Also:
-
-
Constructor Details
-
CachedAccessor
public CachedAccessor()
-
-
Method Details
-
of
@Nonnull public static BuilderToolsPlugin.CachedAccessor of(ComponentAccessor<ChunkStore> accessor, int cx, int cy, int cz, int radius) -
getFluidSection
-
getBlockPhysics
-
getBlockSection
@Nullable public com.hypixel.hytale.server.core.universe.world.chunk.section.BlockSection getBlockSection(int cx, int cy, int cz)
-