Package kr.toxicity.model.api.data.raw
Interface ModelChildren
- All Known Implementing Classes:
ModelChildren.ModelOutliner,ModelChildren.ModelUUID
@Internal
public sealed interface ModelChildren
permits ModelChildren.ModelUUID, ModelChildren.ModelOutliner
A raw children of the model.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordA raw outliner of models.static final recordA raw element's uuid. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.google.gson.JsonDeserializer<ModelChildren> Parser -
Method Summary
Modifier and TypeMethodDescription@NotNull Stream<ModelChildren> flatten()Flattens this children tree@NotNull BlueprintElementtoBlueprint(@NotNull ModelLoadContext context) Converts children to blueprint children@NotNull Stringuuid()Gets uuid
-
Field Details
-
PARSER
Parser
-
-
Method Details
-
toBlueprint
Converts children to blueprint children- Parameters:
context- context- Returns:
- children
-
flatten
Flattens this children tree- Returns:
- flatten stream
-
uuid
Gets uuid- Returns:
- uuid
-