aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/example/CheeseEvent.java
blob: 4b8ddbe19189bcd2a812bf0f805b2c082b067f47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package com.example;

import net.minecraftforge.fml.common.eventhandler.Cancelable;
import net.minecraftforge.fml.common.eventhandler.Event;

// If you don't want your event to be cancellable, remove this annotation
@Cancelable
public class CheeseEvent extends Event {
    public final int totalCheeseCount;

    public CheeseEvent(int totalCheeseCount) {
        this.totalCheeseCount = totalCheeseCount;
    }
}