Class CompostRecipeBuilder.Result

java.lang.Object
com.minecolonies.core.generation.CompostRecipeBuilder.Result
All Implemented Interfaces:
net.minecraft.data.recipes.FinishedRecipe
Enclosing class:
CompostRecipeBuilder

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

    Constructors
    Constructor
    Description
    Result(@NotNull net.minecraft.resources.ResourceLocation id, @NotNull net.minecraft.world.item.crafting.Ingredient input, int strength)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.resources.ResourceLocation
     
    @NotNull net.minecraft.resources.ResourceLocation
     
    @NotNull net.minecraft.world.item.crafting.RecipeSerializer<?>
     
    com.google.gson.JsonObject
     
    void
    serializeRecipeData(@NotNull 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(@NotNull @NotNull net.minecraft.resources.ResourceLocation id, @NotNull @NotNull net.minecraft.world.item.crafting.Ingredient input, int strength)
  • Method Details

    • serializeRecipeData

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

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

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

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

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