类 StrictNBTIngredient
java.lang.Object
net.minecraft.world.item.crafting.Ingredient
net.minecraftforge.common.crafting.AbstractIngredient
net.minecraftforge.common.crafting.StrictNBTIngredient
Ingredient that matches the given stack, performing an exact NBT match. Use
PartialNBTIngredient
if you need partial match.-
嵌套类概要
嵌套类从类继承的嵌套类/接口 net.minecraft.world.item.crafting.Ingredient
Ingredient.ItemValue, Ingredient.TagValue, Ingredient.Value
-
字段概要
字段从类继承的字段 net.minecraft.world.item.crafting.Ingredient
EMPTY
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明IIngredientSerializer<? extends Ingredient>
boolean
isSimple()
static StrictNBTIngredient
Creates a new ingredient matching the given stack and tagboolean
com.google.gson.JsonElement
toJson()
从类继承的方法 net.minecraftforge.common.crafting.AbstractIngredient
fromJson, fromNetwork, fromValues, of, of, of, of, of
从类继承的方法 net.minecraft.world.item.crafting.Ingredient
checkInvalidation, fromJson, getItems, getStackingIds, invalidate, invalidateAll, isEmpty, isVanilla, markValid, merge, toNetwork, valueFromJson
-
字段详细资料
-
stack
-
-
构造器详细资料
-
StrictNBTIngredient
-
-
方法详细资料
-
of
Creates a new ingredient matching the given stack and tag -
test
- 指定者:
test
在接口中Predicate<ItemStack>
- 覆盖:
test
在类中Ingredient
-
isSimple
public boolean isSimple()- 指定者:
isSimple
在类中AbstractIngredient
-
getSerializer
- 指定者:
getSerializer
在类中AbstractIngredient
-
toJson
public com.google.gson.JsonElement toJson()- 指定者:
toJson
在类中AbstractIngredient
-