|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bukkit.material.MaterialData
org.bukkit.material.TexturedMaterial
org.bukkit.material.Step
public class Step
Represents the different types of steps.
| Constructor Summary | |
|---|---|
Step()
|
|
Step(int type)
|
|
Step(int type,
byte data)
|
|
Step(Material type)
|
|
Step(Material type,
byte data)
|
|
| Method Summary | |
|---|---|
Step |
clone()
|
protected int |
getTextureIndex()
Get material index from data |
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)
Set material index |
String |
toString()
|
| Methods inherited from class org.bukkit.material.TexturedMaterial |
|---|
getMaterial, setMaterial |
| Methods inherited from class org.bukkit.material.MaterialData |
|---|
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Step()
public Step(int type)
public Step(Material type)
public Step(int type,
byte data)
public Step(Material type,
byte data)
| Method Detail |
|---|
public List<Material> getTextures()
TexturedMaterial
getTextures 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)protected int getTextureIndex()
TexturedMaterial
getTextureIndex in class TexturedMaterialprotected void setTextureIndex(int idx)
TexturedMaterial
setTextureIndex in class TexturedMaterialidx - - index of data in textures listpublic Step clone()
clone in class TexturedMaterialpublic String toString()
toString in class TexturedMaterial
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||