mirror of
https://github.com/Xiao-MoMi/craft-engine.git
synced 2025-12-26 02:19:23 +00:00
feat(config): 修改
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
package net.momirealms.craftengine.fabric.mixin;
|
||||
|
||||
import net.fabricmc.api.EnvType;
|
||||
import net.fabricmc.api.Environment;
|
||||
import net.minecraft.component.DataComponentTypes;
|
||||
import net.minecraft.component.type.NbtComponent;
|
||||
import net.minecraft.item.BlockItem;
|
||||
@@ -11,6 +13,7 @@ import org.spongepowered.asm.mixin.injection.At;
|
||||
import org.spongepowered.asm.mixin.injection.Inject;
|
||||
import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;
|
||||
|
||||
@Environment(EnvType.CLIENT)
|
||||
@Mixin(BlockItem.class)
|
||||
public class BlockItemMixin {
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"required": true,
|
||||
"package": "net.momirealms.craftengine.fabric.mixin",
|
||||
"compatibilityLevel": "JAVA_21",
|
||||
"mixins": [
|
||||
"client": [
|
||||
"AbstractBlockStateMixin",
|
||||
"AbstractRailBlockMixin",
|
||||
"BlockItemMixin",
|
||||
|
||||
Reference in New Issue
Block a user