chore: note for inventory tweaks

This commit is contained in:
raoulvdberge
2023-11-26 18:31:08 +01:00
parent 2e331bac81
commit 27442fbfac
2 changed files with 22 additions and 19 deletions

View File

@@ -29,6 +29,8 @@ public interface IGrid {
int SORTING_TYPE_QUANTITY = 0;
int SORTING_TYPE_NAME = 1;
int SORTING_TYPE_ID = 2;
// todo: remove in 1.21.x
@Deprecated
int SORTING_TYPE_INVENTORYTWEAKS = 3;
int SORTING_TYPE_LAST_MODIFIED = 4;

View File

@@ -3,6 +3,7 @@ package com.refinedmods.refinedstorage.screen.grid.sorting;
import com.refinedmods.refinedstorage.api.network.grid.IGrid;
import com.refinedmods.refinedstorage.screen.grid.stack.IGridStack;
// TODO: remove in 1.20.x
public class InventoryTweaksGridSorter implements IGridSorter {
@Override
public boolean isApplicable(IGrid grid) {