类 Torch
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.SimpleAttachableMaterialData
org.bukkit.material.Torch
- 所有已实现的接口:
Cloneable,Attachable,Directional
- 直接已知子类:
RedstoneTorch
已过时。
火把的 MaterialData。
-
构造器概要
构造器 -
方法概要
从类继承的方法 org.bukkit.material.SimpleAttachableMaterialData
getFacing, toString从类继承的方法 org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
构造器详细资料
-
Torch
public Torch()已过时。 -
Torch
已过时。 -
Torch
已过时。魔法值原文:Magic value
- 参数:
type- 物品类型data- 原始数据值
-
-
方法详细资料
-
getAttachedFace
已过时。获取此方块所附着的面。- 返回:
- 附着的 BlockFace
原文:Gets the face that this block is attached on
-
setFacingDirection
已过时。从接口复制的说明:Directional设置此方块的朝向.原文: Sets the direction that this block is facing in
- 参数:
face- 朝向
-
clone
已过时。- 覆盖:
clone在类中SimpleAttachableMaterialData
-
BlockData。