Class StrictNBTIngredient
java.lang.Object
net.minecraft.world.item.crafting.Ingredient
net.minecraftforge.common.crafting.ingredients.AbstractIngredient
net.minecraftforge.common.crafting.ingredients.StrictNBTIngredient
Ingredient that matches the given stack, performing an exact NBT match. Use 
PartialNBTIngredient if you need partial match.- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.world.item.crafting.IngredientIngredient.ItemValue, Ingredient.TagValue, Ingredient.Value
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<StrictNBTIngredient>static final IIngredientSerializer<StrictNBTIngredient>private final ItemStackFields inherited from class net.minecraft.world.item.crafting.IngredientCODEC_NONEMPTY, EMPTY, VANILLA_CODEC
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanisSimple()static StrictNBTIngredientIIngredientSerializer<? extends Ingredient>booleanMethods inherited from class net.minecraftforge.common.crafting.ingredients.AbstractIngredientfromNetwork, fromValues, of, of, of, of, ofMethods inherited from class net.minecraft.world.item.crafting.IngredientcheckInvalidation, equals, getItems, getStackingIds, invalidate, invalidateAll, isEmpty, isVanilla, markValid, toJson, toNetwork
- 
Field Details- 
stack
- 
CODEC
- 
SERIALIZER
 
- 
- 
Constructor Details- 
StrictNBTIngredient
 
- 
- 
Method Details- 
of
- 
test- Specified by:
- testin interface- Predicate<ItemStack>
- Overrides:
- testin class- Ingredient
 
- 
isSimplepublic boolean isSimple()- Specified by:
- isSimplein class- AbstractIngredient
 
- 
serializer- Specified by:
- serializerin class- AbstractIngredient
 
 
-