Package net.neoforged.neoforge.client
Class PresetEditorManager
java.lang.Object
net.neoforged.neoforge.client.PresetEditorManager
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable PresetEditor
get
(ResourceKey<WorldPreset> key) Returns the PresetEditor for the given WorldPreset key, or null if no such PresetEditor exists.(package private) static void
init()
-
Field Details
-
editors
-
-
Constructor Details
-
PresetEditorManager
private PresetEditorManager()
-
-
Method Details
-
init
@Internal static void init() -
get
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
-