Skip to content

Commit

Permalink
fix BiomeAccessor mixin
Browse files Browse the repository at this point in the history
  • Loading branch information
Draylar committed Dec 21, 2021
1 parent da3318f commit 3b3c6a3
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 7 deletions.
10 changes: 5 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ minecraft {
}

repositories {
mavenLocal()
maven { url 'https://jitpack.io' }

// Needed to retrieve Cloth Config Lite for Omega Config in development environments.
maven {
Expand All @@ -35,10 +35,10 @@ dependencies {
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.api_version}"

// Omega Config & ModMenu for testing configuration screen
include("draylar.omega-config:omega-config-base:${project.omega_config_version}")
include("draylar.omega-config:omega-config-gui:${project.omega_config_version}")
modImplementation("draylar.omega-config:omega-config-base:${project.omega_config_version}")
modImplementation("draylar.omega-config:omega-config-gui:${project.omega_config_version}")
include("com.github.Draylar.omega-config:omega-config-base:${project.omega_config_version}")
include("com.github.Draylar.omega-config:omega-config-gui:${project.omega_config_version}")
modImplementation("com.github.Draylar.omega-config:omega-config-base:${project.omega_config_version}")
modImplementation("com.github.Draylar.omega-config:omega-config-gui:${project.omega_config_version}")
modRuntimeOnly ("com.terraformersmc:modmenu:${project.modmenu_version}")
}

Expand Down
1 change: 0 additions & 1 deletion src/main/resources/blizzard.precipitation.mixins.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"plugin": "draylar.snowdrift.mixins.plugins.BlizzardPrecipitationMixinPlugin",
"compatibilityLevel": "JAVA_8",
"mixins": [
"BiomeAccessor",
"BlizzardLevelPropertiesMixin"
],
"injectors": {
Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
},
"mixins": [
"blizzard.mixins.json",
"blizzard.precipitation.mixins.json"
"blizzard.precipitation.mixins.json",
"snowdrift.mixins.json"
],
"depends": {
"fabricloader": ">=0.4.0",
Expand Down
11 changes: 11 additions & 0 deletions src/main/resources/snowdrift.mixins.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"required": true,
"package": "draylar.snowdrift.mixins",
"compatibilityLevel": "JAVA_8",
"mixins": [
"BiomeAccessor"
],
"injectors": {
"defaultRequire": 1
}
}

0 comments on commit 3b3c6a3

Please sign in to comment.