Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
plugins {
id 'eclipse'
id 'maven-publish'
id 'net.minecraftforge.gradle' version '5.1.+'
id 'net.minecraftforge.gradle' version '[6.0,6.2)'
}

version = '1.19-1.0.0'
version = '1.20.1-1.0.0'
group = 'com.chaos02.structuredmodloader' // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = 'StructuredModLoader'

Expand All @@ -26,7 +26,7 @@ minecraft {
//
// Use non-default mappings at your own risk. They may not always work.
// Simply re-run your setup task after changing the mappings to update your workspace.
mappings channel: 'official', version: '1.19'
mappings channel: 'official', version: '1.20.1'

// accessTransformer = file('src/main/resources/META-INF/accesstransformer.cfg') // Currently, this location cannot be changed from the default.

Expand Down Expand Up @@ -129,7 +129,7 @@ dependencies {
// Specify the version of Minecraft to use. If this is any group other than 'net.minecraft', it is assumed
// that the dep is a ForgeGradle 'patcher' dependency, and its patches will be applied.
// The userdev artifact is a special name and will get all sorts of transformations applied to it.
minecraft 'net.minecraftforge:forge:1.19-41.0.100'
minecraft 'net.minecraftforge:forge:1.20.1-47.0.35'

// Real mod deobf dependency examples - these get remapped to your current mappings
// compileOnly fg.deobf("mezz.jei:jei-${mc_version}:${jei_version}:api") // Adds JEI API as a compile dependency
Expand All @@ -149,11 +149,11 @@ jar {
manifest {
attributes([
"Specification-Title" : "StructuredModLoader",
"Specification-Vendor" : "Chaos_02",
"Specification-Vendor" : "Chaos_02,Darkona",
"Specification-Version" : "1", // We are version 1 of ourselves
"Implementation-Title" : project.name,
"Implementation-Version" : project.jar.archiveVersion,
"Implementation-Vendor" : "Chaos_02",
"Implementation-Vendor" : "Chaos_02,Darkona",
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")
])
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ public StructuredModLoader() {
public void setup(final FMLCommonSetupEvent event) {
// some preinit code
LOGGER.info(LogMarkers.LOADING, "Hello world from [SML]!!!");
LOGGER.info(LogMarkers.SPLASH,
"A HUGE THANK YOU! to stiebi99#2124 again because literally without him this mod would never exist!");
LOGGER.info(LogMarkers.SPLASH,"...");
}

public class KeywordValidator {
Expand All @@ -72,9 +71,7 @@ public boolean test(String toValidate) {
}
}

private static final Predicate<Object> KeywordValidator = s -> {
return (s instanceof String);
};
private static final Predicate<Object> KeywordValidator = s -> (s instanceof String);

public void configProvider() {
LOGGER.info("Loading Config now! ({})", CONFIGFILE.toString());
Expand Down
10 changes: 5 additions & 5 deletions src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# The name of the mod loader type to load - for regular FML @Mod mods it should be javafml
modLoader="javafml" #mandatory
# A version range to match for said mod loader - for regular FML @Mod it will be the forge version
loaderVersion="[41,42)" #mandatory This is typically bumped every Minecraft version by Forge. See our download page for lists of versions.
loaderVersion="[47)" #mandatory This is typically bumped every Minecraft version by Forge. See our download page for lists of versions.
# The license for you mod. This is mandatory metadata and allows for easier comprehension of your redistributive properties.
# Review your options at https://choosealicense.com/. All rights reserved is the default copyright stance, and is thus the default here.
license="GPL-3.0"
Expand All @@ -24,9 +24,9 @@ displayURL="https://github.com/Chaos02/SubFolderLoader" #optional
# A file name (in the root of the mod JAR) containing a logo for display
logoFile="StructuredModLoader.png" #optional
# A text field displayed in the mod UI
credits="stiebi99#2124 on Discord without whom it would not have been possible to create this mod!" #optional
credits="" #optional
# A text field displayed in the mod UI
authors="Chaos_02" #optional
authors="Chaos02,Darkona" #optional
# Display Test controls the display for your mod in the server connection screen
# MATCH_VERSION means that your mod will cause a red X if the versions on client and server differ. This is the default behaviour and should be what you choose if you have server and client elements to your mod.
# IGNORE_SERVER_VERSION means that your mod will not cause a red X if it's present on the server but not on the client. This is what you should use if you're a server only mod.
Expand All @@ -47,7 +47,7 @@ to provide cleaner modpack structure
# Does this dependency have to exist - if not, ordering below must be specified
mandatory=true #mandatory
# The version range of the dependency
versionRange="[41,42)" #mandatory
versionRange="[47)" #mandatory
# An ordering relationship for the dependency - BEFORE or AFTER required if the relationship is not mandatory
ordering="NONE"
# Side this dependency is applied on - BOTH, CLIENT or SERVER
Expand All @@ -57,6 +57,6 @@ to provide cleaner modpack structure
modId="minecraft"
mandatory=true
# This version range declares a minimum of the current minecraft version up to but not including the next major version
versionRange="[1.19,1.20)"
versionRange="[1.20.1]"
ordering="NONE"
side="BOTH"
2 changes: 1 addition & 1 deletion src/main/resources/pack.mcmeta
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"description": "StructuredModLoader",
"pack_format": 8
"pack_format": 15
}
}