mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-27 15:17:59 +01:00
Change package name
This commit is contained in:
parent
6a7f26119a
commit
9d61c74c74
7 changed files with 7 additions and 7 deletions
|
@ -1,4 +1,4 @@
|
||||||
package com.minelittlepony.unicopia.datafixer;
|
package com.minelittlepony.unicopia.datafix;
|
||||||
|
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.minelittlepony.unicopia.datafixer;
|
package com.minelittlepony.unicopia.datafix;
|
||||||
|
|
||||||
import com.mojang.datafixers.DataFixerBuilder;
|
import com.mojang.datafixers.DataFixerBuilder;
|
||||||
import com.mojang.serialization.Dynamic;
|
import com.mojang.serialization.Dynamic;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.minelittlepony.unicopia.datafixer;
|
package com.minelittlepony.unicopia.datafix;
|
||||||
|
|
||||||
import com.mojang.datafixers.schemas.Schema;
|
import com.mojang.datafixers.schemas.Schema;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.minelittlepony.unicopia.datafixer;
|
package com.minelittlepony.unicopia.datafix;
|
||||||
|
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
|
@ -3,7 +3,7 @@ package com.minelittlepony.unicopia.mixin.datafix;
|
||||||
import org.spongepowered.asm.mixin.Mixin;
|
import org.spongepowered.asm.mixin.Mixin;
|
||||||
import org.spongepowered.asm.mixin.gen.Accessor;
|
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.DataFixerBuilder;
|
||||||
import com.mojang.datafixers.schemas.Schema;
|
import com.mojang.datafixers.schemas.Schema;
|
||||||
|
|
||||||
|
|
|
@ -13,6 +13,6 @@ import net.minecraft.datafixer.fix.ItemStackComponentizationFix;
|
||||||
abstract class MixinItemStackComponentizationFix {
|
abstract class MixinItemStackComponentizationFix {
|
||||||
@Inject(method = "fixStack", at = @At("TAIL"))
|
@Inject(method = "fixStack", at = @At("TAIL"))
|
||||||
private static void unicopia_fixStack(ItemStackComponentizationFix.StackData data, Dynamic<?> dynamic, CallbackInfo info) {
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -13,6 +13,6 @@ import net.minecraft.datafixer.Schemas;
|
||||||
abstract class MixinSchemas {
|
abstract class MixinSchemas {
|
||||||
@Inject(method = "build", at = @At("TAIL"))
|
@Inject(method = "build", at = @At("TAIL"))
|
||||||
private static void unicopia_build(DataFixerBuilder builder, CallbackInfo info) {
|
private static void unicopia_build(DataFixerBuilder builder, CallbackInfo info) {
|
||||||
com.minelittlepony.unicopia.datafixer.Schemas.build(builder);
|
com.minelittlepony.unicopia.datafix.Schemas.build(builder);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue