Class PresetEditorManager

java.lang.Object
net.neoforged.neoforge.client.PresetEditorManager

public final class PresetEditorManager extends Object
  • Field Details

  • Constructor Details

    • PresetEditorManager

      private PresetEditorManager()
  • Method Details

    • init

      @Internal static void init()
    • get

      @Nullable public static @Nullable PresetEditor get(ResourceKey<WorldPreset> key)
      Returns the PresetEditor for the given WorldPreset key, or null if no such PresetEditor exists.
      Parameters:
      key - ResourceKey for the specified WorldPreset/PresetEditor.
      Returns:
      the PresetEditor for the given WorldPreset key, or null if no such PresetEditor exists