GuiModule.chest constructor

GuiModule.chest(
  1. Location target, {
  2. required List<GuiPage> pages,
  3. Item? placeholder,
  4. String countScore = _DEF_Count,
  5. String pageScore = _DEF_Page,
  6. List<GuiSlot>? globalSlots,
  7. String path = 'gui',
})

Implementation

factory GuiModule.chest(
  Location target, {
  required List<GuiPage> pages,
  Item? placeholder,
  String countScore = _DEF_Count,
  String pageScore = _DEF_Page,
  List<GuiSlot>? globalSlots,
  String path = 'gui',
}) =>
    GuiModule._(
      GuiContainer.chest,
      target,
      null,
      pages,
      placeholder,
      countScore,
      pageScore,
      globalSlots,
      path,
    );