Cloneablepublic class WoodenStep extends Wood
Material.LEGACY_WOOD_STEP| Modifier and Type | Field | Description |
|---|---|---|
protected static boolean |
DEFAULT_INVERTED |
|
protected static Material |
DEFAULT_TYPE |
DEFAULT_SPECIES| Constructor | Description |
|---|---|
WoodenStep() |
Constructs a wooden step.
|
WoodenStep(Material type,
byte data) |
Deprecated.
Magic value
|
WoodenStep(TreeSpecies species) |
Constructs a wooden step of the given tree species.
|
WoodenStep(TreeSpecies species,
boolean inv) |
Constructs a wooden step of the given type and tree species, either
inverted or not.
|
| Modifier and Type | Method | Description |
|---|---|---|
WoodenStep |
clone() |
|
boolean |
isInverted() |
Test if step is inverted
|
void |
setInverted(boolean inv) |
Set step inverted state
|
String |
toString() |
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStackfinalize, getClass, notify, notifyAll, wait, wait, waitgetSpecies, setSpeciesprotected static final Material DEFAULT_TYPE
protected static final boolean DEFAULT_INVERTED
public WoodenStep()
public WoodenStep(TreeSpecies species)
species - the species of the wooden steppublic WoodenStep(TreeSpecies species, boolean inv)
species - the species of the wooden stepinv - true the step is at the top of the block@Deprecated public WoodenStep(Material type, byte data)
type - the typedata - the raw data valuepublic boolean isInverted()
public void setInverted(boolean inv)
inv - - true if step is inverted (top half), false if step is normal
(bottom half)public WoodenStep clone()
Copyright © 2020. All rights reserved.