BlockData
, java.lang.Cloneable
RedstoneRail
public interface Rail extends BlockData
getShapes()
to get those applicable to this block.Modifier and Type | Interface | Description |
---|---|---|
static class |
Rail.Shape |
The different types of shapes a rail block can occupy.
|
Modifier and Type | Method | Description |
---|---|---|
Rail.Shape |
getShape() |
Gets the value of the 'shape' property.
|
java.util.Set<Rail.Shape> |
getShapes() |
Gets the shapes which are applicable to this block.
|
void |
setShape(Rail.Shape shape) |
Sets the value of the 'shape' property.
|
clone, getAsString, getMaterial, matches, merge
Rail.Shape getShape()
void setShape(Rail.Shape shape)
shape
- the new 'shape' valuejava.util.Set<Rail.Shape> getShapes()
Copyright © 2018. All rights reserved.