Package org.bukkit.material
Class TexturedMaterial
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.TexturedMaterial
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
MonsterEggs
,SmoothBrick
,Step
Deprecated.
Represents textured materials like steps and smooth bricks
-
Constructor Summary
ConstructorDescriptionDeprecated.TexturedMaterial
(Material type, byte data) Deprecated.Magic value -
Method Summary
Modifier and TypeMethodDescriptionclone()
Deprecated.Deprecated.Gets the current Material this block is made ofprotected int
Deprecated.Magic valueDeprecated.Retrieve a list of possible textures.void
setMaterial
(Material material) Deprecated.Sets the material this block is made ofprotected void
setTextureIndex
(int idx) Deprecated.Magic valuetoString()
Deprecated.Methods inherited from class org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
Constructor Details
-
TexturedMaterial
Deprecated. -
TexturedMaterial
Deprecated.Magic value- Parameters:
type
- the typedata
- the raw data value
-
-
Method Details
-
getTextures
Deprecated.Retrieve a list of possible textures. The first element of the list will be used as a default.- Returns:
- a list of possible textures for this block
-
getMaterial
Deprecated.Gets the current Material this block is made of- Returns:
- Material of this block
-
setMaterial
Deprecated.Sets the material this block is made of- Parameters:
material
- New material of this block
-
getTextureIndex
Deprecated.Magic valueGet material index from data- Returns:
- index of data in textures list
-
setTextureIndex
Deprecated.Magic valueSet material index- Parameters:
idx
- - index of data in textures list
-
toString
Deprecated.- Overrides:
toString
in classMaterialData
-
clone
Deprecated.- Overrides:
clone
in classMaterialData
-
BlockData
.