Spotless + some reworking and renaming

This commit is contained in:
GTNH-Colen committed 2023-10-21 23:35:00 +01:00
1 parent fa3471ef67
commit ac466cc02a
10 files changed
+21 -19

No files matched your search

+1 -1
View File
@@ -35,5 +35,5 @@
*/
dependencies {
api('com.github.GTNewHorizons:SpongePoweredMixin:0.8.5-GTNH-2:dev')
api('com.github.GTNewHorizons:GT5-Unofficial:5.09.44.30:dev')
//api('com.github.GTNewHorizons:GT5-Unofficial:5.09.44.30:dev')
}
+4 -4
View File
@@ -1,9 +1,9 @@
modName = MyMod
modName = Postea
# This is a case-sensitive string to identify your mod. Convention is to use lower case.
modId = mymodid
modId = postea
modGroup = com.myname.mymodid
modGroup = com.colen.postea
# WHY is there no version field?
# The build script relies on git to provide a version via tags. It is super easy and will enable you to always know the
@@ -37,7 +37,7 @@ enableModernJavaSyntax = true
enableGenericInjection = false
# Generate a class with String fields for the mod id, name, version and group name named with the fields below
generateGradleTokenClass = com.myname.mymodid.Tags
generateGradleTokenClass = com.colen.postea.Tags
gradleTokenModId = MODID
gradleTokenModName = MODNAME
gradleTokenVersion = VERSION
@@ -1,4 +1,4 @@
package com.myname.mymodid.API;
package com.colen.postea.API;
import java.util.Objects;
@@ -1,4 +1,4 @@
package com.myname.mymodid.API;
package com.colen.postea.API;
import java.util.HashMap;
import java.util.Map;
@@ -1,4 +1,4 @@
package com.myname.mymodid;
package com.colen.postea;
import cpw.mods.fml.common.Mod;
@@ -1,4 +1,4 @@
package com.myname.mymodid.mixins;
package com.colen.postea.mixins;
import java.util.ArrayList;
import java.util.List;
@@ -37,7 +37,7 @@ public final class PosteaLoadingPlugin implements IEarlyMixinLoader, IFMLLoading
@Override
public String getMixinConfig() {
return "mixins.mymodid.early.json";
return "mixins.postea.early.json";
}
@Override
@@ -1,4 +1,4 @@
package com.myname.mymodid.mixins.early;
package com.colen.postea.mixins.early;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
@@ -11,8 +11,8 @@ import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
import com.myname.mymodid.API.ItemStackKey;
import com.myname.mymodid.API.ReplacementManager;
import com.colen.postea.API.ItemStackKey;
import com.colen.postea.API.ReplacementManager;
@Mixin(ItemStack.class)
public abstract class MixinItemStack {
+2 -2
View File
@@ -3,12 +3,12 @@
"modList": [{
"modid": "${modId}",
"name": "${modName}",
"description": "An example mod for Minecraft 1.7.10 with Forge focused on a stable setup.",
"description": "Utility mod for converting ItemStacks.",
"version": "${modVersion}",
"mcversion": "${minecraftVersion}",
"url": "https://github.com/SinTh0r4s/MyMod",
"updateUrl": "",
"authorList": ["SinTho0r4s"],
"authorList": ["Colen"],
"credits": "",
"logoFile": "",
"screenshots": [],
@@ -1,11 +1,13 @@
{
"required": true,
"minVersion": "0.8.5-GTNH",
"package": "com.myname.mymodid.mixins.early",
"refmap": "mixins.mymodid.refmap.json",
"package": "com.colen.postea.mixins.early",
"refmap": "mixins.postea.refmap.json",
"target": "@env(DEFAULT)",
"compatibilityLevel": "JAVA_8",
"mixins": [],
"mixins": [
"MixinItemStack"
],
"client": [],
"server": []
}
@@ -1,7 +1,7 @@
{
"required": true,
"minVersion": "0.8.5-GTNH",
"refmap": "mixins.mymodid.refmap.json",
"refmap": "mixins.postea.refmap.json",
"target": "@env(DEFAULT)",
"compatibilityLevel": "JAVA_8",
"mixins": [],