Skip to content

Commit

Permalink
fixing mixins
Browse files Browse the repository at this point in the history
  • Loading branch information
PssbleTrngle committed Mar 26, 2021
1 parent 2d1a147 commit 08eb48d
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@

{
"required": true,
"package": "com.possible_triangle.brazier.mixin",
"compatibilityLevel": "JAVA_8",
"minVersion": "0.7.11",
"mixins": [
"WoodlandMansionPiecesMixin",
"WorldMixin"
"WorldMixin",
"WoodlandMansionPiecesMixin"
],
"injectors": {
"defaultRequire": 1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.possible_triangle.brazier.mixin;
package com.possible_triangle.brazier.fabric.mixin;

import com.possible_triangle.brazier.block.BrazierBlock;
import net.minecraft.world.entity.Entity;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.possible_triangle.brazier.mixin;
package com.possible_triangle.brazier.fabric.mixin;

import com.possible_triangle.brazier.block.BrazierBlock;
import net.minecraft.world.entity.Entity;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@

{
"required": true,
"package": "com.possible_triangle.brazier.mixin",
"package": "com.possible_triangle.brazier.fabric.mixin",
"compatibilityLevel": "JAVA_8",
"minVersion": "0.7.11",
"mixins": [
"WoodlandMansionPiecesMixin",
"WorldMixin",
"MobMixin",
"PathfinderMobMixin"
],
Expand Down
3 changes: 2 additions & 1 deletion fabric/src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
]
},
"mixins": [
"brazier.mixins.json"
"brazier-common.mixins.json",
"brazier-fabric.mixins.json"
],
"depends": {
"fabricloader": ">=0.7.4",
Expand Down
2 changes: 1 addition & 1 deletion forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ architectury {
}

loom {
mixinConfig "brazier.mixins.json"
mixinConfigs = ["brazier-forge.mixins.json", "brazier-common.mixins.json"]
}

minecraft {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.possible_triangle.brazier.compat.jei;
package com.possible_triangle.brazier.forge.compat.jei;

import com.possible_triangle.brazier.Brazier;
import com.possible_triangle.brazier.Conditional;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.possible_triangle.brazier.compat.jei;
package com.possible_triangle.brazier.forge.compat.jei;

import com.mojang.blaze3d.vertex.PoseStack;
import com.mojang.blaze3d.vertex.VertexConsumer;
Expand Down
Empty file.
10 changes: 10 additions & 0 deletions forge/src/main/resources/brazier-forge.mixins.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"required": true,
"package": "com.possible_triangle.brazier.forge.mixin",
"compatibilityLevel": "JAVA_8",
"minVersion": "0.7.11",
"mixins": [],
"injectors": {
"defaultRequire": 1
}
}

0 comments on commit 08eb48d

Please sign in to comment.