Cloneable
MonsterEggs
, SmoothBrick
, Step
BlockData
.@Deprecated public abstract class TexturedMaterial extends MaterialData
Constructor | Description |
---|---|
TexturedMaterial(Material m) |
Deprecated.
|
TexturedMaterial(Material type,
byte data) |
Deprecated.
Magic value
|
Modifier and Type | Method | Description |
---|---|---|
TexturedMaterial |
clone() |
Deprecated.
|
Material |
getMaterial() |
Deprecated.
Gets the current Material this block is made of
|
protected int |
getTextureIndex() |
Deprecated.
Magic value
|
abstract List<Material> |
getTextures() |
Deprecated.
Retrieve a list of possible textures.
|
void |
setMaterial(Material material) |
Deprecated.
Sets the material this block is made of
|
protected void |
setTextureIndex(int idx) |
Deprecated.
Magic value
|
String |
toString() |
Deprecated.
|
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
public TexturedMaterial(Material m)
@Deprecated public TexturedMaterial(Material type, byte data)
type
- the typedata
- the raw data valuepublic 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 MaterialData
public TexturedMaterial clone()
clone
in class MaterialData
Copyright © 2020. All rights reserved.