From 41bfb22834f0cd13166914b35d4616f21f3c99df Mon Sep 17 00:00:00 2001 From: Lukas Pioch Date: Fri, 5 May 2017 11:58:21 +0200 Subject: Corrected brewingstand and added support for fuel --- Server/Plugins/APIDump/Classes/BlockEntities.lua | 35 ++++++++++++++++++++++++ 1 file changed, 35 insertions(+) (limited to 'Server/Plugins/APIDump/Classes') diff --git a/Server/Plugins/APIDump/Classes/BlockEntities.lua b/Server/Plugins/APIDump/Classes/BlockEntities.lua index bae9030c4..5f1289f1e 100644 --- a/Server/Plugins/APIDump/Classes/BlockEntities.lua +++ b/Server/Plugins/APIDump/Classes/BlockEntities.lua @@ -441,6 +441,26 @@ return }, Notes = "Returns the item in the right bottle slot", }, + GetFuelSlot = + { + Returns = + { + { + Type = "cItem", + }, + }, + Notes = "Returns the item in the top left fuel slot", + }, + GetRemainingFuel = + { + Returns = + { + { + Type = "number", + }, + }, + Notes = "Returns the remaining fuel that is left. It's the amount of brewing operations that can be done (20 for one blaze powder).", + }, GetTimeBrewed = { Returns = @@ -495,6 +515,17 @@ return }, Notes = "Sets the item in the right bottle slot", }, + SetFuelSlot = + { + Params = + { + { + Name = "FuelSlot", + Type = "cItem", + }, + }, + Notes = "Sets the item in the top left fuel slot", + }, }, Constants = { @@ -514,6 +545,10 @@ return { Notes = "Index of the right bottle slot", }, + bsFuel = + { + Notes = "Index of the top left fuel slot", + }, ContentsHeight = { Notes = "Height (Y) of the {{cItemGrid|cItemGrid}} representing the contents", -- cgit v1.2.3