Package org.bukkit.material
Class Step
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.TexturedMaterial
org.bukkit.material.Step
- All Implemented Interfaces:
- Cloneable
Deprecated, for removal: This API element is subject to removal in a future version.
Represents the different types of steps.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionclone()Deprecated, for removal: This API element is subject to removal in a future version.protected intDeprecated.Magic valueDeprecated, for removal: This API element is subject to removal in a future version.Retrieve a list of possible textures.booleanDeprecated, for removal: This API element is subject to removal in a future version.Test if step is invertedvoidsetInverted(boolean inv) Deprecated, for removal: This API element is subject to removal in a future version.Set step inverted stateprotected voidsetTextureIndex(int idx) Deprecated.Magic valuetoString()Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class org.bukkit.material.TexturedMaterialgetMaterial, setMaterialMethods inherited from class org.bukkit.material.MaterialDataequals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
- 
Constructor Details- 
Steppublic Step()Deprecated, for removal: This API element is subject to removal in a future version.
- 
StepDeprecated, for removal: This API element is subject to removal in a future version.
- 
StepDeprecated.Magic value- Parameters:
- type- the type
- data- the raw data value
 
 
- 
- 
Method Details- 
getTexturesDeprecated, for removal: This API element is subject to removal in a future version.Description copied from class:TexturedMaterialRetrieve a list of possible textures. The first element of the list will be used as a default.- Specified by:
- getTexturesin class- TexturedMaterial
- Returns:
- a list of possible textures for this block
 
- 
isInvertedpublic boolean isInverted()Deprecated, for removal: This API element is subject to removal in a future version.Test if step is inverted- Returns:
- true if inverted (top half), false if normal (bottom half)
 
- 
setInvertedpublic void setInverted(boolean inv) Deprecated, for removal: This API element is subject to removal in a future version.Set step inverted state- Parameters:
- inv- - true if step is inverted (top half), false if step is normal (bottom half)
 
- 
getTextureIndexDeprecated.Magic valueGet material index from data- Overrides:
- getTextureIndexin class- TexturedMaterial
- Returns:
- index of data in textures list
 
- 
setTextureIndexDeprecated.Magic valueSet material index- Overrides:
- setTextureIndexin class- TexturedMaterial
- Parameters:
- idx- - index of data in textures list
 
- 
cloneDeprecated, for removal: This API element is subject to removal in a future version.- Overrides:
- clonein class- TexturedMaterial
 
- 
toStringDeprecated, for removal: This API element is subject to removal in a future version.- Overrides:
- toStringin class- TexturedMaterial
 
 
- 
BlockData.