Interface ICTShapelessRecipeBaseSerializer

All Superinterfaces:
net.minecraft.world.item.crafting.RecipeSerializer<CTShapelessRecipeBase>

public interface ICTShapelessRecipeBaseSerializer extends net.minecraft.world.item.crafting.RecipeSerializer<CTShapelessRecipeBase>
  • Field Summary

    Fields inherited from interface net.minecraft.world.item.crafting.RecipeSerializer

    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
  • Method Summary

    Modifier and Type
    Method
    Description
    fromJson(net.minecraft.resources.ResourceLocation recipeId, com.google.gson.JsonObject jsonObject)
     
    fromNetwork(net.minecraft.resources.ResourceLocation recipeId, net.minecraft.network.FriendlyByteBuf buffer)
     
    makeRecipe(net.minecraft.resources.ResourceLocation recipeId, IItemStack output, IIngredient[] ingredients, RecipeFunctionArray function)
     
    default void
    toNetwork(net.minecraft.network.FriendlyByteBuf buffer, CTShapelessRecipeBase recipe)
     
  • Method Details

    • fromJson

      default CTShapelessRecipeBase fromJson(net.minecraft.resources.ResourceLocation recipeId, com.google.gson.JsonObject jsonObject)
      Specified by:
      fromJson in interface net.minecraft.world.item.crafting.RecipeSerializer<CTShapelessRecipeBase>
    • fromNetwork

      @Nullable default CTShapelessRecipeBase fromNetwork(net.minecraft.resources.ResourceLocation recipeId, net.minecraft.network.FriendlyByteBuf buffer)
      Specified by:
      fromNetwork in interface net.minecraft.world.item.crafting.RecipeSerializer<CTShapelessRecipeBase>
    • toNetwork

      default void toNetwork(net.minecraft.network.FriendlyByteBuf buffer, CTShapelessRecipeBase recipe)
      Specified by:
      toNetwork in interface net.minecraft.world.item.crafting.RecipeSerializer<CTShapelessRecipeBase>
    • makeRecipe

      default CTShapelessRecipeBase makeRecipe(net.minecraft.resources.ResourceLocation recipeId, IItemStack output, IIngredient[] ingredients, @Nullable RecipeFunctionArray function)