Interface NodeCategory
@Immutable
public interface NodeCategory
Definition of a node category for organizing nodes in the palette.
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.soulfiremc.server.script.ImmutableNodeCategory.Builderbuilder()Convenience builder starting point.default StringDescription of what nodes in this category do.Human-readable name for display.icon()Icon identifier for the category.id()The unique identifier for this category.static NodeCategoryCreates a category with all required fields.default intSort order for display (lower numbers appear first).
-
Method Details
-
builder
static com.soulfiremc.server.script.ImmutableNodeCategory.Builder builder()Convenience builder starting point. -
of
static NodeCategory of(String id, String displayName, String icon, String description, int sortOrder) Creates a category with all required fields. -
id
String id()The unique identifier for this category. -
displayName
String displayName()Human-readable name for display. -
icon
String icon()Icon identifier for the category. -
description
Description of what nodes in this category do. -
sortOrder
@Default default int sortOrder()Sort order for display (lower numbers appear first).
-