Class GuiDialogBlockEntityInventory
- Namespace
- Vintagestory.API.Client
- Assembly
- VintagestoryAPI.dll
A block entity inventory system for things like a campfire, or other things like that.
public class GuiDialogBlockEntityInventory : GuiDialogBlockEntity, IDisposable
- Inheritance
-
GuiDialogBlockEntityInventory
- Implements
- Inherited Members
- Extension Methods
Constructors
GuiDialogBlockEntityInventory(string, InventoryBase, BlockPos, int, ICoreClientAPI)
public GuiDialogBlockEntityInventory(string dialogTitle, InventoryBase inventory, BlockPos blockEntityPos, int cols, ICoreClientAPI capi)
Parameters
dialogTitle
stringinventory
InventoryBaseblockEntityPos
BlockPoscols
intcapi
ICoreClientAPI
Properties
DrawOrder
0 = draw first, 1 = draw last. Used to enforce tooltips and held itemstack always drawn last to be visible.
Vanilla dialogs draw order:
Name tags: -0.1
Chat dialog: 0
Block Interaction help: 0.05
Worldmap HUD: 0.07
Default value for most other dialogs: 0.1
Worldmap Dialog: 0.11
Player and Chest inventories: 0.2
Various config/edit dialogs: 0.2
Handbook: 0.2
Escape menu: 0.89
public override double DrawOrder { get; }
Property Value
Methods
OnGuiClosed()
Called when the GUI is closed.
public override void OnGuiClosed()
OnGuiOpened()
Called whenver the GUI is opened.
public override void OnGuiOpened()