Interface RecipeSerializer<T extends Recipe<?>>
- All Superinterfaces:
IForgeRegistryEntry<RecipeSerializer<?>>
- All Known Implementing Classes:
ConditionalRecipe.Serializer
,ShapedRecipe.Serializer
,ShapelessRecipe.Serializer
,SimpleCookingSerializer
,SimpleRecipeSerializer
,SingleItemRecipe.Serializer
,UpgradeRecipe.Serializer
public interface RecipeSerializer<T extends Recipe<?>>
extends IForgeRegistryEntry<RecipeSerializer<?>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic SimpleRecipeSerializer<ArmorDyeRecipe>
static RecipeSerializer<ShapedRecipe>
static RecipeSerializer<ShapelessRecipe>
static RecipeSerializer<UpgradeRecipe>
static SimpleCookingSerializer<SmokingRecipe>
static RecipeSerializer<StonecutterRecipe>
-
Method Summary
Modifier and TypeMethodDescriptionfromJson(ResourceLocation p_44103_, com.google.gson.JsonObject p_44104_)
fromNetwork(ResourceLocation p_44105_, FriendlyByteBuf p_44106_)
static <S extends RecipeSerializer<T>, T extends Recipe<?>>
Svoid
toNetwork(FriendlyByteBuf p_44101_, T p_44102_)
Methods inherited from interface net.minecraftforge.registries.IForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName
-
Field Details
-
SHAPED_RECIPE
-
SHAPELESS_RECIPE
-
ARMOR_DYE
-
BOOK_CLONING
-
MAP_CLONING
-
MAP_EXTENDING
-
FIREWORK_ROCKET
-
FIREWORK_STAR
-
FIREWORK_STAR_FADE
-
TIPPED_ARROW
-
BANNER_DUPLICATE
-
SHIELD_DECORATION
-
SHULKER_BOX_COLORING
-
SUSPICIOUS_STEW
-
REPAIR_ITEM
-
SMELTING_RECIPE
-
BLASTING_RECIPE
-
SMOKING_RECIPE
-
CAMPFIRE_COOKING_RECIPE
-
STONECUTTER
-
SMITHING
-
-
Method Details
-
fromJson
-
fromNetwork
-
toNetwork
-
register
static <S extends RecipeSerializer<T>, T extends Recipe<?>> S register(String p_44099_, S p_44100_)
-