Class RegisterPresetEditorsEvent
java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.client.event.RegisterPresetEditorsEvent
- All Implemented Interfaces:
net.neoforged.fml.event.IModBusEvent
public class RegisterPresetEditorsEvent
extends net.neoforged.bus.api.Event
implements net.neoforged.fml.event.IModBusEvent
Event for registering PresetEditor
screen factories for world presets.
This event is not cancellable, and does not
.
invalid reference
have a result
This event is fired on the mod-specific event bus, only on the logical client.
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Map
<ResourceKey<WorldPreset>, PresetEditor> private static final org.apache.logging.log4j.Logger
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoid
register
(ResourceKey<WorldPreset> key, PresetEditor editor) Registers a PresetEditor for a given world preset key.
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
editors
-
-
Constructor Details
-
RegisterPresetEditorsEvent
-
-
Method Details
-
register
Registers a PresetEditor for a given world preset key.
-