public class WoodenStep extends MaterialData
Constructor and Description |
---|
WoodenStep() |
WoodenStep(int type)
Deprecated.
Magic value
|
WoodenStep(int type,
byte data)
Deprecated.
Magic value
|
WoodenStep(Material type,
byte data)
Deprecated.
Magic value
|
WoodenStep(TreeSpecies species) |
WoodenStep(TreeSpecies species,
boolean inv) |
Modifier and Type | Method and Description |
---|---|
WoodenStep |
clone() |
TreeSpecies |
getSpecies()
Gets the current species of this tree
|
boolean |
isInverted()
Test if step is inverted
|
void |
setInverted(boolean inv)
Set step inverted state
|
void |
setSpecies(TreeSpecies species)
Sets the species of this tree
|
String |
toString() |
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack
public WoodenStep()
@Deprecated public WoodenStep(int type)
type
- the raw type idpublic WoodenStep(TreeSpecies species)
public WoodenStep(TreeSpecies species, boolean inv)
@Deprecated public WoodenStep(int type, byte data)
type
- the raw type iddata
- the raw data value@Deprecated public WoodenStep(Material type, byte data)
type
- the typedata
- the raw data valuepublic TreeSpecies getSpecies()
public void setSpecies(TreeSpecies species)
species
- New species of this treepublic 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()
clone
in class MaterialData
public String toString()
toString
in class MaterialData
Copyright © 2015. All rights reserved.