Skip to content

Commit

Permalink
fix: mixins properly apply again (double jump and running was broken)
Browse files Browse the repository at this point in the history
  • Loading branch information
sekwah41 committed Aug 5, 2023
1 parent c34fc96 commit a8453b1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,6 @@ See the [Release please config](./release-please-config.json) for the types avai
## Using release-please-actions
If you are wanting to use the same release configuration check out the [release-please-action](https://github.com/google-github-actions/release-please-action).
You should be able to leave out the token part though if you also want testing snapshots to automatically post you will need to create a PAT and use that otherwise the actions will not trigger.

## If you are using the jetbrains runtime
For DCEVM -XX:+AllowEnhancedClassRedefinition
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,9 @@ buildscript {
plugins {
id "com.modrinth.minotaur" version "2.+"
id "com.matthewprenger.cursegradle" version "1.4.0"
id 'net.minecraftforge.gradle' version '[6.0,6.2)'
id 'net.neoforged.gradle' version '[6.0.13, 6.2)'
}

apply plugin: 'net.minecraftforge.gradle'
apply plugin: "java"
apply plugin: 'eclipse'
apply plugin: 'org.parchmentmc.librarian.forgegradle'
Expand Down Expand Up @@ -154,12 +153,12 @@ dependencies {
// Specify the version of Minecraft to use, If this is any group other then 'net.minecraft' it is assumed
// that the dep is a ForgeGradle 'patcher' dependency. And it's 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.20.1-47.0.14'
minecraft 'net.neoforged:forge:1.20.1-47.1.62'

implementation 'org.spongepowered:mixin:0.8.5'
annotationProcessor 'org.spongepowered:mixin:0.8.5:processor'

implementation fg.deobf("com.sekwah:SekCLib:[1.0.0,2)")
implementation fg.deobf("com.sekwah:sekclib-forge:[1.0.0,2)")
// Trick intellij to allow for better editing in here for the discord task
// compile "org.apache.httpcomponents:httpmime:4.5.13"
//implementation fg.deobf("curse.maven:torohealth-damage-indicators-245733:3556931")
Expand Down Expand Up @@ -206,6 +205,7 @@ jar {
"Implementation-Version": "${versionString}",
"Implementation-Vendor" :project.vendor,
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ"),
"MixinConfigs": "mixins.${project.modid}.json"
])
}
}
Expand Down
4 changes: 2 additions & 2 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ pluginManagement {
repositories {
gradlePluginPortal()
maven {
name = 'MinecraftForge'
url = 'https://maven.minecraftforge.net/'
name = 'NeoForge'
url = 'https://maven.neoforged.net/releases'
}
}
}
Expand Down

0 comments on commit a8453b1

Please sign in to comment.