Class BlockData
java.lang.Object
com.hypixel.hytale.server.core.modules.collision.BlockData
- Direct Known Subclasses:
BlockDataProvider
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BlockBoundingBoxesprotected intprotected com.hypixel.hytale.server.core.asset.type.blocktype.config.BlockTypeprotected Stringprotected intprotected intprotected doubleprotected Fluidprotected intprotected Stringprotected int -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
blockId
protected int blockId -
blockType
@Nullable protected com.hypixel.hytale.server.core.asset.type.blocktype.config.BlockType blockType -
blockTypeKey
-
rotation
protected int rotation -
filler
protected int filler -
fluidId
protected int fluidId -
fluid
-
fluidKey
-
fillHeight
protected double fillHeight -
collisionMaterials
protected int collisionMaterials -
blockBoundingBoxes
-
-
Constructor Details
-
BlockData
public BlockData()
-
-
Method Details
-
assign
-
clear
public void clear() -
isFiller
public boolean isFiller() -
originX
public int originX(int x) -
originY
public int originY(int y) -
originZ
public int originZ(int z) -
getFillHeight
public double getFillHeight() -
isTrigger
public boolean isTrigger() -
getBlockDamage
public int getBlockDamage() -
getSubmergeDamage
public int getSubmergeDamage() -
getCollisionMaterials
public int getCollisionMaterials() -
getBlockBoundingBoxes
-
getBlockType
@Nullable public com.hypixel.hytale.server.core.asset.type.blocktype.config.BlockType getBlockType() -
getFluidId
public int getFluidId() -
getFluid
-