public static class InfuserRecipe.Serializer extends net.minecraftforge.registries.ForgeRegistryEntry<net.minecraft.item.crafting.IRecipeSerializer<?>> implements net.minecraft.item.crafting.IRecipeSerializer<InfuserRecipe>
| Modifier and Type | Field and Description |
|---|---|
protected net.minecraft.util.NonNullList<QuantifiedIngredient> |
input |
protected net.minecraft.item.ItemStack |
result |
ARMOR_DYE, BANNER_DUPLICATE, BLASTING_RECIPE, BOOK_CLONING, CAMPFIRE_COOKING_RECIPE, FIREWORK_ROCKET, FIREWORK_STAR, FIREWORK_STAR_FADE, MAP_CLONING, MAP_EXTENDING, REPAIR_ITEM, SHAPED_RECIPE, SHAPELESS_RECIPE, SHIELD_DECORATION, SHULKER_BOX_COLORING, SMELTING_RECIPE, SMITHING, SMOKING_RECIPE, STONECUTTER, SUSPICIOUS_STEW, TIPPED_ARROW| Constructor and Description |
|---|
Serializer() |
| Modifier and Type | Method and Description |
|---|---|
InfuserRecipe |
fromJson(net.minecraft.util.ResourceLocation recipeId,
com.google.gson.JsonObject json) |
InfuserRecipe |
fromNetwork(net.minecraft.util.ResourceLocation recipeId,
net.minecraft.network.PacketBuffer buffer) |
void |
toNetwork(net.minecraft.network.PacketBuffer buffer,
InfuserRecipe recipe) |
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameprotected net.minecraft.util.NonNullList<QuantifiedIngredient> input
protected net.minecraft.item.ItemStack result
public InfuserRecipe fromJson(net.minecraft.util.ResourceLocation recipeId, com.google.gson.JsonObject json)
fromJson in interface net.minecraft.item.crafting.IRecipeSerializer<InfuserRecipe>@Nullable public InfuserRecipe fromNetwork(net.minecraft.util.ResourceLocation recipeId, net.minecraft.network.PacketBuffer buffer)
fromNetwork in interface net.minecraft.item.crafting.IRecipeSerializer<InfuserRecipe>public void toNetwork(net.minecraft.network.PacketBuffer buffer,
InfuserRecipe recipe)
toNetwork in interface net.minecraft.item.crafting.IRecipeSerializer<InfuserRecipe>