Package org.bukkit.material
Class DetectorRail
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.Rails
org.bukkit.material.ExtendedRails
org.bukkit.material.DetectorRail
- All Implemented Interfaces:
- Cloneable,- PressureSensor
@Deprecated(since="1.13",
            forRemoval=true)
public class DetectorRail
extends ExtendedRails
implements PressureSensor
Deprecated, for removal: This API element is subject to removal in a future version.
Represents a detector rail
- 
Constructor SummaryConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.DetectorRail(Material type) Deprecated, for removal: This API element is subject to removal in a future version.DetectorRail(Material type, byte data) Deprecated.Magic value
- 
Method SummaryModifier and TypeMethodDescriptionclone()Deprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, for removal: This API element is subject to removal in a future version.voidsetPressed(boolean isPressed) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class org.bukkit.material.ExtendedRailsgetConvertedData, isCurve, setDirectionMethods inherited from class org.bukkit.material.RailsgetDirection, isOnSlope, toStringMethods inherited from class org.bukkit.material.MaterialDataequals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
- 
Constructor Details- 
DetectorRailpublic DetectorRail()Deprecated, for removal: This API element is subject to removal in a future version.
- 
DetectorRailDeprecated, for removal: This API element is subject to removal in a future version.
- 
DetectorRailDeprecated.Magic value- Parameters:
- type- the type
- data- the raw data value
 
 
- 
- 
Method Details- 
isPressedpublic boolean isPressed()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
- isPressedin interface- PressureSensor
 
- 
setPressedpublic void setPressed(boolean isPressed) Deprecated, for removal: This API element is subject to removal in a future version.
- 
cloneDeprecated, for removal: This API element is subject to removal in a future version.- Overrides:
- clonein class- ExtendedRails
 
 
- 
BlockData.