From bf0c287e020f3c414b4a3e2a4456452d8e07ce59 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Wed, 21 Feb 2024 22:45:21 +0100 Subject: Add flip order -> buy order claim detection --- src/main/java/moe/nea/ledger/mixin/AccessorGuiEditSign.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/main/java/moe/nea/ledger/mixin/AccessorGuiEditSign.java (limited to 'src/main/java/moe/nea/ledger/mixin') diff --git a/src/main/java/moe/nea/ledger/mixin/AccessorGuiEditSign.java b/src/main/java/moe/nea/ledger/mixin/AccessorGuiEditSign.java new file mode 100644 index 0000000..52b8911 --- /dev/null +++ b/src/main/java/moe/nea/ledger/mixin/AccessorGuiEditSign.java @@ -0,0 +1,12 @@ +package moe.nea.ledger.mixin; + +import net.minecraft.client.gui.inventory.GuiEditSign; +import net.minecraft.tileentity.TileEntitySign; +import org.spongepowered.asm.mixin.Mixin; +import org.spongepowered.asm.mixin.gen.Accessor; + +@Mixin(GuiEditSign.class) +public interface AccessorGuiEditSign { + @Accessor("tileSign") + TileEntitySign getTileEntity_ledger(); +} -- cgit