Class CommonEvents.Levels

java.lang.Object
net.rebel459.unified.impl.core.CommonEvents.Levels
Enclosing class:
CommonEvents

public static class CommonEvents.Levels extends Object
  • Field Details

    • LEVEL_LOADED_LISTENERS

      public static final List<Consumer<net.minecraft.world.level.Level>> LEVEL_LOADED_LISTENERS
    • LEVEL_UNLOADED_LISTENERS

      public static final List<Consumer<net.minecraft.world.level.Level>> LEVEL_UNLOADED_LISTENERS
    • LEVEL_TICK_LISTENERS

      public static final EnumMap<EventTiming, List<Consumer<net.minecraft.world.level.Level>>> LEVEL_TICK_LISTENERS
  • Method Details

    • passOnLoad

      public static void passOnLoad(net.minecraft.world.level.Level level)
    • passOnUnload

      public static void passOnUnload(net.minecraft.world.level.Level level)
    • passOnTick

      public static void passOnTick(EventTiming type, net.minecraft.world.level.Level level)