From 9d61c74c7412e2b494dfba96923f1a547c50007c Mon Sep 17 00:00:00 2001 From: Sollace Date: Thu, 3 Oct 2024 15:33:41 +0100 Subject: [PATCH] Change package name --- .../unicopia/{datafixer => datafix}/AttributeIdsFixBuilder.java | 2 +- .../minelittlepony/unicopia/{datafixer => datafix}/Schemas.java | 2 +- .../unicopia/{datafixer => datafix}/SchemasStore.java | 2 +- .../UnicopiaItemStackComponentizations.java | 2 +- .../unicopia/mixin/datafix/DataFixerBuilderAccessor.java | 2 +- .../mixin/datafix/MixinItemStackComponentizationFix.java | 2 +- .../com/minelittlepony/unicopia/mixin/datafix/MixinSchemas.java | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) rename src/main/java/com/minelittlepony/unicopia/{datafixer => datafix}/AttributeIdsFixBuilder.java (95%) rename src/main/java/com/minelittlepony/unicopia/{datafixer => datafix}/Schemas.java (98%) rename src/main/java/com/minelittlepony/unicopia/{datafixer => datafix}/SchemasStore.java (79%) rename src/main/java/com/minelittlepony/unicopia/{datafixer => datafix}/UnicopiaItemStackComponentizations.java (98%) diff --git a/src/main/java/com/minelittlepony/unicopia/datafixer/AttributeIdsFixBuilder.java b/src/main/java/com/minelittlepony/unicopia/datafix/AttributeIdsFixBuilder.java similarity index 95% rename from src/main/java/com/minelittlepony/unicopia/datafixer/AttributeIdsFixBuilder.java rename to src/main/java/com/minelittlepony/unicopia/datafix/AttributeIdsFixBuilder.java index e79b5b73..981f1ca7 100644 --- a/src/main/java/com/minelittlepony/unicopia/datafixer/AttributeIdsFixBuilder.java +++ b/src/main/java/com/minelittlepony/unicopia/datafix/AttributeIdsFixBuilder.java @@ -1,4 +1,4 @@ -package com.minelittlepony.unicopia.datafixer; +package com.minelittlepony.unicopia.datafix; import java.util.HashMap; import java.util.Map; diff --git a/src/main/java/com/minelittlepony/unicopia/datafixer/Schemas.java b/src/main/java/com/minelittlepony/unicopia/datafix/Schemas.java similarity index 98% rename from src/main/java/com/minelittlepony/unicopia/datafixer/Schemas.java rename to src/main/java/com/minelittlepony/unicopia/datafix/Schemas.java index 933ba32a..9495693e 100644 --- a/src/main/java/com/minelittlepony/unicopia/datafixer/Schemas.java +++ b/src/main/java/com/minelittlepony/unicopia/datafix/Schemas.java @@ -1,4 +1,4 @@ -package com.minelittlepony.unicopia.datafixer; +package com.minelittlepony.unicopia.datafix; import com.mojang.datafixers.DataFixerBuilder; import com.mojang.serialization.Dynamic; diff --git a/src/main/java/com/minelittlepony/unicopia/datafixer/SchemasStore.java b/src/main/java/com/minelittlepony/unicopia/datafix/SchemasStore.java similarity index 79% rename from src/main/java/com/minelittlepony/unicopia/datafixer/SchemasStore.java rename to src/main/java/com/minelittlepony/unicopia/datafix/SchemasStore.java index 949b0ab8..2ace65c6 100644 --- a/src/main/java/com/minelittlepony/unicopia/datafixer/SchemasStore.java +++ b/src/main/java/com/minelittlepony/unicopia/datafix/SchemasStore.java @@ -1,4 +1,4 @@ -package com.minelittlepony.unicopia.datafixer; +package com.minelittlepony.unicopia.datafix; import com.mojang.datafixers.schemas.Schema; diff --git a/src/main/java/com/minelittlepony/unicopia/datafixer/UnicopiaItemStackComponentizations.java b/src/main/java/com/minelittlepony/unicopia/datafix/UnicopiaItemStackComponentizations.java similarity index 98% rename from src/main/java/com/minelittlepony/unicopia/datafixer/UnicopiaItemStackComponentizations.java rename to src/main/java/com/minelittlepony/unicopia/datafix/UnicopiaItemStackComponentizations.java index 741f8a62..ecce49dd 100644 --- a/src/main/java/com/minelittlepony/unicopia/datafixer/UnicopiaItemStackComponentizations.java +++ b/src/main/java/com/minelittlepony/unicopia/datafix/UnicopiaItemStackComponentizations.java @@ -1,4 +1,4 @@ -package com.minelittlepony.unicopia.datafixer; +package com.minelittlepony.unicopia.datafix; import java.util.Set; diff --git a/src/main/java/com/minelittlepony/unicopia/mixin/datafix/DataFixerBuilderAccessor.java b/src/main/java/com/minelittlepony/unicopia/mixin/datafix/DataFixerBuilderAccessor.java index dae89203..258488d6 100644 --- a/src/main/java/com/minelittlepony/unicopia/mixin/datafix/DataFixerBuilderAccessor.java +++ b/src/main/java/com/minelittlepony/unicopia/mixin/datafix/DataFixerBuilderAccessor.java @@ -3,7 +3,7 @@ package com.minelittlepony.unicopia.mixin.datafix; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.gen.Accessor; -import com.minelittlepony.unicopia.datafixer.SchemasStore; +import com.minelittlepony.unicopia.datafix.SchemasStore; import com.mojang.datafixers.DataFixerBuilder; import com.mojang.datafixers.schemas.Schema; diff --git a/src/main/java/com/minelittlepony/unicopia/mixin/datafix/MixinItemStackComponentizationFix.java b/src/main/java/com/minelittlepony/unicopia/mixin/datafix/MixinItemStackComponentizationFix.java index 4a756493..5109fac0 100644 --- a/src/main/java/com/minelittlepony/unicopia/mixin/datafix/MixinItemStackComponentizationFix.java +++ b/src/main/java/com/minelittlepony/unicopia/mixin/datafix/MixinItemStackComponentizationFix.java @@ -13,6 +13,6 @@ import net.minecraft.datafixer.fix.ItemStackComponentizationFix; abstract class MixinItemStackComponentizationFix { @Inject(method = "fixStack", at = @At("TAIL")) private static void unicopia_fixStack(ItemStackComponentizationFix.StackData data, Dynamic dynamic, CallbackInfo info) { - com.minelittlepony.unicopia.datafixer.Schemas.fixComponents(data, dynamic); + com.minelittlepony.unicopia.datafix.Schemas.fixComponents(data, dynamic); } } \ No newline at end of file diff --git a/src/main/java/com/minelittlepony/unicopia/mixin/datafix/MixinSchemas.java b/src/main/java/com/minelittlepony/unicopia/mixin/datafix/MixinSchemas.java index 0ded6e85..d1768dc7 100644 --- a/src/main/java/com/minelittlepony/unicopia/mixin/datafix/MixinSchemas.java +++ b/src/main/java/com/minelittlepony/unicopia/mixin/datafix/MixinSchemas.java @@ -13,6 +13,6 @@ import net.minecraft.datafixer.Schemas; abstract class MixinSchemas { @Inject(method = "build", at = @At("TAIL")) private static void unicopia_build(DataFixerBuilder builder, CallbackInfo info) { - com.minelittlepony.unicopia.datafixer.Schemas.build(builder); + com.minelittlepony.unicopia.datafix.Schemas.build(builder); } }