Class BlocklyElementUtil

java.lang.Object
net.mcreator.ui.blockly.BlocklyElementUtil

public class BlocklyElementUtil extends Object
  • 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 use DataListEntry lists.
      Returns:
      The list of entries, or null if the selector type uses plain strings instead
    • getStringArrayForEntrySelector

      @Nullable public static String[] getStringArrayForEntrySelector(Workspace workspace, @Nonnull String type, @Nullable String customEntryProviders)
    • getStringArrayEntryProviders

      public static Map<String, BlocklyElementUtil.StringArrayEntrySelectorProvider> getStringArrayEntryProviders()