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 TypeMethodDescriptiondefault CTShapelessRecipeBasefromJson(net.minecraft.resources.ResourceLocation recipeId, com.google.gson.JsonObject jsonObject) default CTShapelessRecipeBasefromNetwork(net.minecraft.resources.ResourceLocation recipeId, net.minecraft.network.FriendlyByteBuf buffer) default CTShapelessRecipeBasemakeRecipe(net.minecraft.resources.ResourceLocation recipeId, IItemStack output, IIngredient[] ingredients, RecipeFunctionArray function) default voidtoNetwork(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:
fromJsonin interfacenet.minecraft.world.item.crafting.RecipeSerializer<CTShapelessRecipeBase>
-
fromNetwork
@Nullable default CTShapelessRecipeBase fromNetwork(net.minecraft.resources.ResourceLocation recipeId, net.minecraft.network.FriendlyByteBuf buffer) - Specified by:
fromNetworkin interfacenet.minecraft.world.item.crafting.RecipeSerializer<CTShapelessRecipeBase>
-
toNetwork
- Specified by:
toNetworkin interfacenet.minecraft.world.item.crafting.RecipeSerializer<CTShapelessRecipeBase>
-
makeRecipe
default CTShapelessRecipeBase makeRecipe(net.minecraft.resources.ResourceLocation recipeId, IItemStack output, IIngredient[] ingredients, @Nullable RecipeFunctionArray function)
-