public class PressurePlate extends MaterialData implements PressureSensor
| Constructor and 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 and Description |
|---|---|
PressurePlate |
clone() |
boolean |
isPressed() |
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 String toString()
toString in class MaterialDatapublic PressurePlate clone()
clone in class MaterialDataCopyright © 2015. All rights reserved.