Package org.bukkit.material
Class PressurePlate
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.PressurePlate
- All Implemented Interfaces:
Cloneable,PressureSensor
@Deprecated public class PressurePlate extends MaterialData implements PressureSensor
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData.Represents a pressure plate
-
Constructor Summary
Constructors Constructor Description PressurePlate()Deprecated.PressurePlate(Material type)Deprecated.PressurePlate(Material type, byte data)Deprecated.Magic value -
Method Summary
Modifier and Type Method Description PressurePlateclone()Deprecated.booleanisPressed()Deprecated.StringtoString()Deprecated.Methods inherited from class org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
Constructor Details
-
PressurePlate
public PressurePlate()Deprecated. -
PressurePlate
Deprecated. -
PressurePlate
Deprecated.Magic value- Parameters:
type- the typedata- the raw data value
-
-
Method Details
-
isPressed
public boolean isPressed()Deprecated.- Specified by:
isPressedin interfacePressureSensor
-
toString
Deprecated.- Overrides:
toStringin classMaterialData
-
clone
Deprecated.- Overrides:
clonein classMaterialData
-