Class CommonClientEvents.Instance
java.lang.Object
net.rebel459.unified.impl.client.core.CommonClientEvents.Instance
- Enclosing class:
CommonClientEvents
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EnumMap<EventTiming, List<Consumer<net.minecraft.client.Minecraft>>> -
Method Summary
Modifier and TypeMethodDescriptionstatic voidpassOnLevelLoad(net.minecraft.client.multiplayer.ClientLevel level) static voidpassOnLevelUnload(net.minecraft.client.multiplayer.ClientLevel level) static voidpassOnRespawn(net.minecraft.client.player.LocalPlayer player) static voidpassOnStart(net.minecraft.client.Minecraft client) static voidpassOnStop(net.minecraft.client.Minecraft client) static voidpassOnTick(EventTiming type, net.minecraft.client.Minecraft client)
-
Field Details
-
START_LISTENERS
-
STOP_LISTENERS
-
TICK_LISTENERS
public static final EnumMap<EventTiming, List<Consumer<net.minecraft.client.Minecraft>>> TICK_LISTENERS -
RESPAWN_LISTENERS
-
LEVEL_LOADED_LISTENERS
-
LEVEL_UNLOADED_LISTENERS
-
-
Method Details
-
passOnStart
public static void passOnStart(net.minecraft.client.Minecraft client) -
passOnStop
public static void passOnStop(net.minecraft.client.Minecraft client) -
passOnTick
-
passOnRespawn
public static void passOnRespawn(net.minecraft.client.player.LocalPlayer player) -
passOnLevelLoad
public static void passOnLevelLoad(net.minecraft.client.multiplayer.ClientLevel level) -
passOnLevelUnload
public static void passOnLevelUnload(net.minecraft.client.multiplayer.ClientLevel level)
-