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(since="1.13",
            forRemoval=true)
public abstract class TexturedMaterial
extends MaterialData
Deprecated, for removal: This API element is subject to removal in a future version.
Represents textured materials like steps and smooth bricks
- 
Constructor SummaryConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.TexturedMaterial(Material type, byte data) Deprecated.Magic value
- 
Method SummaryModifier and TypeMethodDescriptionclone()Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Gets the current Material this block is made ofprotected intDeprecated.Magic valueDeprecated, for removal: This API element is subject to removal in a future version.Retrieve a list of possible textures.voidsetMaterial(Material material) Deprecated, for removal: This API element is subject to removal in a future version.Sets the material this block is made ofprotected voidsetTextureIndex(int idx) Deprecated.Magic valuetoString()Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class org.bukkit.material.MaterialDataequals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
- 
Constructor Details- 
TexturedMaterialDeprecated, for removal: This API element is subject to removal in a future version.
- 
TexturedMaterialDeprecated.Magic value- Parameters:
- type- the type
- data- the raw data value
 
 
- 
- 
Method Details- 
getTexturesDeprecated, for removal: This API element is subject to removal in a future version.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
 
- 
getMaterialDeprecated, for removal: This API element is subject to removal in a future version.Gets the current Material this block is made of- Returns:
- Material of this block
 
- 
setMaterialDeprecated, for removal: This API element is subject to removal in a future version.Sets the material this block is made of- Parameters:
- material- New material of this block
 
- 
getTextureIndexDeprecated.Magic valueGet material index from data- Returns:
- index of data in textures list
 
- 
setTextureIndexDeprecated.Magic valueSet material index- Parameters:
- idx- - index of data in textures list
 
- 
toStringDeprecated, for removal: This API element is subject to removal in a future version.- Overrides:
- toStringin class- MaterialData
 
- 
cloneDeprecated, for removal: This API element is subject to removal in a future version.- Overrides:
- clonein class- MaterialData
 
 
- 
BlockData.