Package com.hypixel.hytale.builtin.fluid
Class FluidPlugin.PreprocesorAccessor
java.lang.Object
com.hypixel.hytale.builtin.fluid.FluidPlugin.PreprocesorAccessor
- All Implemented Interfaces:
FluidTicker.Accessor
- Enclosing class:
FluidPlugin
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BlockChunkcom.hypixel.hytale.server.core.universe.world.chunk.section.BlockSectionprivate final Holder<ChunkStore>[]longprivate final WorldChunk -
Constructor Summary
ConstructorsConstructorDescriptionPreprocesorAccessor(WorldChunk worldChunk, BlockChunk blockChunk, Holder<ChunkStore>[] sections) -
Method Summary
Modifier and TypeMethodDescriptioncom.hypixel.hytale.server.core.universe.world.chunk.section.BlockSectiongetBlockSection(int cx, int cy, int cz) getFluidSection(int cx, int cy, int cz) voidsetBlock(int x, int y, int z, int blockId) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hypixel.hytale.server.core.asset.type.fluid.FluidTicker.Accessor
getBlockSectionByBlock, getFluidSectionByBlock
-
Field Details
-
worldChunk
-
blockChunk
-
sections
-
tick
public long tick -
blockSection
public com.hypixel.hytale.server.core.universe.world.chunk.section.BlockSection blockSection
-
-
Constructor Details
-
PreprocesorAccessor
public PreprocesorAccessor(WorldChunk worldChunk, BlockChunk blockChunk, Holder<ChunkStore>[] sections)
-
-
Method Details
-
getFluidSection
- Specified by:
getFluidSectionin interfaceFluidTicker.Accessor
-
getBlockSection
@Nullable public com.hypixel.hytale.server.core.universe.world.chunk.section.BlockSection getBlockSection(int cx, int cy, int cz) - Specified by:
getBlockSectionin interfaceFluidTicker.Accessor
-
setBlock
public void setBlock(int x, int y, int z, int blockId) - Specified by:
setBlockin interfaceFluidTicker.Accessor
-