Class WorkstationRecipeBuilder.Result

java.lang.Object
ml.pluto7073.pdapi.datagen.builder.WorkstationRecipeBuilder.Result
All Implemented Interfaces:
net.minecraft.data.recipes.FinishedRecipe
Enclosing class:
WorkstationRecipeBuilder

public static class WorkstationRecipeBuilder.Result extends Object implements net.minecraft.data.recipes.FinishedRecipe
  • Constructor Summary

    Constructors
    Constructor
    Description
    Result(net.minecraft.resources.ResourceLocation id, net.minecraft.world.item.crafting.Ingredient base, net.minecraft.world.item.crafting.Ingredient addition, net.minecraft.resources.ResourceLocation result)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable net.minecraft.resources.ResourceLocation
     
    net.minecraft.resources.ResourceLocation
     
    net.minecraft.world.item.crafting.RecipeSerializer<?>
     
    @Nullable com.google.gson.JsonObject
     
    void
    serializeRecipeData(com.google.gson.JsonObject json)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.minecraft.data.recipes.FinishedRecipe

    serializeRecipe
  • Constructor Details

    • Result

      public Result(net.minecraft.resources.ResourceLocation id, net.minecraft.world.item.crafting.Ingredient base, net.minecraft.world.item.crafting.Ingredient addition, net.minecraft.resources.ResourceLocation result)
  • Method Details

    • serializeRecipeData

      public void serializeRecipeData(com.google.gson.JsonObject json)
      Specified by:
      serializeRecipeData in interface net.minecraft.data.recipes.FinishedRecipe
    • getId

      public net.minecraft.resources.ResourceLocation getId()
      Specified by:
      getId in interface net.minecraft.data.recipes.FinishedRecipe
    • getType

      public net.minecraft.world.item.crafting.RecipeSerializer<?> getType()
      Specified by:
      getType in interface net.minecraft.data.recipes.FinishedRecipe
    • serializeAdvancement

      @Nullable public @Nullable com.google.gson.JsonObject serializeAdvancement()
      Specified by:
      serializeAdvancement in interface net.minecraft.data.recipes.FinishedRecipe
    • getAdvancementId

      @Nullable public @Nullable net.minecraft.resources.ResourceLocation getAdvancementId()
      Specified by:
      getAdvancementId in interface net.minecraft.data.recipes.FinishedRecipe