public interface IRecipeSerializer<T extends IRecipe<?>> extends IForgeRegistryEntry<IRecipeSerializer<?>>
Modifier and Type | Method and Description |
---|---|
T |
read(ResourceLocation recipeId,
com.google.gson.JsonObject json) |
T |
read(ResourceLocation recipeId,
PacketBuffer buffer) |
static <S extends IRecipeSerializer<T>,T extends IRecipe<?>> |
register(java.lang.String key,
S recipeSerializer) |
void |
write(PacketBuffer buffer,
T recipe) |
getRegistryName, getRegistryType, setRegistryName
static final IRecipeSerializer<ShapedRecipe> CRAFTING_SHAPED
static final IRecipeSerializer<ShapelessRecipe> CRAFTING_SHAPELESS
static final SpecialRecipeSerializer<ArmorDyeRecipe> CRAFTING_SPECIAL_ARMORDYE
static final SpecialRecipeSerializer<BookCloningRecipe> CRAFTING_SPECIAL_BOOKCLONING
static final SpecialRecipeSerializer<MapCloningRecipe> CRAFTING_SPECIAL_MAPCLONING
static final SpecialRecipeSerializer<MapExtendingRecipe> CRAFTING_SPECIAL_MAPEXTENDING
static final SpecialRecipeSerializer<FireworkRocketRecipe> CRAFTING_SPECIAL_FIREWORK_ROCKET
static final SpecialRecipeSerializer<FireworkStarRecipe> CRAFTING_SPECIAL_FIREWORK_STAR
static final SpecialRecipeSerializer<FireworkStarFadeRecipe> CRAFTING_SPECIAL_FIREWORK_STAR_FADE
static final SpecialRecipeSerializer<TippedArrowRecipe> CRAFTING_SPECIAL_TIPPEDARROW
static final SpecialRecipeSerializer<BannerDuplicateRecipe> CRAFTING_SPECIAL_BANNERDUPLICATE
static final SpecialRecipeSerializer<ShieldRecipes> CRAFTING_SPECIAL_SHIELD
static final SpecialRecipeSerializer<ShulkerBoxColoringRecipe> CRAFTING_SPECIAL_SHULKERBOXCOLORING
static final SpecialRecipeSerializer<SuspiciousStewRecipe> CRAFTING_SPECIAL_SUSPICIOUSSTEW
static final SpecialRecipeSerializer<RepairItemRecipe> CRAFTING_SPECIAL_REPAIRITEM
static final CookingRecipeSerializer<FurnaceRecipe> SMELTING
static final CookingRecipeSerializer<BlastingRecipe> BLASTING
static final CookingRecipeSerializer<SmokingRecipe> SMOKING
static final CookingRecipeSerializer<CampfireCookingRecipe> CAMPFIRE_COOKING
static final IRecipeSerializer<StonecuttingRecipe> STONECUTTING
T read(ResourceLocation recipeId, com.google.gson.JsonObject json)
@Nullable T read(ResourceLocation recipeId, PacketBuffer buffer)
void write(PacketBuffer buffer, T recipe)
static <S extends IRecipeSerializer<T>,T extends IRecipe<?>> S register(java.lang.String key, S recipeSerializer)