Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modder Support for adding custom Modules / Units 1.16.4 #6846

Closed
Robocraft999 opened this issue Jan 6, 2021 · 1 comment
Closed

Modder Support for adding custom Modules / Units 1.16.4 #6846

Robocraft999 opened this issue Jan 6, 2021 · 1 comment

Comments

@Robocraft999
Copy link

Is there a way to add custum modules in my own mod ? I tryed it by creating my own Modules class, but I cant init my Modules, because the method only accepts Modules.ModuleData, which i cant use because its constructor is private.
I think a solution is to add a public
addModule(String name, LangEntry name? (or String) , LangEntry (or String) description, Supplier<ModuleData<>> module, int stackcount).

Please add something in this direction. Thanks.

Robocraft999

@Robocraft999 Robocraft999 changed the title Modder Support for adding custom Modules / Units Modder Support for adding custom Modules / Units 1.16.4 Jan 6, 2021
@pupnewfster pupnewfster added this to the 10.1.0 milestone Jan 6, 2021
@pupnewfster
Copy link
Member

For 10.1 I will try to move more stuff to the API module in relation to making some of the newer V10 systems more expandable, though it may be a bit until this is done though, as recently I have been spending most of my time modding trying to finish porting another mod I have been neglecting to 1.16

pupnewfster added a commit that referenced this issue May 10, 2021
…allow for addons to create custom modules and add them as supported to the Meka-Tool or MekaSuit #6846.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants