Class ShapelessKubeJSRecipe

java.lang.Object
net.minecraft.world.item.crafting.ShapelessRecipe
dev.latvian.mods.kubejs.recipe.special.ShapelessKubeJSRecipe
All Implemented Interfaces:
KubeJSCraftingRecipe, net.minecraft.world.item.crafting.CraftingRecipe, net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.CraftingInput>

public class ShapelessKubeJSRecipe extends net.minecraft.world.item.crafting.ShapelessRecipe implements KubeJSCraftingRecipe
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     

    Nested classes/interfaces inherited from class net.minecraft.world.item.crafting.ShapelessRecipe

    net.minecraft.world.item.crafting.ShapelessRecipe.Serializer
  • Field Summary

    Fields inherited from class net.minecraft.world.item.crafting.ShapelessRecipe

    group, ingredients, result

    Fields inherited from interface dev.latvian.mods.kubejs.recipe.special.KubeJSCraftingRecipe

    INGREDIENT_ACTIONS_KEY, MIRROR_KEY, MODIFY_RESULT_KEY

    Fields inherited from interface net.minecraft.world.item.crafting.Recipe

    CODEC, CONDITIONAL_CODEC, STREAM_CODEC
  • Constructor Summary

    Constructors
    Constructor
    Description
    ShapelessKubeJSRecipe(net.minecraft.world.item.crafting.ShapelessRecipe original, List<IngredientActionHolder> ingredientActions, String modifyResult)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.item.ItemStack
    assemble(net.minecraft.world.item.crafting.CraftingInput input, net.minecraft.core.HolderLookup.Provider registryAccess)
     
    net.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack>
    getRemainingItems(net.minecraft.world.item.crafting.CraftingInput input)
     
    net.minecraft.world.item.crafting.RecipeSerializer<?>
     
     
     

    Methods inherited from class net.minecraft.world.item.crafting.ShapelessRecipe

    canCraftInDimensions, category, getGroup, getIngredients, getResultItem, matches

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface net.minecraft.world.item.crafting.CraftingRecipe

    category, getType

    Methods inherited from interface dev.latvian.mods.kubejs.recipe.special.KubeJSCraftingRecipe

    kjs$assemble, kjs$getRemainingItems

    Methods inherited from interface net.minecraft.world.item.crafting.Recipe

    canCraftInDimensions, getGroup, getIngredients, getResultItem, getToastSymbol, isIncomplete, isSpecial, matches, showNotification
  • Constructor Details

    • ShapelessKubeJSRecipe

      public ShapelessKubeJSRecipe(net.minecraft.world.item.crafting.ShapelessRecipe original, List<IngredientActionHolder> ingredientActions, String modifyResult)
  • Method Details

    • getSerializer

      public net.minecraft.world.item.crafting.RecipeSerializer<?> getSerializer()
      Specified by:
      getSerializer in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.CraftingInput>
      Overrides:
      getSerializer in class net.minecraft.world.item.crafting.ShapelessRecipe
    • kjs$getIngredientActions

      public List<IngredientActionHolder> kjs$getIngredientActions()
      Specified by:
      kjs$getIngredientActions in interface KubeJSCraftingRecipe
    • kjs$getModifyResult

      public String kjs$getModifyResult()
      Specified by:
      kjs$getModifyResult in interface KubeJSCraftingRecipe
    • getRemainingItems

      public net.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack> getRemainingItems(net.minecraft.world.item.crafting.CraftingInput input)
      Specified by:
      getRemainingItems in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.CraftingInput>
    • assemble

      public net.minecraft.world.item.ItemStack assemble(net.minecraft.world.item.crafting.CraftingInput input, net.minecraft.core.HolderLookup.Provider registryAccess)
      Specified by:
      assemble in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.CraftingInput>
      Overrides:
      assemble in class net.minecraft.world.item.crafting.ShapelessRecipe