From 699c9a2ad2c329af24f677eb55d8196908573e91 Mon Sep 17 00:00:00 2001 From: Djeeberjr Date: Sun, 11 Aug 2024 22:10:06 +0200 Subject: [PATCH] added nbt to ReducedItemInfo --- src/cc/periphs/ItemStorage.hx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cc/periphs/ItemStorage.hx b/src/cc/periphs/ItemStorage.hx index a875760..b2222fa 100644 --- a/src/cc/periphs/ItemStorage.hx +++ b/src/cc/periphs/ItemStorage.hx @@ -5,6 +5,7 @@ import lua.Table; interface ReducedItemInfo { public var count:Int; public var name:String; + public var nbt:Null; } interface DetailedItemInfo extends ReducedItemInfo { @@ -20,5 +21,5 @@ extern class ItemStorage { public function getItemDetail(slot:Int):DetailedItemInfo; // Get detailed information about an item. public function pushItems(toName:String, fromSlot:Int, ?limit:Int, ?toSlot:Int):Int; // Push items from one inventory to another connected one. public function pullItems(fromName:String, fromSlot:Int, ?limit:Int, ?toSlot:Int):Int; // Pull items from a connected inventory into this one. - public function getItemLimit(slot: Int):Int; // Get the maximum number of items which can be stored in this slot. + public function getItemLimit(slot:Int):Int; // Get the maximum number of items which can be stored in this slot. }