Class ItemMatchProperties
java.lang.Object
org.cyclops.integrateddynamics.core.ingredient.ItemMatchProperties
-
Constructor Summary
ConstructorDescriptionItemMatchProperties
(net.minecraft.world.item.ItemStack itemStack) ItemMatchProperties
(net.minecraft.world.item.ItemStack itemStack, boolean nbt, String itemTag, int tagQuantity) ItemMatchProperties
(net.minecraft.world.item.ItemStack itemStack, boolean nbt, String itemTag, int tagQuantity, boolean reusable) -
Method Summary
Modifier and TypeMethodDescriptionorg.cyclops.commoncapabilities.api.capability.recipehandler.IPrototypedIngredientAlternatives
<net.minecraft.world.item.ItemStack, Integer> net.minecraft.world.item.ItemStack
int
boolean
isNbt()
boolean
boolean
isValid()
void
setItemTag
(String itemTag) void
setNbt
(boolean nbt) void
setReusable
(boolean reusable) void
setTagQuantity
(int tagQuantity)
-
Constructor Details
-
ItemMatchProperties
public ItemMatchProperties(net.minecraft.world.item.ItemStack itemStack) -
ItemMatchProperties
public ItemMatchProperties(net.minecraft.world.item.ItemStack itemStack, boolean nbt, @Nullable String itemTag, int tagQuantity) -
ItemMatchProperties
public ItemMatchProperties(net.minecraft.world.item.ItemStack itemStack, boolean nbt, @Nullable String itemTag, int tagQuantity, boolean reusable)
-
-
Method Details
-
getItemStack
public net.minecraft.world.item.ItemStack getItemStack() -
isNbt
public boolean isNbt() -
setNbt
public void setNbt(boolean nbt) -
getItemTag
-
setItemTag
-
getTagQuantity
public int getTagQuantity() -
setTagQuantity
public void setTagQuantity(int tagQuantity) -
isReusable
public boolean isReusable() -
setReusable
public void setReusable(boolean reusable) -
isValid
public boolean isValid() -
createPrototypedIngredient
public org.cyclops.commoncapabilities.api.capability.recipehandler.IPrototypedIngredientAlternatives<net.minecraft.world.item.ItemStack,Integer> createPrototypedIngredient()
-