From 10e533fecc461fd5a5bcaba0f4429f8e156ee87e Mon Sep 17 00:00:00 2001 From: IThundxr Date: Sun, 18 Aug 2024 17:49:13 -0400 Subject: [PATCH] move accessor to correct folder --- .../com/simibubi/create/foundation/mixin/BlockItemMixin.java | 2 ++ .../foundation/mixin/{ => accessor}/UseOnContextAccessor.java | 2 +- src/main/resources/create.mixins.json | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) rename src/main/java/com/simibubi/create/foundation/mixin/{ => accessor}/UseOnContextAccessor.java (85%) diff --git a/src/main/java/com/simibubi/create/foundation/mixin/BlockItemMixin.java b/src/main/java/com/simibubi/create/foundation/mixin/BlockItemMixin.java index 3e705b631..a9c6d514b 100644 --- a/src/main/java/com/simibubi/create/foundation/mixin/BlockItemMixin.java +++ b/src/main/java/com/simibubi/create/foundation/mixin/BlockItemMixin.java @@ -2,6 +2,8 @@ package com.simibubi.create.foundation.mixin; import com.simibubi.create.content.kinetics.deployer.DeployerFakePlayer; +import com.simibubi.create.foundation.mixin.accessor.UseOnContextAccessor; + import net.minecraft.world.InteractionResult; import net.minecraft.world.item.BlockItem; diff --git a/src/main/java/com/simibubi/create/foundation/mixin/UseOnContextAccessor.java b/src/main/java/com/simibubi/create/foundation/mixin/accessor/UseOnContextAccessor.java similarity index 85% rename from src/main/java/com/simibubi/create/foundation/mixin/UseOnContextAccessor.java rename to src/main/java/com/simibubi/create/foundation/mixin/accessor/UseOnContextAccessor.java index 245f973f8..87f2929e0 100644 --- a/src/main/java/com/simibubi/create/foundation/mixin/UseOnContextAccessor.java +++ b/src/main/java/com/simibubi/create/foundation/mixin/accessor/UseOnContextAccessor.java @@ -1,4 +1,4 @@ -package com.simibubi.create.foundation.mixin; +package com.simibubi.create.foundation.mixin.accessor; import net.minecraft.world.item.context.UseOnContext; diff --git a/src/main/resources/create.mixins.json b/src/main/resources/create.mixins.json index 7139181a9..9187472d9 100644 --- a/src/main/resources/create.mixins.json +++ b/src/main/resources/create.mixins.json @@ -16,7 +16,6 @@ "MainMixin", "MapItemSavedDataMixin", "TestCommandMixin", - "UseOnContextAccessor", "WaterWheelFluidSpreadMixin", "accessor.AbstractProjectileDispenseBehaviorAccessor", "accessor.DispenserBlockAccessor", @@ -25,7 +24,8 @@ "accessor.LivingEntityAccessor", "accessor.NbtAccounterAccessor", "accessor.ServerLevelAccessor", - "accessor.SystemReportAccessor" + "accessor.SystemReportAccessor", + "accessor.UseOnContextAccessor" ], "client": [ "accessor.AgeableListModelAccessor",