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, toItemStack
public 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 PressureSensor
public String toString()
toString
in class MaterialData
public PressurePlate clone()
clone
in class MaterialData
Copyright © 2022. All rights reserved.