public class PressurePlate extends MaterialData implements PressureSensor
| 构造器和说明 |
|---|
PressurePlate() |
PressurePlate(int type)
已过时。
不安全的参数
|
PressurePlate(int type,
byte data)
已过时。
不安全的参数
|
PressurePlate(Material type) |
PressurePlate(Material type,
byte data)
已过时。
不安全的参数
|
| 限定符和类型 | 方法和说明 |
|---|---|
PressurePlate |
clone() |
boolean |
isPressed() |
java.lang.String |
toString() |
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStackpublic PressurePlate()
@Deprecated public PressurePlate(int type)
type - raw type idpublic PressurePlate(Material type)
@Deprecated
public PressurePlate(int type,
byte data)
type - raw type iddata - raw data@Deprecated public PressurePlate(Material type, byte data)
type - 类型data - raw datapublic boolean isPressed()
isPressed 在接口中 PressureSensorpublic java.lang.String toString()
toString 在类中 MaterialDatapublic PressurePlate clone()
clone 在类中 MaterialData