BlockData

public class BlockData

Class BlockData. Provides blockdata functionality for the Hytale server.

java.lang.Object > BlockData

Field Summary

blockId

protected int blockId

Field blockId.

blockType

protected BlockType blockType

Field blockType.

blockTypeKey

protected String blockTypeKey

Field blockTypeKey.

rotation

protected int rotation

Field rotation.

filler

protected int filler

Field filler.

fluidId

protected int fluidId

Field fluidId.

fluid

protected Fluid fluid

Field fluid.

fluidKey

protected String fluidKey

Field fluidKey.

fillHeight

protected double fillHeight

Field fillHeight.

collisionMaterials

protected int collisionMaterials

Field collisionMaterials.

blockBoundingBoxes

protected BlockBoundingBoxes blockBoundingBoxes

Field blockBoundingBoxes.

Method Detail

assign

public void assign (@Nonnull final BlockData other)

Method assign.

Parameters:
@Nonnull final BlockData other

clear

public void clear ()

Method clear.

isFiller

public boolean isFiller ()

Method isFiller.

originX

public int originX (final int x)

Method originX.

Parameters:
final int x

originY

public int originY (final int y)

Method originY.

Parameters:
final int y

originZ

public int originZ (final int z)

Method originZ.

Parameters:
final int z

getFillHeight

public double getFillHeight ()

Method getFillHeight.

isTrigger

public boolean isTrigger ()

Method isTrigger.

getBlockDamage

public int getBlockDamage ()

Method getBlockDamage.

getSubmergeDamage

public int getSubmergeDamage ()

Method getSubmergeDamage.

getCollisionMaterials

public int getCollisionMaterials ()

Method getCollisionMaterials.

getBlockBoundingBoxes

public BlockBoundingBoxes getBlockBoundingBoxes ()

Method getBlockBoundingBoxes.

getBlockType

public BlockType getBlockType ()

Method getBlockType.

getFluidId

public int getFluidId ()

Method getFluidId.

getFluid

public Fluid getFluid ()

Method getFluid.