aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/Danker/events/GuiChestBackgroundDrawnEvent.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/me/Danker/events/GuiChestBackgroundDrawnEvent.java')
-rw-r--r--src/main/java/me/Danker/events/GuiChestBackgroundDrawnEvent.java22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/main/java/me/Danker/events/GuiChestBackgroundDrawnEvent.java b/src/main/java/me/Danker/events/GuiChestBackgroundDrawnEvent.java
new file mode 100644
index 0000000..eecbb41
--- /dev/null
+++ b/src/main/java/me/Danker/events/GuiChestBackgroundDrawnEvent.java
@@ -0,0 +1,22 @@
+package me.Danker.events;
+
+import net.minecraft.client.gui.inventory.GuiChest;
+import net.minecraft.inventory.Slot;
+import net.minecraftforge.fml.common.eventhandler.Event;
+
+import java.util.List;
+
+public class GuiChestBackgroundDrawnEvent extends Event {
+ public final GuiChest chest;
+ public final String displayName;
+ public final int chestSize;
+ public final List<Slot> slots;
+
+ public GuiChestBackgroundDrawnEvent(GuiChest chest, String displayName, int chestSize, List<Slot> slots) {
+ this.chest = chest;
+ this.displayName = displayName;
+ this.chestSize = chestSize;
+ this.slots = slots;
+ }
+
+}