类 SimpleAttachableMaterialData
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.SimpleAttachableMaterialData
- 所有已实现的接口:
Cloneable,Attachable,Directional
用于实现了Attachable的MaterialData子类的实用类.
-
构造器概要
构造器构造器说明SimpleAttachableMaterialData(int type) 已过时。不安全的参数SimpleAttachableMaterialData(int type, byte data) 已过时。不安全的参数SimpleAttachableMaterialData(int type, BlockFace direction) SimpleAttachableMaterialData(Material type, byte data) 已过时。不安全的参数SimpleAttachableMaterialData(Material type, BlockFace direction) -
方法概要
从类继承的方法 org.bukkit.material.MaterialData
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack从接口继承的方法 org.bukkit.material.Attachable
getAttachedFace从接口继承的方法 org.bukkit.material.Directional
setFacingDirection
-
构造器详细资料
-
SimpleAttachableMaterialData
已过时。不安全的参数- 参数:
type- the raw type id
-
SimpleAttachableMaterialData
-
SimpleAttachableMaterialData
-
SimpleAttachableMaterialData
-
SimpleAttachableMaterialData
已过时。不安全的参数- 参数:
type- the raw type iddata- the raw data value
-
SimpleAttachableMaterialData
已过时。不安全的参数- 参数:
type- the typedata- the raw data value
-
-
方法详细资料
-
getFacing
从接口复制的说明:Directional获取这个方块的朝向.原文:Gets the direction this block is facing
- 指定者:
getFacing在接口中Directional- 返回:
- 这个方块的朝向
-
toString
- 覆盖:
toString在类中MaterialData
-
clone
- 覆盖:
clone在类中MaterialData
-