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 Summary
Nested classes/interfaces inherited from class net.minecraft.world.item.crafting.Ingredient
Ingredient.ItemValue, Ingredient.TagValue, Ingredient.Value - 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<StrictNBTIngredient>static final IIngredientSerializer<StrictNBTIngredient>private final ItemStackFields inherited from class net.minecraft.world.item.crafting.Ingredient
CODEC_NONEMPTY, EMPTY, VANILLA_CODEC - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbooleanisSimple()static StrictNBTIngredientIIngredientSerializer<? extends Ingredient>booleanMethods inherited from class net.minecraftforge.common.crafting.ingredients.AbstractIngredient
fromNetwork, fromValues, of, of, of, of, ofMethods inherited from class net.minecraft.world.item.crafting.Ingredient
checkInvalidation, 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 interfacePredicate<ItemStack>- Overrides:
 testin classIngredient
 - 
isSimple
public boolean isSimple()- Specified by:
 isSimplein classAbstractIngredient
 - 
serializer
- Specified by:
 serializerin classAbstractIngredient
 
 -