Cloneable
BlockData
.@Deprecated public class WoodenStep extends Wood
Material.LEGACY_WOOD_STEP
Modifier and Type | Field | Description |
---|---|---|
protected static boolean |
DEFAULT_INVERTED |
Deprecated.
|
protected static Material |
DEFAULT_TYPE |
Deprecated.
|
DEFAULT_SPECIES
Constructor | Description |
---|---|
WoodenStep() |
Deprecated.
Constructs a wooden step.
|
WoodenStep(Material type,
byte data) |
Deprecated.
Magic value
|
WoodenStep(TreeSpecies species) |
Deprecated.
Constructs a wooden step of the given tree species.
|
WoodenStep(TreeSpecies species,
boolean inv) |
Deprecated.
Constructs a wooden step of the given type and tree species, either
inverted or not.
|
Modifier and Type | Method | Description |
---|---|---|
WoodenStep |
clone() |
Deprecated.
|
boolean |
isInverted() |
Deprecated.
Test if step is inverted
|
void |
setInverted(boolean inv) |
Deprecated.
Set step inverted state
|
String |
toString() |
Deprecated.
|
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
finalize, getClass, notify, notifyAll, wait, wait, wait
getSpecies, setSpecies
protected 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 © 2019. All rights reserved.