Skip to content

Commit

Permalink
Fixed mixin related crash
Browse files Browse the repository at this point in the history
  • Loading branch information
Miki-Tellurium committed May 25, 2023
1 parent 373723f commit c295d44
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
22 changes: 10 additions & 12 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ buildscript {
apply plugin: 'net.minecraftforge.gradle'
apply plugin: 'org.spongepowered.mixin'

version = '1.0.1-1.19.4-forge'
version = '1.0.2-1.19.4-forge'
group = 'com.mikitellurium.potionsreglint'
archivesBaseName = 'potionsreglint'

Expand All @@ -30,14 +30,11 @@ minecraft {
client {
workingDirectory project.file('run')


property 'forge.logging.markers', 'REGISTRIES'


property 'forge.logging.console.level', 'debug'


property 'forge.enabledGameTestNamespaces', 'potionsreglint'
property 'mixin.env.remapRefMap', 'true'
property 'mixin.env.refMapRemappingFile', "${projectDir}/build/createSrgToMcp/output.srg"

mods {
potionsreglint {
Expand All @@ -50,10 +47,10 @@ minecraft {
workingDirectory project.file('run')

property 'forge.logging.markers', 'REGISTRIES'

property 'forge.logging.console.level', 'debug'

property 'forge.enabledGameTestNamespaces', 'potionsreglint'
property 'mixin.env.remapRefMap', 'true'
property 'mixin.env.refMapRemappingFile', "${projectDir}/build/createSrgToMcp/output.srg"

mods {
potionsreglint {
Expand All @@ -66,10 +63,10 @@ minecraft {
workingDirectory project.file('run')

property 'forge.logging.markers', 'REGISTRIES'

property 'forge.logging.console.level', 'debug'

property 'forge.enabledGameTestNamespaces', 'potionsreglint'
property 'mixin.env.remapRefMap', 'true'
property 'mixin.env.refMapRemappingFile', "${projectDir}/build/createSrgToMcp/output.srg"

mods {
potionsreglint {
Expand All @@ -82,8 +79,9 @@ minecraft {
workingDirectory project.file('run')

property 'forge.logging.markers', 'REGISTRIES'

property 'forge.logging.console.level', 'debug'
property 'mixin.env.remapRefMap', 'true'
property 'mixin.env.refMapRemappingFile', "${projectDir}/build/createSrgToMcp/output.srg"

args '--mod', 'potionsreglint', '--all', '--output', file('src/generated/resources/'), '--existing', file('src/main/resources/')

Expand Down Expand Up @@ -125,7 +123,7 @@ jar {
attributes([
"Specification-Title" : "Potions Re-Glint",
"Specification-Vendor" : "Miki Tellurium",
"Specification-Version" : "1.0.1-1.19.4-forge",
"Specification-Version" : "1.0.2-1.19.4-forge",
"Implementation-Title" : project.name,
"Implementation-Version" : project.jar.archiveVersion,
"Implementation-Vendor" : "Miki Tellurium",
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ license="All rights reserved"
#issueTrackerURL="https://change.me.to.your.issue.tracker.example.invalid/" #optional
[[mods]] #mandatory
modId="potionsreglint" #mandatory
version="1.0.1-1.19.4" #mandatory
version="1.0.2-1.19.4" #mandatory
# A display name for the mod
displayName="Potions Re-Glint" #mandatory
#updateJSONURL="https://change.me.example.invalid/updates.json" #optional
Expand Down

0 comments on commit c295d44

Please sign in to comment.