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; }