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.14.1")
public class PressurePlate
extends MaterialData
implements PressureSensor
Deprecated.
Represents a pressure plate
-
Constructor Summary
ConstructorDescriptionDeprecated.PressurePlate
(Material type) Deprecated.PressurePlate
(Material type, byte data) Deprecated.Magic value -
Method Summary
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:
isPressed
in interfacePressureSensor
-
toString
Deprecated.- Overrides:
toString
in classMaterialData
-
clone
Deprecated.- Overrides:
clone
in classMaterialData
-
BlockData
.