java.lang.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() |
|
java.lang.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 java.lang.String toString()
toString
in class MaterialData
public PressurePlate clone()
clone
in class MaterialData
Copyright © 2018. All rights reserved.