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
clear
public
void
clear
()
Method clear.
isFiller
public
boolean
isFiller
()
Method isFiller.
originX
public
int
originX
(final int x)
Method originX.
- Parameters:
final intx
originY
public
int
originY
(final int y)
Method originY.
- Parameters:
final inty
originZ
public
int
originZ
(final int z)
Method originZ.
- Parameters:
final intz
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
Method getBlockBoundingBoxes.
getFluidId
public
int
getFluidId
()
Method getFluidId.