Class LecternBookshelfUtils
java.lang.Object
com.binaris.wizardry.content.block.LecternBookshelfUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleancontainsSpell(net.minecraft.world.Container bookshelf, Spell spell) findAvailableSpells(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos centre) static List<net.minecraft.core.BlockPos>findBookshelfPositions(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos centre) static List<net.minecraft.core.BlockPos>findBookshelvesContaining(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos centre, Spell spell) static net.minecraft.world.ContainergetBookshelf(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos) static int
-
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
-
findBookshelvesContaining
-
containsSpell
-
getBookshelf
public static net.minecraft.world.Container getBookshelf(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos)
-