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