diff options
Diffstat (limited to 'src/main/kotlin/util/mc/FakeSlot.kt')
-rw-r--r-- | src/main/kotlin/util/mc/FakeSlot.kt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/main/kotlin/util/mc/FakeSlot.kt b/src/main/kotlin/util/mc/FakeSlot.kt new file mode 100644 index 0000000..a9be484 --- /dev/null +++ b/src/main/kotlin/util/mc/FakeSlot.kt @@ -0,0 +1,15 @@ +package moe.nea.firmament.util.mc + +import util.mc.FakeInventory +import net.minecraft.item.ItemStack +import net.minecraft.screen.slot.Slot + +class FakeSlot( + stack: ItemStack, + x: Int, + y: Int +) : Slot(FakeInventory(stack), 0, x, y) { + init { + id = 0 + } +} |