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
ConstructorDescriptionDeprecated, 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.boolean
Deprecated, 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:
isPressed
in interfacePressureSensor
-
toString
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
toString
in classMaterialData
-
clone
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
clone
in classMaterialData
-
BlockData
.