Cloneablepublic class Step extends TexturedMaterial
| Constructor | Description |
|---|---|
Step() |
|
Step(Material type) |
|
Step(Material type,
byte data) |
Deprecated.
Magic value
|
| Modifier and Type | Method | Description |
|---|---|---|
Step |
clone() |
|
protected int |
getTextureIndex() |
Deprecated.
Magic value
|
List<Material> |
getTextures() |
Retrieve a list of possible textures.
|
boolean |
isInverted() |
Test if step is inverted
|
void |
setInverted(boolean inv) |
Set step inverted state
|
protected void |
setTextureIndex(int idx) |
Deprecated.
Magic value
|
String |
toString() |
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStackfinalize, getClass, notify, notifyAll, wait, wait, waitgetMaterial, setMaterialpublic Step()
public Step(Material type)
@Deprecated public Step(Material type, byte data)
type - the typedata - the raw data valuepublic List<Material> getTextures()
TexturedMaterialgetTextures in class TexturedMaterialpublic boolean isInverted()
public void setInverted(boolean inv)
inv - - true if step is inverted (top half), false if step is
normal (bottom half)@Deprecated protected int getTextureIndex()
TexturedMaterialgetTextureIndex in class TexturedMaterial@Deprecated protected void setTextureIndex(int idx)
TexturedMaterialsetTextureIndex in class TexturedMaterialidx - - index of data in textures listpublic Step clone()
clone in class TexturedMaterialpublic String toString()
toString in class TexturedMaterialCopyright © 2020. All rights reserved.