Package org.bukkit.material
Class PressurePlate
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.PressurePlate
- All Implemented Interfaces:
 Cloneable,PressureSensor
@Deprecated(since="1.13",
            forRemoval=true)
public class PressurePlate
extends MaterialData
implements PressureSensor
Deprecated, for removal: This API element is subject to removal in a future version.
Represents a pressure plate
- 
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.PressurePlate(Material type) Deprecated, for removal: This API element is subject to removal in a future version.PressurePlate(Material type, byte data) Deprecated.Magic value - 
Method Summary
Modifier and TypeMethodDescriptionclone()Deprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, for removal: This API element is subject to removal in a future version.toString()Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack 
- 
Constructor Details
- 
PressurePlate
public PressurePlate()Deprecated, for removal: This API element is subject to removal in a future version. - 
PressurePlate
Deprecated, for removal: This API element is subject to removal in a future version. - 
PressurePlate
Deprecated.Magic value- Parameters:
 type- the typedata- the raw data value
 
 - 
 - 
Method Details
- 
isPressed
public boolean isPressed()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
 isPressedin interfacePressureSensor
 - 
toString
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
 toStringin classMaterialData
 - 
clone
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
 clonein classMaterialData
 
 - 
 
BlockData.