Interface RecipeSerializer<T extends Recipe<?>>
- All Known Implementing Classes:
ShapedRecipe.Serializer
,ShapelessRecipe.Serializer
,SimpleCookingSerializer
,SimpleCraftingRecipeSerializer
,SingleItemRecipe.Serializer
,SmithingTransformRecipe.Serializer
,SmithingTrimRecipe.Serializer
public interface RecipeSerializer<T extends Recipe<?>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final RecipeSerializer<ArmorDyeRecipe>
static final RecipeSerializer<BannerDuplicateRecipe>
static final RecipeSerializer<BlastingRecipe>
static final RecipeSerializer<BookCloningRecipe>
static final RecipeSerializer<CampfireCookingRecipe>
static final RecipeSerializer<DecoratedPotRecipe>
static final RecipeSerializer<FireworkRocketRecipe>
static final RecipeSerializer<FireworkStarRecipe>
static final RecipeSerializer<FireworkStarFadeRecipe>
static final RecipeSerializer<MapCloningRecipe>
static final RecipeSerializer<MapExtendingRecipe>
static final RecipeSerializer<RepairItemRecipe>
static final RecipeSerializer<ShapedRecipe>
static final RecipeSerializer<ShapelessRecipe>
static final RecipeSerializer<ShieldDecorationRecipe>
static final RecipeSerializer<ShulkerBoxColoring>
static final RecipeSerializer<SmeltingRecipe>
static final RecipeSerializer<SmithingTransformRecipe>
static final RecipeSerializer<SmithingTrimRecipe>
static final RecipeSerializer<SmokingRecipe>
static final RecipeSerializer<StonecutterRecipe>
static final RecipeSerializer<SuspiciousStewRecipe>
static final RecipeSerializer<TippedArrowRecipe>
-
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.Codec<T>
codec()
fromNetwork
(FriendlyByteBuf p_44106_) static <S extends RecipeSerializer<T>,
T extends Recipe<?>>
Svoid
toNetwork
(FriendlyByteBuf p_44101_, T p_44102_)
-
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_TRANSFORM
-
SMITHING_TRIM
-
DECORATED_POT_RECIPE
-
-
Method Details
-
codec
com.mojang.serialization.Codec<T> codec() -
fromNetwork
-
toNetwork
-
register
-