lightning2401 / northstar

Inspired by Micdoodle's Galacticraft, Northstar seeks to return players to the stars with the power of the Create mod.
34 stars 11 forks source link

Feature request: customization and configurability through datapacks #38

Open mappleaf opened 3 months ago

mappleaf commented 3 months ago

As said in title, there is no customization or expandability potential. Modpack creators and even you will stuck with this code structure. Imagine if you have 10 dimensions: you need manually add all values into code and hard-code it – not so convenient and no one (except addon-creators) can create their own planets, orbits or something else. Another example: you added orbit to all planets, and with every new planet you need to add 2 dimensions manually through code. As of examples above, current system works will not so well in future and will cause frustration of coder. I suggest you to implement universal datapack entries to add new planets (or any locations to travel to), their settings and any needed values. You just need to parse all data and that's it.

lightning2401 commented 3 months ago

This is planned later down the line. The reason this isn't already implemented is because I wanted to prioritize putting my mod out there.

oliverrook commented 3 months ago

Fair enough. I think a simpler goal before datapacks would be a simple config file setup that allows you to add dimensions from existing mods. Such as other space mods like Ad Astra

Just need the dimension, the name, the color/icon of the planet on the map/telescope and the positioning of it.

Zaroz commented 3 months ago

Fair enough. I think a simpler goal before datapacks would be a simple config file setup that allows you to add dimensions from existing mods. Such as other space mods like Ad Astra

Just need the dimension, the name, the color/icon of the planet on the map/telescope and the positioning of it.

+1 to this idea! I was about to suggest this if someone else hadn't already. It would be a godsend to modpack creators who would want to add custom dimensions as planets (myself included!).