Cloneable
, PressureSensor
BlockData
.@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, toItemStack
public PressurePlate()
public PressurePlate(Material type)
@Deprecated public PressurePlate(Material type, byte data)
type
- the typedata
- the raw data valuepublic boolean isPressed()
isPressed
in interface PressureSensor
public String toString()
toString
in class MaterialData
public PressurePlate clone()
clone
in class MaterialData
Copyright © 2020. All rights reserved.