BlockData.@Deprecated public class WoodenStep extends Wood
Material.LEGACY_WOOD_STEP| Modifier and Type | Field and Description | 
|---|---|
protected static boolean | 
DEFAULT_INVERTED
Deprecated.  
  | 
protected static Material | 
DEFAULT_TYPE
Deprecated.  
  | 
DEFAULT_SPECIES| Constructor and 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 and Description | 
|---|---|
WoodenStep | 
clone()
Deprecated.  
  | 
boolean | 
isInverted()
Deprecated.  
Test if step is inverted 
 | 
void | 
setInverted(boolean inv)
Deprecated.  
Set step inverted state 
 | 
String | 
toString()
Deprecated.  
  | 
getSpecies, setSpeciesequals, getData, getItemType, hashCode, setData, toItemStack, toItemStackprotected 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 © 2022. All rights reserved.