You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Robocraft999
changed the title
Modder Support for adding custom Modules / Units
Modder Support for adding custom Modules / Units 1.16.4
Jan 6, 2021
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
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
The text was updated successfully, but these errors were encountered: