java.lang.Cloneable, PressureSensorpublic class PressurePlate extends MaterialData implements PressureSensor
| Constructor | Description |
|---|---|
PressurePlate() |
|
PressurePlate(int type) |
Deprecated.
Magic value
|
PressurePlate(int type,
byte data) |
Deprecated.
Magic value
|
PressurePlate(Material type) |
|
PressurePlate(Material type,
byte data) |
Deprecated.
Magic value
|
| Modifier and Type | Method | Description |
|---|---|---|
PressurePlate |
clone() |
|
boolean |
isPressed() |
|
java.lang.String |
toString() |
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStackpublic PressurePlate()
@Deprecated public PressurePlate(int type)
type - the raw type idpublic PressurePlate(Material type)
@Deprecated
public PressurePlate(int type,
byte data)
type - the raw type iddata - the raw data value@Deprecated public PressurePlate(Material type, byte data)
type - the typedata - the raw data valuepublic boolean isPressed()
isPressed in interface PressureSensorpublic java.lang.String toString()
toString in class MaterialDatapublic PressurePlate clone()
clone in class MaterialDataCopyright © 2018. All rights reserved.