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 |
---|---|---|
@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, 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 © 2020. All rights reserved.