Skip to content

Instantly share code, notes, and snippets.

View ChampionAsh5357's full-sized avatar

ChampionAsh5357

View GitHub Profile
@ChampionAsh5357
ChampionAsh5357 / 1206-121-primer.md
Last active November 30, 2024 03:18
Minecraft 1.20.5/6 -> 1.21 Mod Migration Primer

Minecraft 1.20.5/6 -> 1.21 Mod Migration Primer

This is a high level, non-exhaustive overview on how to migrate your mod from 1.20.5/6 to 1.21. 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 / 1204-1205-primer.md
Last active July 12, 2024 13:50
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 September 4, 2024 17:53
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 July 18, 2024 20:40
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 September 26, 2024 17:26
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'