FluidPlugin

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

get

static FluidPlugin get ()

Method get.

FluidPlugin

public public FluidPlugin (@Nonnull final JavaPluginInit init)

Method FluidPlugin.

Parameters:
@Nonnull final JavaPluginInit init

setup

protected void setup ()

Method setup.

FluidCommand

public new FluidCommand ()

Method FluidCommand.

onChunkPreProcess

static void onChunkPreProcess (@Nonnull final ChunkPreLoadProcessEvent event)

Method onChunkPreProcess.

Parameters:
@Nonnull final ChunkPreLoadProcessEvent event

getFluidSection

public FluidSection getFluidSection (final int cx, final int cy, final int cz)

Method getFluidSection.

Parameters:
final int cx
final int cy
final int cz

getBlockSection

public BlockSection getBlockSection (final int cx, final int cy, final int cz)

Method getBlockSection.

Parameters:
final int cx
final int cy
final int cz

setBlock

public void setBlock (final int x, final int y, final int z, final int blockId)

Method setBlock.

Parameters:
final int x
final int y
final int z
final int blockId