Class PMWUtils

java.lang.Object
net.nullved.pmweatherapi.util.PMWUtils

public class PMWUtils extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    isRadarAdjacent(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> dim, net.minecraft.core.BlockPos pos)
    Determines if a radar is next to the given BlockPos
    static boolean
    isRadarAdjacent(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos)
    Determines if a radar is next to the given BlockPos

    Methods inherited from class java.lang.Object

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

    • PMWUtils

      public PMWUtils()
  • Method Details

    • isRadarAdjacent

      public static boolean isRadarAdjacent(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> dim, net.minecraft.core.BlockPos pos)
      Determines if a radar is next to the given BlockPos
      Parameters:
      dim - The dimension to search in
      pos - The BlockPos to look by
      Returns:
      true if there is a radar adjacent to this block, false otherwise
      Since:
      0.14.16.2
    • isRadarAdjacent

      public static boolean isRadarAdjacent(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos)
      Determines if a radar is next to the given BlockPos
      Parameters:
      level - The Level to search in
      pos - The BlockPos to look by
      Returns:
      true if there is a radar adjacent to this block, false otherwise
      Since:
      0.14.16.2