public class BlockRenderer
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
BlockRenderer.BlockFace |
static class |
BlockRenderer.FullBlock |
| Modifier and Type | Field and Description |
|---|---|
static BlockRenderer.FullBlock |
fullBlock |
| Constructor and Description |
|---|
BlockRenderer() |
| Modifier and Type | Method and Description |
|---|---|
static void |
renderCuboid(Cuboid6 bounds,
int sideMask)
Renders faces of a cuboid with texture coordinates mapped to match a standard minecraft block
|
static void |
renderFaces(int sideMask)
Renders faces of a block-like model based on a sideMask.
|
static void |
renderFullBlock(int sideMask) |
public static BlockRenderer.FullBlock fullBlock
public static void renderFullBlock(int sideMask)
public static void renderFaces(int sideMask)
sideMask - A mask of faces not to renderpublic static void renderCuboid(Cuboid6 bounds, int sideMask)
bounds - The bounding cuboid to rendersideMask - A mask of faces not to render