Class StrongholdLibraryBookSpawnHandler
java.lang.Object
johnsmith.enchantingoverhauled.entity.spawn.StrongholdLibraryBookSpawnHandler
-
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.util.random.WeightedList<net.minecraft.world.level.biome.MobSpawnSettings.SpawnerData> appendIfInStrongholdLibrary(net.minecraft.server.level.ServerLevel level, net.minecraft.world.level.StructureManager structureManager, net.minecraft.world.entity.MobCategory category, net.minecraft.core.BlockPos pos, net.minecraft.util.random.WeightedList<net.minecraft.world.level.biome.MobSpawnSettings.SpawnerData> original) static booleanisInsideStrongholdLibrary(net.minecraft.server.level.ServerLevel level, net.minecraft.world.level.StructureManager structureManager, net.minecraft.core.BlockPos pos)
-
Method Details
-
appendIfInStrongholdLibrary
public static net.minecraft.util.random.WeightedList<net.minecraft.world.level.biome.MobSpawnSettings.SpawnerData> appendIfInStrongholdLibrary(net.minecraft.server.level.ServerLevel level, net.minecraft.world.level.StructureManager structureManager, net.minecraft.world.entity.MobCategory category, net.minecraft.core.BlockPos pos, net.minecraft.util.random.WeightedList<net.minecraft.world.level.biome.MobSpawnSettings.SpawnerData> original) -
isInsideStrongholdLibrary
public static boolean isInsideStrongholdLibrary(net.minecraft.server.level.ServerLevel level, net.minecraft.world.level.StructureManager structureManager, net.minecraft.core.BlockPos pos)
-