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