Class RegisterDimensionSpecialEffectsEvent
java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.client.event.RegisterDimensionSpecialEffectsEvent
- All Implemented Interfaces:
net.neoforged.fml.event.IModBusEvent
public class RegisterDimensionSpecialEffectsEvent
extends net.neoforged.bus.api.Event
implements net.neoforged.fml.event.IModBusEvent
Allows users to register custom
DimensionSpecialEffects
for their dimensions.
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
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoid
register
(ResourceLocation dimensionType, DimensionSpecialEffects effects) Registers the effects for a given dimension type.
-
Field Details
-
effects
-
-
Constructor Details
-
RegisterDimensionSpecialEffectsEvent
@Internal public RegisterDimensionSpecialEffectsEvent(Map<ResourceLocation, DimensionSpecialEffects> effects)
-
-
Method Details
-
register
Registers the effects for a given dimension type.
-