public class FluidPlugin extends JavaPlugin
The main plugin class for Fluid. This plugin provides gameplay features for the Hytale server. Extend this class to create a plugin.
java.lang.Object > JavaPlugin > FluidPlugin
Field Summary
wc
final
WorldChunk
wc
Field wc.
holder
final
Holder
holder
Field holder.
column
final
ChunkColumn
column
Field column.
blockChunk
final
BlockChunk
blockChunk
Field blockChunk.
sections
final
Holder[]
sections
Field sections.
section
final
Holder
section
Field section.
fluid
final
FluidSection
fluid
Field fluid.
blockSection
final
BlockSection
blockSection
Field blockSection.
fluidId
final
int
fluidId
Field fluidId.
fluidType
final
Fluid
fluidType
Field fluidType.
ticker
final
FluidTicker
ticker
Field ticker.
fluidSection2
final
FluidSection
fluidSection2
Field fluidSection2.
accessor
final
PreprocesorAccessor
accessor
Field accessor.
section2
final
Holder
section2
Field section2.
fluidSection3
final
FluidSection
fluidSection3
Field fluidSection3.
blockSection2
final
BlockSection
blockSection2
Field blockSection2.
preprocesorAccessor
final
PreprocesorAccessor
preprocesorAccessor
Field preprocesorAccessor.
fluidId2
final
int
fluidId2
Field fluidId2.
fluid2
final
Fluid
fluid2
Field fluid2.
blockX
final
int
blockX
Field blockX.
blockY
final
int
blockY
Field blockY.
blockZ
final
int
blockZ
Field blockZ.
tick
public
long
tick
Field tick.
Method Detail
setup
protected
void
setup
()
Method setup.
FluidCommand
public
new
FluidCommand
()
Method FluidCommand.
onChunkPreProcess
Method onChunkPreProcess.
- Parameters:
@Nonnull final ChunkPreLoadProcessEventevent
getFluidSection
Method getFluidSection.
- Parameters:
final intcxfinal intcyfinal intcz
getBlockSection
Method getBlockSection.
- Parameters:
final intcxfinal intcyfinal intcz
setBlock
public
void
setBlock
(final int x, final int y, final int z, final int blockId)
Method setBlock.
- Parameters:
final intxfinal intyfinal intzfinal intblockId