Package com.hrznstudio.titanium.api
Class IItemStackQuery.ItemStackQuery
java.lang.Object
com.hrznstudio.titanium.api.IItemStackQuery.ItemStackQuery
- All Implemented Interfaces:
IItemStackQuery,IItemStackQuery.IItemStackQueryRecipe,Predicate<net.minecraft.world.item.ItemStack>
- Enclosing interface:
- IItemStackQuery
public static class IItemStackQuery.ItemStackQuery
extends Object
implements IItemStackQuery.IItemStackQueryRecipe
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.hrznstudio.titanium.api.IItemStackQuery
IItemStackQuery.IItemStackNBTQuery, IItemStackQuery.IItemStackQueryRecipe, IItemStackQuery.IngredientQuery, IItemStackQuery.ItemQuery, IItemStackQuery.ItemStackQuery -
Field Summary
FieldsFields inherited from interface com.hrznstudio.titanium.api.IItemStackQuery
ANYTHING, NOTHING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.item.ItemStack[]booleanmatches(net.minecraft.world.item.ItemStack stack) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hrznstudio.titanium.api.IItemStackQuery
test, toSlotFilter, toSlotFilter, toSlotFilter, toSlotFilter
-
Field Details
-
stack
protected net.minecraft.world.item.ItemStack stack
-
-
Constructor Details
-
ItemStackQuery
public ItemStackQuery(net.minecraft.world.item.ItemStack stack)
-
-
Method Details
-
matches
public boolean matches(net.minecraft.world.item.ItemStack stack) - Specified by:
matchesin interfaceIItemStackQuery
-
getMatchingStacks
public net.minecraft.world.item.ItemStack[] getMatchingStacks()- Specified by:
getMatchingStacksin interfaceIItemStackQuery.IItemStackQueryRecipe
-