Iron's Spells 'n Spellbooks

Iron's Spells 'n Spellbooks

19M Downloads

Make Spell Rarity Configuration affect Chest Loot

ironfprcefeild opened this issue ยท 6 comments

commented

Description

Currently, whether intentionally or by bug, the server config for scroll drops only effects mob drops and not chest loot. This makes it basically useless when trying to balance a modpack.

This config, or another similar one, should also modify the chest loottables.

Not a feature request

  • I understand this is not a content/feature request, which can be found on discord
commented

this is incorrect, all loot tables use the same generation

commented

I did change the chances of certain spell levels to 0, and still got them through the /loot command. Im on a 1.20.1 server using version 3.4.0. Have you heard of anything like this happening?

commented

there are no configurable "chances", whatever youre editing does not do what you think it does

commented

So what is the actual purpose of the rarity config array? (The first entry in the serverconfig file). I assumed a value of 0 would prevent that rarity of spells from appearing in loot chests. If that isn't the intent I think it would make a very helpful config option.

Is there some other method of preventing certain rarities of spells from spawning?

commented

the rarity array is the percent of level that encompasses each rarity.

there is no way to prevent certain rarities from spawning with config or a datapack, something that nuanced would require an addon

commented

I think you should clarify the defualt comment above the config setting, I bet a lot of people have had the same misunderstanding.

It also seems a bit silly that you can't change the rate of each rarity spawning. Makes it very difficult to balance a modpack including this mod. Not sure how you have hooked up your config and loot table functions but this seems doable.