Interface ImmutableSchematic
@Immutable
public sealed interface ImmutableSchematic
Immutable and safe representation of a
Schematic.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic interface -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic ImmutableSchematic.Builderbuilder()static ImmutableSchematic.Builderbuilder(ImmutableSchematic schematic) static ImmutableSchematicfrom(mindustry.game.Schematic schematic) default Stringdefault intdefault StringgetName()getTags()getTiles()default intgetWidth()static mindustry.game.SchematictoSchematic(ImmutableSchematic schematic)
-
Field Details
-
NAME_TAG
- See Also:
-
DESCRIPTION_TAG
- See Also:
-
-
Method Details
-
toSchematic
-
from
-
builder
-
builder
-
getName
-
getDescription
-
getTiles
List<ImmutableSchematic.Tile> getTiles() -
getWidth
@Lazy default int getWidth() -
getHeight
@Lazy default int getHeight() -
getLabels
-
getTags
-
getRequirements
-