Start adding a chest gui system

This commit is contained in:
zontreck 2023-12-31 05:24:21 -07:00
parent d237912942
commit a8048391a0
10 changed files with 357 additions and 16 deletions

View file

@ -0,0 +1,21 @@
package dev.zontreck.libzontreck.events;
import net.minecraft.resources.ResourceLocation;
import net.minecraft.world.item.ItemStack;
import net.minecraftforge.eventbus.api.Event;
import java.util.UUID;
public class GUIButtonClickedEvent extends Event
{
public ResourceLocation id;
public ItemStack stack;
public UUID player;
public GUIButtonClickedEvent(ItemStack stack, ResourceLocation id, UUID player)
{
this.id = id;
this.stack = stack;
this.player = player;
}
}