diff options
Diffstat (limited to 'src/main/java/com/example/mixin')
-rw-r--r-- | src/main/java/com/example/mixin/RightClickWithItemEvent.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/main/java/com/example/mixin/RightClickWithItemEvent.java b/src/main/java/com/example/mixin/RightClickWithItemEvent.java new file mode 100644 index 0000000..c1686cb --- /dev/null +++ b/src/main/java/com/example/mixin/RightClickWithItemEvent.java @@ -0,0 +1,14 @@ +package com.example.mixin; + +import net.minecraft.client.multiplayer.PlayerControllerMP; +import org.spongepowered.asm.mixin.Mixin; +import org.spongepowered.asm.mixin.Unique; + +import java.awt.*; + +// This Mixin targets the Minecraft class +@Mixin(PlayerControllerMP.class) +public class RightClickWithItemEvent { + @Unique + Color color_mymod = Color.RED; +} |