Class DimensionTravelHooks

java.lang.Object
net.ixdarklord.coolcatcore.internal.event.DimensionTravelHooks

public final class DimensionTravelHooks extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    mayTravel(net.minecraft.server.level.ServerPlayer player, net.minecraft.server.level.ServerLevel destination)
    Whether the player may go to destination; if not, they're given a portal cooldown.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • mayTravel

      public static boolean mayTravel(net.minecraft.server.level.ServerPlayer player, net.minecraft.server.level.ServerLevel destination)
      Whether the player may go to destination; if not, they're given a portal cooldown.