Class ResourceSorters
java.lang.Object
com.refinedmods.refinedstorage.common.support.network.ResourceSorters
-
Method Summary
Modifier and TypeMethodDescriptionstatic Comparator
<ResourceKey> static <T> Comparator
<T> create
(Network network, net.minecraft.world.entity.player.Inventory playerInventory, Function<T, ResourceKey> resourceExtractor)
-
Method Details
-
create
public static Comparator<ResourceKey> create(@Nullable Network network, net.minecraft.world.entity.player.Inventory playerInventory) -
create
public static <T> Comparator<T> create(@Nullable Network network, net.minecraft.world.entity.player.Inventory playerInventory, Function<T, ResourceKey> resourceExtractor)
-