Pokecube-Development / Pokecube-Issues-and-Wiki

This is where all issues for the core pokecube mods should go, also this is where the main wiki should be maintained
MIT License
30 stars 24 forks source link

More Configuration Options #1138

Open TheSignalist opened 11 months ago

TheSignalist commented 11 months ago

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:

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

Thutmose commented 11 months ago

NPC trades are mostly defined here:

https://github.com/Pokecube-Development/Pokecube-Issues-and-Wiki/tree/1.18.2/src/main/resources/data/pokecube_mobs/database/trainer

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.

TheSignalist commented 11 months ago

And, I was being a newb xD

Thank a lot for the info! I'll be having a look at those, although I'll have to wait until I have access to my pc again in 2 weeks time.