Package net.minecraftforge.client.event
Class RegisterDimensionSpecialEffectsEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.RegisterDimensionSpecialEffectsEvent
- All Implemented Interfaces:
IModBusEvent
public class RegisterDimensionSpecialEffectsEvent
extends net.minecraftforge.eventbus.api.Event
implements IModBusEvent
Allows users to register custom
DimensionSpecialEffects
for their dimensions.
This event is not cancellable, and does not have a result.
This event is fired on the mod-specific event bus, only on the logical client.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Field Summary
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoid
register
(ResourceLocation dimensionType, DimensionSpecialEffects effects) Registers the effects for a given dimension type.Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Field Details
-
effects
-
-
Constructor Details
-
RegisterDimensionSpecialEffectsEvent
@Internal public RegisterDimensionSpecialEffectsEvent(Map<ResourceLocation, DimensionSpecialEffects> effects)
-
-
Method Details
-
register
Registers the effects for a given dimension type.
-