Package net.minecraft.item.crafting
Interface IRecipeSerializer<T extends IRecipe<?>>
-
- All Superinterfaces:
IForgeRegistryEntry<IRecipeSerializer<?>>
- All Known Implementing Classes:
ConditionalRecipe.Serializer
,CookingRecipeSerializer
,ShapedRecipe.Serializer
,ShapelessRecipe.Serializer
,SingleItemRecipe.Serializer
,SmithingRecipe.Serializer
,SpecialRecipeSerializer
public interface IRecipeSerializer<T extends IRecipe<?>> extends IForgeRegistryEntry<IRecipeSerializer<?>>
-
-
Field Summary
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description T
fromJson(ResourceLocation p_199425_1_, com.google.gson.JsonObject p_199425_2_)
T
fromNetwork(ResourceLocation p_199426_1_, PacketBuffer p_199426_2_)
static <S extends IRecipeSerializer<T>,T extends IRecipe<?>>
Sregister(java.lang.String p_222156_0_, S p_222156_1_)
void
toNetwork(PacketBuffer p_199427_1_, T p_199427_2_)
-
Methods inherited from interface net.minecraftforge.registries.IForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName
-
-
-
-
Field Detail
-
SHAPED_RECIPE
static final IRecipeSerializer<ShapedRecipe> SHAPED_RECIPE
-
SHAPELESS_RECIPE
static final IRecipeSerializer<ShapelessRecipe> SHAPELESS_RECIPE
-
ARMOR_DYE
static final SpecialRecipeSerializer<ArmorDyeRecipe> ARMOR_DYE
-
BOOK_CLONING
static final SpecialRecipeSerializer<BookCloningRecipe> BOOK_CLONING
-
MAP_CLONING
static final SpecialRecipeSerializer<MapCloningRecipe> MAP_CLONING
-
MAP_EXTENDING
static final SpecialRecipeSerializer<MapExtendingRecipe> MAP_EXTENDING
-
FIREWORK_ROCKET
static final SpecialRecipeSerializer<FireworkRocketRecipe> FIREWORK_ROCKET
-
FIREWORK_STAR
static final SpecialRecipeSerializer<FireworkStarRecipe> FIREWORK_STAR
-
FIREWORK_STAR_FADE
static final SpecialRecipeSerializer<FireworkStarFadeRecipe> FIREWORK_STAR_FADE
-
TIPPED_ARROW
static final SpecialRecipeSerializer<TippedArrowRecipe> TIPPED_ARROW
-
BANNER_DUPLICATE
static final SpecialRecipeSerializer<BannerDuplicateRecipe> BANNER_DUPLICATE
-
SHIELD_DECORATION
static final SpecialRecipeSerializer<ShieldRecipes> SHIELD_DECORATION
-
SHULKER_BOX_COLORING
static final SpecialRecipeSerializer<ShulkerBoxColoringRecipe> SHULKER_BOX_COLORING
-
SUSPICIOUS_STEW
static final SpecialRecipeSerializer<SuspiciousStewRecipe> SUSPICIOUS_STEW
-
REPAIR_ITEM
static final SpecialRecipeSerializer<RepairItemRecipe> REPAIR_ITEM
-
SMELTING_RECIPE
static final CookingRecipeSerializer<FurnaceRecipe> SMELTING_RECIPE
-
BLASTING_RECIPE
static final CookingRecipeSerializer<BlastingRecipe> BLASTING_RECIPE
-
SMOKING_RECIPE
static final CookingRecipeSerializer<SmokingRecipe> SMOKING_RECIPE
-
CAMPFIRE_COOKING_RECIPE
static final CookingRecipeSerializer<CampfireCookingRecipe> CAMPFIRE_COOKING_RECIPE
-
STONECUTTER
static final IRecipeSerializer<StonecuttingRecipe> STONECUTTER
-
SMITHING
static final IRecipeSerializer<SmithingRecipe> SMITHING
-
-
Method Detail
-
fromJson
T fromJson(ResourceLocation p_199425_1_, com.google.gson.JsonObject p_199425_2_)
-
fromNetwork
@Nullable T fromNetwork(ResourceLocation p_199426_1_, PacketBuffer p_199426_2_)
-
toNetwork
void toNetwork(PacketBuffer p_199427_1_, T p_199427_2_)
-
register
static <S extends IRecipeSerializer<T>,T extends IRecipe<?>> S register(java.lang.String p_222156_0_, S p_222156_1_)
-
-