Skip to content

Commit

Permalink
repackage all mixins in preparation to merge mixin configs and refmaps
Browse files Browse the repository at this point in the history
  • Loading branch information
Nolij committed Apr 26, 2024
1 parent f03bd11 commit 16c6a46
Show file tree
Hide file tree
Showing 33 changed files with 55 additions and 55 deletions.
2 changes: 1 addition & 1 deletion api/src/main/java/dev/nolij/zume/impl/ZumeMixinPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ else if (major > 25)
}

if (ZUME_VARIANT != null)
implementationMixinPackage = "dev.nolij.zume." + ZUME_VARIANT + ".mixin.";
implementationMixinPackage = "dev.nolij.zume.mixin." + ZUME_VARIANT + ".";
else
implementationMixinPackage = null;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import dev.nolij.zume.api.platform.v0.IZumeImplementation;
import dev.nolij.zume.api.platform.v0.ZumeAPI;
import dev.nolij.zume.api.config.v0.ZumeConfigAPI;
import dev.nolij.zume.archaic.mixin.EntityRendererAccessor;
import dev.nolij.zume.mixin.archaic.EntityRendererAccessor;
import cpw.mods.fml.client.registry.ClientRegistry;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package dev.nolij.zume.archaic.mixin;
package dev.nolij.zume.mixin.archaic;

import net.minecraft.client.renderer.EntityRenderer;
import net.minecraft.util.MouseFilter;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package dev.nolij.zume.archaic.mixin;
package dev.nolij.zume.mixin.archaic;

import com.llamalad7.mixinextras.injector.ModifyExpressionValue;
import com.llamalad7.mixinextras.injector.ModifyReturnValue;
Expand Down
6 changes: 3 additions & 3 deletions archaic/src/main/resources/zume-archaic.mixins.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"required": true,
"minVersion": "0.8",
"package": "dev.nolij.zume.archaic.mixin",
"package": "dev.nolij.zume.mixin",
"plugin": "dev.nolij.zume.impl.ZumeMixinPlugin",
"compatibilityLevel": "JAVA_8",
"mixins": [
],
"client": [
"EntityRendererAccessor",
"EntityRendererMixin"
"archaic.EntityRendererAccessor",
"archaic.EntityRendererMixin"
],
"injectors": {
"defaultRequire": 1
Expand Down
2 changes: 1 addition & 1 deletion legacy/src/main/java/dev/nolij/zume/legacy/LegacyZume.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import dev.nolij.zume.api.platform.v0.IZumeImplementation;
import dev.nolij.zume.api.platform.v0.ZumeAPI;
import dev.nolij.zume.api.config.v0.ZumeConfigAPI;
import dev.nolij.zume.legacy.mixin.GameRendererAccessor;
import dev.nolij.zume.mixin.legacy.GameRendererAccessor;
import net.fabricmc.api.ClientModInitializer;
import net.fabricmc.api.EnvType;
import net.fabricmc.loader.api.FabricLoader;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package dev.nolij.zume.legacy.mixin;
package dev.nolij.zume.mixin.legacy;

import dev.nolij.zume.api.config.v0.ZumeConfigAPI;
import dev.nolij.zume.legacy.ZumeKeyBind;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package dev.nolij.zume.legacy.mixin;
package dev.nolij.zume.mixin.legacy;

import net.minecraft.client.render.GameRenderer;
import net.minecraft.client.util.SmoothUtil;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package dev.nolij.zume.legacy.mixin;
package dev.nolij.zume.mixin.legacy;

import com.llamalad7.mixinextras.injector.ModifyExpressionValue;
import com.llamalad7.mixinextras.injector.ModifyReturnValue;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package dev.nolij.zume.legacy.mixin;
package dev.nolij.zume.mixin.legacy;

import dev.nolij.zume.api.config.v0.ZumeConfigAPI;
import net.minecraft.client.option.KeyBinding;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package dev.nolij.zume.legacy.mixin;
package dev.nolij.zume.mixin.legacy;

import com.llamalad7.mixinextras.injector.v2.WrapWithCondition;
import dev.nolij.zume.api.platform.v0.ZumeAPI;
Expand Down
12 changes: 6 additions & 6 deletions legacy/src/main/resources/zume-legacy.mixins.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"required": true,
"minVersion": "0.8",
"package": "dev.nolij.zume.legacy.mixin",
"package": "dev.nolij.zume.mixin",
"plugin": "dev.nolij.zume.impl.ZumeMixinPlugin",
"compatibilityLevel": "JAVA_8",
"mixins": [
],
"client": [
"MinecraftClientMixin",
"GameOptionsMixin",
"GameRendererAccessor",
"GameRendererMixin",
"KeyBindingMixin"
"legacy.MinecraftClientMixin",
"legacy.GameOptionsMixin",
"legacy.GameRendererAccessor",
"legacy.GameRendererMixin",
"legacy.KeyBindingMixin"
],
"injectors": {
"defaultRequire": 1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package dev.nolij.zume.lexforge.mixin;
package dev.nolij.zume.mixin.lexforge;

import dev.nolij.zume.api.platform.v0.ZumeAPI;
import net.minecraft.client.Camera;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package dev.nolij.zume.lexforge.mixin;
package dev.nolij.zume.mixin.lexforge;

import dev.nolij.zume.api.platform.v0.ZumeAPI;
import net.minecraft.client.MouseHandler;
Expand Down
6 changes: 3 additions & 3 deletions lexforge/src/main/resources/zume-lexforge.mixins.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"required": true,
"minVersion": "0.8",
"package": "dev.nolij.zume.lexforge.mixin",
"package": "dev.nolij.zume.mixin",
"plugin": "dev.nolij.zume.impl.ZumeMixinPlugin",
"compatibilityLevel": "JAVA_8",
"mixins": [
],
"client": [
"CameraMixin",
"MouseHandlerMixin"
"lexforge.CameraMixin",
"lexforge.MouseHandlerMixin"
],
"injectors": {
"defaultRequire": 1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package dev.nolij.zume.lexforge18.mixin;
package dev.nolij.zume.mixin.lexforge16;

import dev.nolij.zume.api.platform.v0.ZumeAPI;
import net.minecraft.client.Camera;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package dev.nolij.zume.lexforge16.mixin;
package dev.nolij.zume.mixin.lexforge16;

import dev.nolij.zume.api.platform.v0.ZumeAPI;
import net.minecraft.client.MouseHandler;
Expand Down
6 changes: 3 additions & 3 deletions lexforge16/src/main/resources/zume-lexforge16.mixins.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"required": true,
"minVersion": "0.8",
"package": "dev.nolij.zume.lexforge16.mixin",
"package": "dev.nolij.zume.mixin",
"plugin": "dev.nolij.zume.impl.ZumeMixinPlugin",
"compatibilityLevel": "JAVA_8",
"mixins": [
],
"client": [
"CameraMixin",
"MouseHandlerMixin"
"lexforge16.CameraMixin",
"lexforge16.MouseHandlerMixin"
],
"injectors": {
"defaultRequire": 1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package dev.nolij.zume.lexforge16.mixin;
package dev.nolij.zume.mixin.lexforge18;

import dev.nolij.zume.api.platform.v0.ZumeAPI;
import net.minecraft.client.Camera;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package dev.nolij.zume.lexforge18.mixin;
package dev.nolij.zume.mixin.lexforge18;

import dev.nolij.zume.api.platform.v0.ZumeAPI;
import net.minecraft.client.MouseHandler;
Expand Down
6 changes: 3 additions & 3 deletions lexforge18/src/main/resources/zume-lexforge18.mixins.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"required": true,
"minVersion": "0.8",
"package": "dev.nolij.zume.lexforge18.mixin",
"package": "dev.nolij.zume.mixin",
"plugin": "dev.nolij.zume.impl.ZumeMixinPlugin",
"compatibilityLevel": "JAVA_8",
"mixins": [
],
"client": [
"CameraMixin",
"MouseHandlerMixin"
"lexforge18.CameraMixin",
"lexforge18.MouseHandlerMixin"
],
"injectors": {
"defaultRequire": 1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package dev.nolij.zume.modern.mixin;
package dev.nolij.zume.mixin.modern;

import dev.nolij.zume.api.platform.v0.ZumeAPI;
import net.minecraft.client.render.Camera;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package dev.nolij.zume.modern.mixin;
package dev.nolij.zume.mixin.modern;

import com.llamalad7.mixinextras.injector.ModifyReturnValue;
import dev.nolij.zume.api.platform.v0.ZumeAPI;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package dev.nolij.zume.modern.mixin;
package dev.nolij.zume.mixin.modern;

import com.llamalad7.mixinextras.injector.ModifyExpressionValue;
import com.llamalad7.mixinextras.injector.v2.WrapWithCondition;
Expand Down
8 changes: 4 additions & 4 deletions modern/src/main/resources/zume-modern.mixins.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"required": true,
"minVersion": "0.8",
"package": "dev.nolij.zume.modern.mixin",
"package": "dev.nolij.zume.mixin",
"plugin": "dev.nolij.zume.impl.ZumeMixinPlugin",
"compatibilityLevel": "JAVA_8",
"mixins": [
],
"client": [
"CameraMixin",
"GameRendererMixin",
"MouseMixin"
"modern.CameraMixin",
"modern.GameRendererMixin",
"modern.MouseMixin"
],
"injectors": {
"defaultRequire": 1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package dev.nolij.zume.primitive.mixin;
package dev.nolij.zume.mixin.primitive;

import net.minecraft.class_555;
import net.minecraft.client.util.SmoothUtil;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package dev.nolij.zume.primitive.mixin;
package dev.nolij.zume.mixin.primitive;

import com.llamalad7.mixinextras.injector.ModifyExpressionValue;
import com.llamalad7.mixinextras.injector.ModifyReturnValue;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package dev.nolij.zume.primitive.mixin;
package dev.nolij.zume.mixin.primitive;

import net.minecraft.client.Minecraft;
import org.spongepowered.asm.mixin.Mixin;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package dev.nolij.zume.primitive.mixin;
package dev.nolij.zume.mixin.primitive;

import com.llamalad7.mixinextras.injector.WrapWithCondition;
import dev.nolij.zume.api.platform.v0.ZumeAPI;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
import dev.nolij.zume.api.platform.v0.IZumeImplementation;
import dev.nolij.zume.api.platform.v0.ZumeAPI;
import dev.nolij.zume.api.config.v0.ZumeConfigAPI;
import dev.nolij.zume.primitive.mixin.GameRendererAccessor;
import dev.nolij.zume.primitive.mixin.MinecraftAccessor;
import dev.nolij.zume.mixin.primitive.GameRendererAccessor;
import dev.nolij.zume.mixin.primitive.MinecraftAccessor;
import net.fabricmc.api.ClientModInitializer;
import net.fabricmc.api.EnvType;
import net.fabricmc.loader.api.FabricLoader;
Expand Down
10 changes: 5 additions & 5 deletions primitive/src/main/resources/zume-primitive.mixins.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"required": true,
"minVersion": "0.8",
"package": "dev.nolij.zume.primitive.mixin",
"package": "dev.nolij.zume.mixin",
"plugin": "dev.nolij.zume.impl.ZumeMixinPlugin",
"compatibilityLevel": "JAVA_8",
"mixins": [
],
"client": [
"GameRendererAccessor",
"GameRendererMixin",
"MinecraftAccessor",
"MinecraftMixin"
"primitive.GameRendererAccessor",
"primitive.GameRendererMixin",
"primitive.MinecraftAccessor",
"primitive.MinecraftMixin"
],
"injectors": {
"defaultRequire": 1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package dev.nolij.zume.vintage.mixin;
package dev.nolij.zume.mixin.vintage;

import com.llamalad7.mixinextras.injector.ModifyExpressionValue;
import dev.nolij.zume.api.platform.v0.ZumeAPI;
Expand Down
4 changes: 2 additions & 2 deletions vintage/src/main/resources/zume-vintage.mixins.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"required": true,
"minVersion": "0.8",
"package": "dev.nolij.zume.vintage.mixin",
"package": "dev.nolij.zume.mixin",
"plugin": "dev.nolij.zume.impl.ZumeMixinPlugin",
"compatibilityLevel": "JAVA_8",
"mixins": [
],
"client": [
"EntityRendererMixin"
"vintage.EntityRendererMixin"
],
"injectors": {
"defaultRequire": 1
Expand Down

0 comments on commit 16c6a46

Please sign in to comment.