Package net.minecraftforge.client
Class PresetEditorManager
java.lang.Object
net.minecraftforge.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
-