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