More Configuration Options
TheSignalist opened this issue ยท 2 comments
Is your feature request related to a problem? Please describe.
I'm building a personal (will probably release it at a later date) mod pack with Pokecube being the center of it.
While doing so I've noticed the need to change a few things, such as trades and structure spawns, trainers logic, that are currently not present as options in the configs.
Describe the solution you'd like
I'd like for it to be possible to:
- Modify trades with NPCs, block certain items from appearing and change what is asked for certain items
- Change structure spawn logic such as structure min distance from other structures, rarity of certain structures, block structures from appearing
- Modify trainer density as well as trainer pokemon levels (maybe based on a ration such as the pokemon lvls) and change aggression type, such as make it possible for trainers not to interact with player unless player starts interaction first (I've found a workaround for this by making their view range 0, but I believe this had unintended effects such as them not battling wild pokemons)
Describe alternatives you've considered
I'm currently looking into making some changes through KubeJS, for example I found a workaround to "remove" trades, although I can't remove them I was able to disable them, although it is messy codewise
NPC trades are mostly defined here:
A regular vanilla-like datapack should be able to replace them.
Structure spawn logic should be all configurable via the datapack registrations for them as well, generally found here:
https://github.com/Pokecube-Development/Pokecube-Issues-and-Wiki/tree/1.18.2/src/main/resources/data/pokecube/worldgen and https://github.com/Pokecube-Development/Pokecube-Issues-and-Wiki/tree/1.18.2/src/main/resources/data/pokecube_legends/worldgen, the details for those differ from 1.18 and later though
I can look into things for the npc pokemob's levels.