Package org.bukkit.material
Class WoodenStep
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.Wood
org.bukkit.material.WoodenStep
- All Implemented Interfaces:
Cloneable
Deprecated.
Represents the different types of wooden steps.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final booleanDeprecated.protected static final MaterialDeprecated.Fields inherited from class org.bukkit.material.Wood
DEFAULT_SPECIES -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Constructs a wooden step.WoodenStep(Material type, byte data) Deprecated.Magic valueWoodenStep(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. -
Method Summary
Modifier and TypeMethodDescriptionclone()Deprecated.booleanDeprecated.Test if step is invertedvoidsetInverted(boolean inv) Deprecated.Set step inverted statetoString()Deprecated.Methods inherited from class org.bukkit.material.Wood
getSpecies, setSpeciesMethods inherited from class org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
Field Details
-
DEFAULT_TYPE
Deprecated. -
DEFAULT_INVERTED
protected static final boolean DEFAULT_INVERTEDDeprecated.- See Also:
-
-
Constructor Details
-
WoodenStep
public WoodenStep()Deprecated.Constructs a wooden step. -
WoodenStep
Deprecated.Constructs a wooden step of the given tree species.- Parameters:
species- the species of the wooden step
-
WoodenStep
Deprecated.Constructs a wooden step of the given type and tree species, either inverted or not.- Parameters:
species- the species of the wooden stepinv- true the step is at the top of the block
-
WoodenStep
Deprecated.Magic value- Parameters:
type- the typedata- the raw data value
-
-
Method Details
-
isInverted
public boolean isInverted()Deprecated.Test if step is inverted- Returns:
- true if inverted (top half), false if normal (bottom half)
-
setInverted
public void setInverted(boolean inv) Deprecated.Set step inverted state- Parameters:
inv- - true if step is inverted (top half), false if step is normal (bottom half)
-
clone
Deprecated. -
toString
Deprecated.
-
BlockData.