Skip to content

Commit

Permalink
Merge pull request #438 from Anvil-Dev/forge_fix
Browse files Browse the repository at this point in the history
修复forge无法启动的问题
  • Loading branch information
DancingSnow0517 authored Apr 28, 2024
2 parents 25a7ce9 + 7fd672c commit d7e88eb
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 62 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package dev.dubhe.anvilcraft.mixin.fabric;
package dev.dubhe.anvilcraft.mixin;

import dev.dubhe.anvilcraft.item.HasDefaultEnchantment;
import net.minecraft.world.item.ItemStack;
Expand Down
67 changes: 34 additions & 33 deletions common/src/main/resources/anvilcraft-common.mixins.json
Original file line number Diff line number Diff line change
@@ -1,35 +1,36 @@
{
"required": true,
"minVersion": "0.8",
"package": "dev.dubhe.anvilcraft.mixin",
"compatibilityLevel": "JAVA_17",
"mixins": [
"AbstractCauldronBlockMixin",
"AnvilBlockMixin",
"BeaconMenuMixin",
"BucketItemMixin",
"ClientboundUpdateRecipesPacketMixin",
"DiggerItemMixin",
"DispenseItemEmptyBottleBehaviorMixin",
"DispenseItemEmptyBucketBehaviorMixin",
"DispenseItemWaterBottleBehaviorMixin",
"FlyingHitEntityMixin",
"HoeItemMixin",
"ItemEntityMixin",
"LivingEntityMixin",
"PlayerHitEntityMixin",
"SolidBucketItemMixin",
"accessor.BaseSpawnerAccessor",
"accessor.FallingBlockEntityAccessor",
"accessor.LootContextParamSetsAccessor"
],
"client": [
"LevelRendererMixin",
"PowerGridInformationRenderMixin",
"accessor.ItemInHandRendererAccessor",
"accessor.MinecraftAccessor"
],
"injectors": {
"defaultRequire": 1
}
"required": true,
"minVersion": "0.8",
"package": "dev.dubhe.anvilcraft.mixin",
"compatibilityLevel": "JAVA_17",
"mixins": [
"AbstractCauldronBlockMixin",
"AnvilBlockMixin",
"BeaconMenuMixin",
"BucketItemMixin",
"ClientboundUpdateRecipesPacketMixin",
"DiggerItemMixin",
"DispenseItemEmptyBottleBehaviorMixin",
"DispenseItemEmptyBucketBehaviorMixin",
"DispenseItemWaterBottleBehaviorMixin",
"EnchantmentHelperMixin",
"FlyingHitEntityMixin",
"HoeItemMixin",
"ItemEntityMixin",
"LivingEntityMixin",
"PlayerHitEntityMixin",
"SolidBucketItemMixin",
"accessor.BaseSpawnerAccessor",
"accessor.FallingBlockEntityAccessor",
"accessor.LootContextParamSetsAccessor"
],
"client": [
"LevelRendererMixin",
"PowerGridInformationRenderMixin",
"accessor.ItemInHandRendererAccessor",
"accessor.MinecraftAccessor"
],
"injectors": {
"defaultRequire": 1
}
}
1 change: 0 additions & 1 deletion fabric/src/main/resources/anvilcraft.mixins.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"package": "dev.dubhe.anvilcraft.mixin.fabric",
"compatibilityLevel": "JAVA_17",
"mixins": [
"EnchantmentHelperMixin",
"FallingBlockEntityMixin",
"LightningBoltMixin",
"PistonMovingBlockEntityMixin",
Expand Down

This file was deleted.

1 change: 0 additions & 1 deletion forge/src/main/resources/anvilcraft.mixins.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"mixins": [
"CraftingHelperMixin",
"FallingBlockEntityMixin",
"ForgeItemStackMixin",
"LevelChunkMixin",
"LightningBoltMixin",
"MinecraftServerMixin",
Expand Down

0 comments on commit d7e88eb

Please sign in to comment.