类 TexturedMaterial
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.TexturedMaterial
- 所有已实现的接口:
Cloneable
- 直接已知子类:
MonsterEggs,SmoothBrick,Step
已过时。
代表带有纹理的材质,如台阶和平滑砖。
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明clone()已过时。已过时。获取此方块当前构成的材质。protected int已过时。魔法值已过时。检索可用纹理的列表。voidsetMaterial(Material material) 已过时。设置此方块构成的材质。protected voidsetTextureIndex(int idx) 已过时。魔法值toString()已过时。从类继承的方法 org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
构造器详细资料
-
TexturedMaterial
已过时。 -
TexturedMaterial
已过时。魔法值原文:Magic value
- 参数:
type- 物品类型data- 原始数据值
-
-
方法详细资料
-
getTextures
已过时。检索可用纹理的列表。列表的第一个元素将用作默认值。- 返回:
- 此方块可用纹理的列表
原文:Retrieve a list of possible textures. The first element of the list will be used as a default.
-
getMaterial
已过时。获取此方块当前构成的材质。- 返回:
- 此方块的 Material
原文:Gets the current Material this block is made of
-
setMaterial
已过时。设置此方块构成的材质。- 参数:
material- 此方块的新材质原文:Sets the material this block is made of
-
getTextureIndex
已过时。魔法值原文:Get material index from data
原文:Magic value
从数据中获取材质索引。- 返回:
- 数据在纹理列表中的索引
-
setTextureIndex
已过时。魔法值原文:Set material index
原文:Magic value
设置材质索引。- 参数:
idx- - 数据在纹理列表中的索引
-
toString
已过时。- 覆盖:
toString在类中MaterialData
-
clone
已过时。- 覆盖:
clone在类中MaterialData
-
BlockData。