Metamorph 1.1
mchorse opened this issue · 1 comments
Metamorph 1.1
is an upcoming update that will add support for public API (allowing creating morph add-ons for this mod) and custom mods mob support.
General
General stuff.
Public API will allow modders to create add-ons (morph packs) for Metamorph. It will also be used by Blockbuster mod for managing actor's custom models, skins and player morphing.
- Public API
- Events
- Morph event – when player gets morphed into a new morph
- Acquire morph event – when player acquires a morph
- Morph action event – when player uses an action
- Morphing API
- Make a player acquire a morph
- Morph a player into given morph
- Demorph a player
-
IMorphFactory
– interface for adding abilities, attacks, actions and morphs to the game -
IHandProvider
– interface for providingModelRenderer
s for first-person
- Events
- Option for not getting morphs by killing mobs
- Import merged code from Blockbuster mod
No animations for now (I don't know how to implement it anyways). About Public API. Take look over mchorse.metamorph.api
package and tell me if it's enough of functionality for your mods. Currently API is in-development and some features might be absent. Let me know if you want to collaborate with me (or specifically adjust Public API so that it adds something, meanwhile benefits everybody).
Morphs
A big upgrade goes to the morphs in this update.
Don't confuse custom mob morphing and custom morphs. Custom mob morphing feature will add ability to morph into any EntityLivingBase mob. While custom morphs feature will allow third-party modders to create their unique custom morphs using custom models or their ModelBase models, and users could setup their own morphs using custom models and some little JSON configuration.
Custom mob morphing will be implemented by grabbing NBT data of the entity, creating an instance of this entity and rendering player based on this entity with its own renderer, but it will make mobs unable to appear in all variations (only the original one) in the Creative Morph Menu, so we'll have to create a special factory that will be responsible for generating variations of the morphs in the Creative Morph Menu.
- Custom mob morphing
- First-person hand rendering
- Custom morphs
- User morph configuration
- Improve the handling of
swim
ability - Make suffocating on air for
swim
ability
Enhancements
Morph categories will be used in moprh menus (creative and survival). It will ease navigation of morphs in the morphs menu.
Survival menu should be improved by allowing the people to "focus" it (opening it as a GUI). In this GUI, people should be able to favorite their morphs, switch between categories of morphs seen in the Survival Morph Menu, and filter the available morphs via text field.
- Enhance Creative morph menu
- Separate into sections: current selected morph, and all morphs
- Add an "Acquire" morph button along with morph button
- Add searching and sorting by alphabet
- Enhance Survival morph menu
- Merge morph variants into one morph
- Add keys for selecting between variants
- Add filtering by favorites
- Add morph removing
- Add morph favoriting
- Make the menu "focusable"
- Merge morph variants into one morph