|
||||||||||
| 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
public abstract class TexturedMaterial
Represents textured materials like steps and smooth bricks
| Constructor Summary | |
|---|---|
TexturedMaterial(int type)
Deprecated. Magic value |
|
TexturedMaterial(int type,
byte data)
Deprecated. Magic value |
|
TexturedMaterial(Material m)
|
|
TexturedMaterial(Material type,
byte data)
Deprecated. Magic value |
|
| Method Summary | |
|---|---|
TexturedMaterial |
clone()
|
Material |
getMaterial()
Gets the current Material this block is made of |
protected int |
getTextureIndex()
Deprecated. Magic value |
abstract List<Material> |
getTextures()
Retrieve a list of possible textures. |
void |
setMaterial(Material material)
Sets the material this block is made of |
protected void |
setTextureIndex(int idx)
Deprecated. Magic value |
String |
toString()
|
| 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 TexturedMaterial(Material m)
@Deprecated public TexturedMaterial(int type)
@Deprecated
public TexturedMaterial(int type,
byte data)
@Deprecated
public TexturedMaterial(Material type,
byte data)
| Method Detail |
|---|
public abstract List<Material> getTextures()
public Material getMaterial()
public void setMaterial(Material material)
material - New material of this block@Deprecated protected int getTextureIndex()
@Deprecated protected void setTextureIndex(int idx)
idx - - index of data in textures listpublic String toString()
toString in class MaterialDatapublic TexturedMaterial clone()
clone in class MaterialData
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||