public class ListMatchHandlerTools extends ListMatchHandler
ListMatchHandler.Type
Constructor and Description |
---|
ListMatchHandlerTools() |
Modifier and Type | Method and Description |
---|---|
boolean |
isValidSource(ListMatchHandler.Type type,
net.minecraft.item.ItemStack stack) |
boolean |
matches(ListMatchHandler.Type type,
net.minecraft.item.ItemStack stack,
net.minecraft.item.ItemStack target,
boolean precise) |
getClientExamples
public boolean matches(ListMatchHandler.Type type, @Nonnull net.minecraft.item.ItemStack stack, @Nonnull net.minecraft.item.ItemStack target, boolean precise)
matches
in class ListMatchHandler
public boolean isValidSource(ListMatchHandler.Type type, @Nonnull net.minecraft.item.ItemStack stack)
isValidSource
in class ListMatchHandler