34 public static function create(InventoryLeftTab $leftTab, InventoryRightTab $rightTab,
bool $filtering, InventoryLayout $inventoryLayout, InventoryLayout $craftingLayout) : self{
36 $result->leftTab = $leftTab;
37 $result->rightTab = $rightTab;
38 $result->filtering = $filtering;
39 $result->inventoryLayout = $inventoryLayout;
40 $result->craftingLayout = $craftingLayout;