NOVA-Monorepo
NOVA-Monorepo copied to clipboard
Replacing existing game content
This was discussed over IRC and Vic asked me to post the issue for it here.
Essentially this is a suggestion to create the ability for mod authors to replace existing base game content with NOVA content instead. This should extend to all content allowed by NOVA. As of right now, I can think of Blocks, Items, UI screens (including HUD), Recipes and Entities (Creatures mostly, but minecarts as well?).
Essentially this would work by allowing a mod to test for the existence of an object to be replaced and then if so desired, replace said item with their own object. Alternatively, a mod should also be able to remove an object (blocks become air, items are removed, UIs won't open, etc.). If a mod attempts to replace an object without testing for it and it doesn't exist, it fails gracefully.
This would allow for overhaul mods to be created as well as tweak mods like Minetweaker. If done in a way that is very easy to utilize by a mod author, I feel like it could create a large appeal for the project as a whole as replacing features has traditionally been pretty frustrating to do and maintain across game versions (which has severely limited overhaul mods).
I would think some objects would be a tad difficult to remove. But if you say so.
On Fri, 5 Jun 2015 11:12 am Ecu [email protected] wrote:
This was discussed over IRC and Vic asked me to post the issue for it here.
Essentially this is a suggestion to create the ability for mod authors to replace existing base game content with NOVA content instead. This should extend to all content allowed by NOVA. As of right now, I can think of Blocks, Items, UI screens (including HUD), Recipes and Entities (Creatures mostly, but minecarts as well?).
Essentially this would work by allowing a mod to test for the existence of an object to be replaced and then if so desired, replace said item with their own object. Alternatively, a mod should also be able to remove an object (blocks become air, items are removed, UIs won't open, etc.). If a mod attempts to replace an object without testing for it and it doesn't exist, it fails gracefully.
This would allow for overhaul mods to be created as well as tweak mods like Minetweaker. If done in a way that is very easy to utilize by a mod author, I feel like it could create a large appeal for the project as a whole as replacing features has traditionally been pretty frustrating to do and maintain across game versions (which has severely limited overhaul mods).
— Reply to this email directly or view it on GitHub https://github.com/NOVA-Team/NOVA-Core/issues/95.
@gjgfuj, it depends on the game/wrapper, for instance in MC with Forge, you can easily remove a large amount of the Mojang created content.
Didn't include player model replacement. That would be another thing that would be important to offer. Since, if you wanted to create a unified experience regardless of game using your mod...you'd need to be able to replace the palyer model with your own.
Also incredibly useful to create mods like Morph.
I got an idea... use events when the registry removes stuff. Then bind an event to the remove event and if the block is a MC block, remove it from MC.