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. UseBlockData
.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
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description PressurePlate
clone()
Deprecated.boolean
isPressed()
Deprecated.String
toString()
Deprecated.-
Methods inherited from class org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
-
-
-
Constructor Detail
-
PressurePlate
public PressurePlate()
Deprecated.
-
PressurePlate
public PressurePlate(Material type)
Deprecated.
-
PressurePlate
@Deprecated public PressurePlate(Material type, byte data)
Deprecated.Magic value- Parameters:
type
- the typedata
- the raw data value
-
-
Method Detail
-
isPressed
public boolean isPressed()
Deprecated.- Specified by:
isPressed
in interfacePressureSensor
-
toString
public String toString()
Deprecated.- Overrides:
toString
in classMaterialData
-
clone
public PressurePlate clone()
Deprecated.- Overrides:
clone
in classMaterialData
-
-