Class LecternBookshelfUtils

java.lang.Object
com.binaris.wizardry.content.block.LecternBookshelfUtils

public final class LecternBookshelfUtils extends Object
  • Method Details

    • getSearchRadius

      public static int getSearchRadius()
    • findBookshelfPositions

      public static List<net.minecraft.core.BlockPos> findBookshelfPositions(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos centre)
    • findAvailableSpells

      public static List<Spell> findAvailableSpells(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos centre)
    • findBookshelvesContaining

      public static List<net.minecraft.core.BlockPos> findBookshelvesContaining(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos centre, Spell spell)
    • containsSpell

      public static boolean containsSpell(net.minecraft.world.Container bookshelf, Spell spell)
    • getBookshelf

      public static net.minecraft.world.Container getBookshelf(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos)