ContentTweaker

ContentTweaker

27M Downloads

When do we get 1.20.1?

millennIumAMbiguity opened this issue ยท 0 comments

commented

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:

org.gradle.jvmargs=-Xmx3G
org.gradle.daemon=false
org.gradle.parallel=true
org.gradle.warning.mode=all

mod.id=contenttweaker
mod.name=ContentTweaker
mod.author=CraftTweaker Team
mod.version=2.0.0
mod.curse=https://www.curseforge.com/minecraft/mc-mods/contenttweaker
mod.curse-id=237065
mod.avatar=https://i.blamejared.com/cot.png
mod.first-commit=b762862ec40682cfa40f56e730d73b3bf3eb568f
mod.repo=https://github.com/CraftTweaker/ContentTweaker

minecraft.version=1.20.1
minecraft.forge.version=47.2.0
minecraft.forge.mappings.channel=parchment
minecraft.forge.mappings.version=2023.09.03-1.20.1
minecraft.fabric.mappings=2023.09.03

arch.forge.version=9.2.14
cloth.forge.version=11.1.106
ct.version=14.0.38
fl.version=0.14.22
fapi.version=0.92.0+1.20.1
rei.fabric.version=12.0.684
rei.forge.version=12.0.684

java.version=17

release.fabric.status=beta
release.forge.status=beta

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