类 PressurePlate
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.PressurePlate
- 所有已实现的接口:
Cloneable
,PressureSensor
代表压力板
-
构造器概要
构造器构造器说明PressurePlate
(int type) 已过时。不安全的参数PressurePlate
(int type, byte data) 已过时。不安全的参数PressurePlate
(Material type) PressurePlate
(Material type, byte data) 已过时。不安全的参数 -
方法概要
从类继承的方法 org.bukkit.material.MaterialData
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack
-
构造器详细资料
-
PressurePlate
public PressurePlate() -
PressurePlate
已过时。不安全的参数- 参数:
type
- raw type id
-
PressurePlate
-
PressurePlate
已过时。不安全的参数- 参数:
type
- raw type iddata
- raw data
-
PressurePlate
已过时。不安全的参数- 参数:
type
- 类型data
- raw data
-
-
方法详细资料
-
isPressed
public boolean isPressed()- 指定者:
isPressed
在接口中PressureSensor
-
toString
- 覆盖:
toString
在类中MaterialData
-
clone
- 覆盖:
clone
在类中MaterialData
-