Class NBTIngredient
java.lang.Object
net.minecraft.item.crafting.Ingredient
net.minecraftforge.common.crafting.NBTIngredient
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.item.crafting.Ingredient
Ingredient.IItemList, Ingredient.SingleItemList, Ingredient.TagList
-
Field Summary
FieldsFields inherited from class net.minecraft.item.crafting.Ingredient
EMPTY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionIIngredientSerializer<? extends Ingredient>
boolean
isSimple()
boolean
com.google.gson.JsonElement
toJson()
Methods inherited from class net.minecraft.item.crafting.Ingredient
fromJson, fromNetwork, fromValues, getItems, getStackingIds, invalidate, invalidateAll, isEmpty, isVanilla, merge, of, of, of, of, toNetwork, valueFromJson
-
Field Details
-
stack
-
-
Constructor Details
-
NBTIngredient
-
-
Method Details
-
test
- Specified by:
test
in interfacePredicate<ItemStack>
- Overrides:
test
in classIngredient
-
isSimple
public boolean isSimple()- Overrides:
isSimple
in classIngredient
-
getSerializer
- Overrides:
getSerializer
in classIngredient
-
toJson
public com.google.gson.JsonElement toJson()- Overrides:
toJson
in classIngredient
-