Skip to content

Instantly share code, notes, and snippets.

View ChampionAsh5357's full-sized avatar

ChampionAsh5357

View GitHub Profile
@ChampionAsh5357
ChampionAsh5357 / 1204-1205-primer.md
Last active April 26, 2024 14:36
Minecraft 1.20.4 -> 1.20.5 Mod Migration Primer

Minecraft 1.20.4 -> 1.20.5 Mod Migration Primer

This is a high level, non-exhaustive overview on how to migrate your mod from 1.20.4 to 1.20.5. This does not look at any specific mod loader, just the changes to the vanilla classes.

This primer is licensed under the Creative Commons Attribution 4.0 International, so feel free to use it as a reference and leave a link so that other readers can consume the primer.

If there's any incorrect or missing information, please leave a comment below. Thanks!

Pack Changes

@ChampionAsh5357
ChampionAsh5357 / fg5-fg6-primer.md
Last active January 3, 2024 21:23
ForgeGradle 5 -> 6 Migration Primer

ForgeGradle 5 -> 6 Migration Primer

This is a high level, non-exhaustive overview on how to migrate your buildscript from ForgeGradle 5 to 6.

This primer is licensed under the Creative Commons Attribution 4.0 International, so feel free to use it as a reference and leave a link so that other readers can consume the primer.

If there's any incorrect or missing information, please leave a comment below. Thanks!

Add Foojay Toolchains Plugin

@ChampionAsh5357
ChampionAsh5357 / 1194-120-primer.md
Last active April 13, 2024 15:36
Minecraft 1.19.4 -> 1.20 Mod Migration Primer

Minecraft 1.19.4 -> 1.20 Mod Migration Primer

This is a high level, non-exhaustive overview on how to migrate your mod from 1.19.4 to 1.20 using Forge.

This primer is licensed under the Creative Commons Attribution 4.0 International, so feel free to use it as a reference and leave a link so that other readers can consume the primer.

If there's any incorrect or missing information, please leave a comment below. Thanks!

Pack Changes

@ChampionAsh5357
ChampionAsh5357 / 1193-1194-primer.md
Last active January 25, 2024 03:35
Minecraft 1.19.3 -> 1.19.4 Mod Migration Primer

Minecraft 1.19.3 -> 1.19.4 Mod Migration Primer

This is a high level, non-exhaustive overview on how to migrate your mod from 1.19.3 to 1.19.4 using Forge.

This primer is licensed under the Creative Commons Attribution 4.0 International, so feel free to use it as a reference and leave a link so that other readers can consume the primer.

If there's any incorrect or missing information, please leave a comment below. Thanks!

Pack Changes

@ChampionAsh5357
ChampionAsh5357 / 1192-1193-primer.md
Last active February 13, 2024 05:19
Minecraft 1.19.2 -> 1.19.3 Mod Migration Primer

Minecraft 1.19.2 -> 1.19.3 Mod Migration Primer

This is a high level, non-exhaustive overview on how to migrate your mod from 1.19.2 to 1.19.3 using Forge.

This primer is licensed under the Creative Commons Attribution 4.0 International, so feel free to use it as a reference and leave a link so that other readers can consume the primer.

If there's any incorrect or missing information, please leave a comment below. Thanks!

Feature Flags

@ChampionAsh5357
ChampionAsh5357 / build.gradle.kts
Created May 20, 2021 03:47
Kotlin Buildscript
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
import net.minecraftforge.gradle.common.util.RunConfig
import net.minecraftforge.gradle.userdev.UserDevExtension
import net.minecraftforge.gradle.userdev.DependencyManagementExtension
import java.time.Instant
import java.time.format.DateTimeFormatter
// Attach plugins
plugins {
// The ForgeGradle Plugin, necessary to create the userdev environment and build mods
@ChampionAsh5357
ChampionAsh5357 / build.gradle
Last active May 19, 2021 18:09
Multilingual Mod Examples Buildscript
// Attach plugins
plugins {
// The ForgeGradle Plugin, necessary to create the userdev environment and build mods
id 'net.minecraftforge.gradle' version '4.1.+'
// Language Specific Plugins go here
// Language: Plugin:
// Java 'java-library'
// Kotlin 'org.jetbrains.kotlin.jvm' (needs version identifier)
// Scala 'scala'
// Groovy 'groovy'