public class Step extends TexturedMaterial
Constructor and Description |
---|
Step() |
Step(int type)
Deprecated.
Magic value
|
Step(int type,
byte data)
Deprecated.
Magic value
|
Step(Material type) |
Step(Material type,
byte data)
Deprecated.
Magic value
|
Modifier and Type | Method and Description |
---|---|
Step |
clone() |
List<Material> |
getTextures()
Retrieve a list of possible textures.
|
boolean |
isInverted()
Test if step is inverted
|
void |
setInverted(boolean inv)
Set step inverted state
|
String |
toString() |
getMaterial, setMaterial
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack
public Step()
@Deprecated public Step(int type)
type
- the raw type idpublic Step(Material type)
@Deprecated public Step(int type, byte data)
type
- the raw type iddata
- the raw data value@Deprecated public Step(Material type, byte data)
type
- the typedata
- the raw data valuepublic List<Material> getTextures()
TexturedMaterial
getTextures
in class TexturedMaterial
public boolean isInverted()
public void setInverted(boolean inv)
inv
- - true if step is inverted (top half), false if step is
normal (bottom half)public Step clone()
clone
in class TexturedMaterial
public String toString()
toString
in class TexturedMaterial
Copyright © 2022. All rights reserved.