aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/moe/nea/ledger/mixin
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-02-21 22:45:21 +0100
committerLinnea Gräf <nea@nea.moe>2024-02-21 22:45:21 +0100
commitbf0c287e020f3c414b4a3e2a4456452d8e07ce59 (patch)
treef5b42046f20cb5eab9421c78bbdff4797b3fb738 /src/main/java/moe/nea/ledger/mixin
parent619652c75b2dda06550cc8c89d0b0d5b70d3ba6f (diff)
downloadmoney-ledger-bf0c287e020f3c414b4a3e2a4456452d8e07ce59.tar.gz
money-ledger-bf0c287e020f3c414b4a3e2a4456452d8e07ce59.tar.bz2
money-ledger-bf0c287e020f3c414b4a3e2a4456452d8e07ce59.zip
Add flip order -> buy order claim detection
Diffstat (limited to 'src/main/java/moe/nea/ledger/mixin')
-rw-r--r--src/main/java/moe/nea/ledger/mixin/AccessorGuiEditSign.java12
1 files changed, 12 insertions, 0 deletions
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();
+}