Class CompatIngredientValue
java.lang.Object
at.petrak.hexcasting.datagen.recipe.builders.CompatIngredientValue
- All Implemented Interfaces:
net.minecraft.world.item.crafting.Ingredient.Value
public class CompatIngredientValue
extends Object
implements net.minecraft.world.item.crafting.Ingredient.Value
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull Collection<net.minecraft.world.item.ItemStack>getItems()static net.minecraft.world.item.crafting.Ingredient@NotNull com.google.gson.JsonObject
-
Field Details
-
item
-
-
Constructor Details
-
CompatIngredientValue
-
-
Method Details
-
getItems
- Specified by:
getItemsin interfacenet.minecraft.world.item.crafting.Ingredient.Value
-
serialize
@NotNull public @NotNull com.google.gson.JsonObject serialize()- Specified by:
serializein interfacenet.minecraft.world.item.crafting.Ingredient.Value
-
of
-