diff options
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/events/event/ScreenOpenEvent.java')
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/events/event/ScreenOpenEvent.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/events/event/ScreenOpenEvent.java b/src/main/java/cc/polyfrost/oneconfig/events/event/ScreenOpenEvent.java new file mode 100644 index 0000000..d3a5b66 --- /dev/null +++ b/src/main/java/cc/polyfrost/oneconfig/events/event/ScreenOpenEvent.java @@ -0,0 +1,11 @@ +package cc.polyfrost.oneconfig.events.event; + +import net.minecraft.client.gui.GuiScreen; + +public class ScreenOpenEvent extends CancellableEvent { + public final GuiScreen screen; + + public ScreenOpenEvent(GuiScreen screen) { + this.screen = screen; + } +} |