Class ItemFilter.Combined
java.lang.Object
com.github.minecraftschurlimods.arsmagicalegacy.api.util.ItemFilter.Combined
- All Implemented Interfaces:
ItemFilter,Predicate<net.minecraft.world.item.ItemStack>
- Enclosing interface:
- ItemFilter
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.github.minecraftschurlimods.arsmagicalegacy.api.util.ItemFilter
ItemFilter.AmountMatchMode, ItemFilter.Builder, ItemFilter.Combined, ItemFilter.None, ItemFilter.Simple -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<ItemFilter.Combined>static final com.mojang.serialization.Codec<ItemFilter.Combined> -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.item.ItemStack[]@Nullable ItemFilter.SimplegetMatchingFilter(net.minecraft.world.item.ItemStack stack) booleantest(net.minecraft.world.item.ItemStack stack)
-
Field Details
-
CODEC
-
NETWORK_CODEC
-
-
Method Details
-
test
public boolean test(net.minecraft.world.item.ItemStack stack) - Specified by:
testin interfaceItemFilter- Specified by:
testin interfacePredicate<net.minecraft.world.item.ItemStack>
-
getMatchingFilter
@Nullable public @Nullable ItemFilter.Simple getMatchingFilter(net.minecraft.world.item.ItemStack stack) - Specified by:
getMatchingFilterin interfaceItemFilter
-
getMatchedStacks
public net.minecraft.world.item.ItemStack[] getMatchedStacks()- Specified by:
getMatchedStacksin interfaceItemFilter
-