类 TexturedMaterial
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.TexturedMaterial
- 所有已实现的接口:
Cloneable
- 直接已知子类:
MonsterEggs
,SmoothBrick
,Step
已过时。
Represents textured materials like steps and smooth bricks
-
构造器概要
-
方法概要
修饰符和类型方法说明clone()
已过时。已过时。Gets the current Material this block is made ofprotected int
已过时。Magic value已过时。Retrieve a list of possible textures.void
setMaterial
(Material material) 已过时。Sets the material this block is made ofprotected void
setTextureIndex
(int idx) 已过时。Magic valuetoString()
已过时。从类继承的方法 org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
构造器详细资料
-
TexturedMaterial
已过时。 -
TexturedMaterial
已过时。Magic value- 参数:
type
- the typedata
- the raw data value
-
-
方法详细资料
-
getTextures
已过时。Retrieve a list of possible textures. The first element of the list will be used as a default.- 返回:
- a list of possible textures for this block
-
getMaterial
已过时。Gets the current Material this block is made of- 返回:
- Material of this block
-
setMaterial
已过时。Sets the material this block is made of- 参数:
material
- New material of this block
-
getTextureIndex
已过时。Magic valueGet material index from data- 返回:
- index of data in textures list
-
setTextureIndex
已过时。Magic valueSet material index- 参数:
idx
- - index of data in textures list
-
toString
已过时。- 覆盖:
toString
在类中MaterialData
-
clone
已过时。- 覆盖:
clone
在类中MaterialData
-
BlockData
.