public class StairSlabMetadataHelper
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
StairSlabMetadataHelper.SlabType
Type metadata for slab material types.
|
static class |
StairSlabMetadataHelper.StoneBrickType
Type metadata for brick material types.
|
| Constructor and Description |
|---|
StairSlabMetadataHelper() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getSlabMetadata(StairSlabMetadataHelper.SlabType type,
boolean upsideDown)
Get the metadata of a slab with a certain direction and orientation.
|
static int |
getStairMetadata(net.minecraftforge.common.util.ForgeDirection direction,
boolean upsideDown)
Get the metadata of a stair with a certain direction and orientation.
|
static int |
getStoneBrickMetadata(StairSlabMetadataHelper.StoneBrickType type)
Get the brick metadata of a given type.
|
public static int getStairMetadata(net.minecraftforge.common.util.ForgeDirection direction,
boolean upsideDown)
direction - The direction the stair is facing.upsideDown - If the stair is upside down.public static int getSlabMetadata(StairSlabMetadataHelper.SlabType type, boolean upsideDown)
type - The slab type.upsideDown - If the stair is upside down.public static int getStoneBrickMetadata(StairSlabMetadataHelper.StoneBrickType type)
type - The brick type.