Interface FlatLayerInfo
- All Superinterfaces:
Wrapper
Minecraft's FlatLayerInfo.
- Since:
- 3.0.0
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionblock()The block to place.static FlatLayerInfo.Builderbuilder()Creates a new builder.static FlatLayerInfoReads Minecraft flat-layer information.intheight()The height of the layer.static FlatLayerInfoCreates a new FlatLayerInfo.default FlatLayerInfo.BuilderCreates a new builder for this object.Methods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Field Details
-
Y_MAX
-
-
Method Details
-
block
-
height
-
toBuilder
Creates a new builder for this object.- Returns:
- a new builder
- Since:
- 3.0.0
-
of
Creates a new FlatLayerInfo.- Parameters:
block- the block to placeheight- the height of the layer- Returns:
- a new FlatLayerInfo
- Since:
- 3.0.0
-
decode
Reads Minecraft flat-layer information.- Parameters:
minecraftLayer- the flat layer to read- Returns:
- the decoded flat layer
- Since:
- 3.3.0
-
builder
Creates a new builder.- Returns:
- a new builder
- Since:
- 3.0.0
-