Package kr.toxicity.model.api.data.raw
Interface ModelChildren
- All Known Implementing Classes:
ModelChildren.ModelGroup,ModelChildren.ModelUUID
@Internal
public sealed interface ModelChildren
permits ModelChildren.ModelUUID, ModelChildren.ModelGroup
A raw children of the model.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordA raw group 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 TypeMethodDescriptiondefault @NotNull BlueprintChildrentoBlueprint(@NotNull @Unmodifiable Map<String, ModelElement> elementMap) Converts children to blueprint children
-
Field Details
-
PARSER
Parser
-
-
Method Details
-
toBlueprint
@NotNull default @NotNull BlueprintChildren toBlueprint(@NotNull @NotNull @Unmodifiable Map<String, ModelElement> elementMap) Converts children to blueprint children- Parameters:
elementMap- element map- Returns:
- children
-