RedstoneRailpublic 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. 
 | 
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, getAsString, getMaterial, matches, merge@NotNull Rail.Shape getShape()
void setShape(@NotNull
              Rail.Shape shape)
shape - the new 'shape' value@NotNull Set<Rail.Shape> getShapes()
Copyright © 2019. All rights reserved.