GuiModule.inventory constructor
GuiModule.inventory(})
Implementation
factory GuiModule.inventory(
Entity target, {
required List<GuiPage> pages,
Item? placeholder,
String countScore = _DEF_Count,
String pageScore = _DEF_Page,
bool fillHotbar = false,
List<GuiSlot>? globalSlots,
String path = 'gui',
}) =>
GuiModule._(
GuiContainer.inventory,
null,
target,
pages,
placeholder,
countScore,
pageScore,
globalSlots,
path,
fillMax: fillHotbar ? null : 27,
);