Cloneable, PressureSensorBlockData.@Deprecated public class PressurePlate extends MaterialData implements PressureSensor
| Constructor | Description |
|---|---|
PressurePlate() |
Deprecated.
|
PressurePlate(Material type) |
Deprecated.
|
PressurePlate(Material type,
byte data) |
Deprecated.
Magic value
|
| Modifier and Type | Method | Description |
|---|---|---|
PressurePlate |
clone() |
Deprecated.
|
boolean |
isPressed() |
Deprecated.
|
String |
toString() |
Deprecated.
|
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 © 2019. All rights reserved.