chore: note for inventory tweaks
This commit is contained in:
@@ -29,6 +29,8 @@ public interface IGrid {
|
|||||||
int SORTING_TYPE_QUANTITY = 0;
|
int SORTING_TYPE_QUANTITY = 0;
|
||||||
int SORTING_TYPE_NAME = 1;
|
int SORTING_TYPE_NAME = 1;
|
||||||
int SORTING_TYPE_ID = 2;
|
int SORTING_TYPE_ID = 2;
|
||||||
|
// todo: remove in 1.21.x
|
||||||
|
@Deprecated
|
||||||
int SORTING_TYPE_INVENTORYTWEAKS = 3;
|
int SORTING_TYPE_INVENTORYTWEAKS = 3;
|
||||||
int SORTING_TYPE_LAST_MODIFIED = 4;
|
int SORTING_TYPE_LAST_MODIFIED = 4;
|
||||||
|
|
||||||
|
@@ -3,6 +3,7 @@ package com.refinedmods.refinedstorage.screen.grid.sorting;
|
|||||||
import com.refinedmods.refinedstorage.api.network.grid.IGrid;
|
import com.refinedmods.refinedstorage.api.network.grid.IGrid;
|
||||||
import com.refinedmods.refinedstorage.screen.grid.stack.IGridStack;
|
import com.refinedmods.refinedstorage.screen.grid.stack.IGridStack;
|
||||||
|
|
||||||
|
// TODO: remove in 1.20.x
|
||||||
public class InventoryTweaksGridSorter implements IGridSorter {
|
public class InventoryTweaksGridSorter implements IGridSorter {
|
||||||
@Override
|
@Override
|
||||||
public boolean isApplicable(IGrid grid) {
|
public boolean isApplicable(IGrid grid) {
|
||||||
|
Reference in New Issue
Block a user