Class BlocklyElementUtil
java.lang.Object
net.mcreator.ui.blockly.BlocklyElementUtil
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<DataListEntry> getDataListEntriesForEntrySelector(Workspace workspace, String type, String typeFilter, String customEntryProviders) Loads data list entries for Blockly entry selectors that useDataListEntrylists.static String[]getStringArrayForEntrySelector(Workspace workspace, String type, String customEntryProviders)
-
Constructor Details
-
BlocklyElementUtil
public BlocklyElementUtil()
-
-
Method Details
-
getDataListEntriesForEntrySelector
@Nullable public static List<DataListEntry> getDataListEntriesForEntrySelector(Workspace workspace, @Nonnull String type, @Nullable String typeFilter, @Nullable String customEntryProviders) Loads data list entries for Blockly entry selectors that useDataListEntrylists.- Returns:
- The list of entries, or
nullif the selector type uses plain strings instead
-
getStringArrayForEntrySelector
-
getStringArrayEntryProviders
public static Map<String, BlocklyElementUtil.StringArrayEntrySelectorProvider> getStringArrayEntryProviders()
-