From ad53066846fb168255499a332a1ad4bca39f5935 Mon Sep 17 00:00:00 2001 From: bowser0000 Date: Sat, 27 Feb 2021 18:25:51 -0500 Subject: Move features into their own files --- .../events/GuiChestBackgroundDrawnEvent.java | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/main/java/me/Danker/events/GuiChestBackgroundDrawnEvent.java (limited to 'src/main/java/me/Danker/events/GuiChestBackgroundDrawnEvent.java') 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 slots; + + public GuiChestBackgroundDrawnEvent(GuiChest chest, String displayName, int chestSize, List slots) { + this.chest = chest; + this.displayName = displayName; + this.chestSize = chestSize; + this.slots = slots; + } + +} -- cgit