Cloneable
, PressureSensor
public 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, 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.