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
IAction now have a logger argument: shouldApplyOn(final IScriptLoadSource source) => shouldApplyOn(final IScriptLoadSource source, final Logger logger)
the same applies to assertLoader
in public final class RegisterObjectAction<T> implements ContentTweakerAction the following method needs to be added: public String systemName() {return ContentTweakerConstants.MOD_NAME;}
CraftTweakerAPI.LOGGER no longer exists.
two options to its are to either use ContentTweakerCore.LOGGER or add public static final Logger LOGGER = CraftTweakerAPI.getLogger(ContentTweakerConstants.MOD_NAME); to ContentTweakerApi
The text was updated successfully, but these errors were encountered:
I looked into it myself but got stuck on several points. Here are some of the progress I figured out.
I believe the gradle.properties should be the following:
IAction
now have a logger argument:shouldApplyOn(final IScriptLoadSource source)
=>shouldApplyOn(final IScriptLoadSource source, final Logger logger)
the same applies to
assertLoader
in
public final class RegisterObjectAction<T> implements ContentTweakerAction
the following method needs to be added:public String systemName() {return ContentTweakerConstants.MOD_NAME;}
CraftTweakerAPI.LOGGER
no longer exists.two options to its are to either use
ContentTweakerCore.LOGGER
or addpublic static final Logger LOGGER = CraftTweakerAPI.getLogger(ContentTweakerConstants.MOD_NAME);
toContentTweakerApi
The text was updated successfully, but these errors were encountered: