Class IngredientTransformed<I extends IIngredient,T extends IIngredientTransformed<I>>
java.lang.Object
net.minecraft.world.item.crafting.Ingredient
com.blamejared.crafttweaker.api.ingredient.type.IngredientCraftTweaker<T>
com.blamejared.crafttweaker.api.ingredient.type.IngredientTransformed<I,T>
- All Implemented Interfaces:
IngredientCraftTweakerBase,Predicate<net.minecraft.world.item.ItemStack>
public class IngredientTransformed<I extends IIngredient,T extends IIngredientTransformed<I>>
extends IngredientCraftTweaker<T>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.item.crafting.Ingredient
net.minecraft.world.item.crafting.Ingredient.ItemValue, net.minecraft.world.item.crafting.Ingredient.TagValue, net.minecraft.world.item.crafting.Ingredient.Value -
Field Summary
Fields inherited from class net.minecraft.world.item.crafting.Ingredient
EMPTY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.blamejared.crafttweaker.api.ingredient.type.IngredientCraftTweaker
getCrTIngredient, isSimpleMethods inherited from class net.minecraft.world.item.crafting.Ingredient
checkInvalidation, fromJson, fromJson, fromNetwork, fromValues, getItems, getStackingIds, invalidate, invalidateAll, isEmpty, isVanilla, markValid, merge, of, of, of, of, of, toNetwork, valueFromJson
-
Constructor Details
-
IngredientTransformed
-
-
Method Details
-
test
public boolean test(@Nullable net.minecraft.world.item.ItemStack stack) - Specified by:
testin interfaceIngredientCraftTweakerBase- Specified by:
testin interfacePredicate<I extends IIngredient>- Overrides:
testin classnet.minecraft.world.item.crafting.Ingredient
-
toJson
public com.google.gson.JsonElement toJson()- Overrides:
toJsonin classnet.minecraft.world.item.crafting.Ingredient
-
getSerializer
- Specified by:
getSerializerin classIngredientCraftTweaker<T extends IIngredientTransformed<I>>
-
getTransformer
-