gatherStats(Level, BlockPos) | StatCollection | Both | The clamped shelf stats (Eterna, Quanta, Arcana, Rectification, Clues, blacklist, treasure flag) an enchanting table at that position would scan right now. |
getEnchantmentInfo(Holder<Enchantment>) | EnchantmentInfo | Both | Effective max level, max loot level, level cap, power functions and enabled flag for one enchantment, config overrides applied. |
getAllEnchantmentInfo() | Map<ResourceKey<Enchantment>, EnchantmentInfo> | Both | The same, for every registered enchantment. |
getStoredPoints(Level, BlockPos, ResourceKey<Enchantment>) | OptionalInt | Both | Points stored for one enchantment in the Enchantment Library at that position; empty if the block is not a library. |
rollLootEnchantments(ServerLevel, RandomSource, ItemStack, int, boolean) | List<EnchantmentInstance> | Server | Roll enchantments for a stack through Meridian's selection engine at the given power, optionally allowing treasure; clamped to each entry's loot cap. Empty when the item is unenchantable or nothing rolls. |