Package org.bukkit.material
Class RedstoneWire
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.RedstoneWire
@Deprecated(since="1.13",
forRemoval=true)
public class RedstoneWire
extends MaterialData
implements Redstone
Deprecated, for removal: This API element is subject to removal in a future version.
Represents redstone wire
-
Constructor Summary
ConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.RedstoneWire
(Material type) Deprecated, for removal: This API element is subject to removal in a future version.RedstoneWire
(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.Gets the current state of this Material, indicating if it's powered or unpoweredtoString()
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
-
RedstoneWire
public RedstoneWire()Deprecated, for removal: This API element is subject to removal in a future version. -
RedstoneWire
Deprecated, for removal: This API element is subject to removal in a future version. -
RedstoneWire
Deprecated.Magic value- Parameters:
type
- the typedata
- the raw data value
-
-
Method Details
-
isPowered
public boolean isPowered()Deprecated, for removal: This API element is subject to removal in a future version.Gets the current state of this Material, indicating if it's powered or unpowered -
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
.