Class HandlerUtil

java.lang.Object
de.z0rdak.yawp.handler.HandlerUtil

public final class HandlerUtil extends Object
  • Method Details

    • getDimKey

      public static net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> getDimKey(net.minecraft.world.entity.Entity entity)
    • getDimKey

      public static net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> getDimKey(net.minecraft.world.level.Level world)
    • isAnimal

      public static boolean isAnimal(net.minecraft.world.entity.Entity entity)
    • isServerSide

      public static boolean isServerSide(net.minecraft.world.entity.Entity entity)
    • isServerSide

      public static boolean isServerSide(net.minecraft.world.level.LevelAccessor world)
    • isServerSide

      public static boolean isServerSide(net.minecraft.world.level.Level world)
    • isVillager

      public static boolean isVillager(net.minecraft.world.entity.Entity entity)
    • isMonster

      public static boolean isMonster(net.minecraft.world.entity.Entity entity)
    • notServerSideOrPlayerNull

      public static boolean notServerSideOrPlayerNull(net.minecraft.world.entity.Entity entity)
    • syncPlayerInventory

      public static void syncPlayerInventory(net.minecraft.world.level.Level world, net.minecraft.world.entity.player.Player player)
    • updateBlockState

      public static void updateBlockState(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos)
    • getFlagMapRecursive

      public static Map<String,FlagCorrelation> getFlagMapRecursive(IProtectedRegion region, Map<String,FlagCorrelation> carry)