aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/example/mixin/RightClickWithItemEvent.java
blob: c1686cbe89a6922864f6471d51dba45a36b36f2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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;
}