public abstract class ListMatchHandler
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ListMatchHandler.Type |
Constructor and Description |
---|
ListMatchHandler() |
Modifier and Type | Method and Description |
---|---|
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> |
getClientExamples(ListMatchHandler.Type type,
net.minecraft.item.ItemStack stack)
Get custom client examples.
|
abstract boolean |
isValidSource(ListMatchHandler.Type type,
net.minecraft.item.ItemStack stack) |
abstract boolean |
matches(ListMatchHandler.Type type,
net.minecraft.item.ItemStack stack,
net.minecraft.item.ItemStack target,
boolean precise) |
public abstract boolean matches(ListMatchHandler.Type type, @Nonnull net.minecraft.item.ItemStack stack, @Nonnull net.minecraft.item.ItemStack target, boolean precise)
public abstract boolean isValidSource(ListMatchHandler.Type type, @Nonnull net.minecraft.item.ItemStack stack)
@Nullable public net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> getClientExamples(ListMatchHandler.Type type, @Nonnull net.minecraft.item.ItemStack stack)
type
- stack
-