public class PressurePlate extends MaterialData implements PressureSensor
| Constructor and Description | 
|---|
PressurePlate()  | 
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, 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 © 2022. All rights reserved.