Package org.bukkit.material
Class RedstoneTorch
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.SimpleAttachableMaterialData
org.bukkit.material.Torch
org.bukkit.material.RedstoneTorch
- All Implemented Interfaces:
Cloneable
,Attachable
,Directional
,Redstone
@Deprecated(since="1.13",
forRemoval=true)
public class RedstoneTorch
extends Torch
implements Redstone
Deprecated, for removal: This API element is subject to removal in a future version.
Represents a redstone torch
-
Constructor Summary
ConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.RedstoneTorch
(Material type) Deprecated, for removal: This API element is subject to removal in a future version.RedstoneTorch
(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.Torch
getAttachedFace, setFacingDirection
Methods inherited from class org.bukkit.material.SimpleAttachableMaterialData
getFacing
Methods inherited from class org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
Constructor Details
-
RedstoneTorch
public RedstoneTorch()Deprecated, for removal: This API element is subject to removal in a future version. -
RedstoneTorch
Deprecated, for removal: This API element is subject to removal in a future version. -
RedstoneTorch
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 classSimpleAttachableMaterialData
-
clone
Deprecated, for removal: This API element is subject to removal in a future version.
-
BlockData
.