Interface RecipeLikeKJS

All Known Subinterfaces:
RecipeHolderKJS
All Known Implementing Classes:
KubeRecipe, RecipeHolderMixin, ShapedKubeRecipe, ShapelessKubeRecipe, UnknownKubeRecipe

@RemapPrefixForJS("kjs$") public interface RecipeLikeKJS
  • Method Details

    • kjs$getGroup

      String kjs$getGroup()
    • kjs$setGroup

      void kjs$setGroup(String group)
    • kjs$getOrCreateId

      net.minecraft.resources.ResourceLocation kjs$getOrCreateId()
    • kjs$getSchema

      RecipeSchema kjs$getSchema(dev.latvian.mods.rhino.Context cx)
    • kjs$getMod

      default String kjs$getMod()
    • kjs$getTypeKey

      net.minecraft.resources.ResourceKey<net.minecraft.world.item.crafting.RecipeSerializer<?>> kjs$getTypeKey()
    • kjs$getType

      default net.minecraft.resources.ResourceLocation kjs$getType()
    • kjs$getSerializer

      net.minecraft.world.item.crafting.RecipeSerializer<?> kjs$getSerializer()
    • hasInput

      default boolean hasInput(RecipeMatchContext cx, ReplacementMatchInfo match)
    • replaceInput

      default boolean replaceInput(RecipeScriptContext cx, ReplacementMatchInfo match, Object with)
    • hasOutput

      default boolean hasOutput(RecipeMatchContext cx, ReplacementMatchInfo match)
    • replaceOutput

      default boolean replaceOutput(RecipeScriptContext cx, ReplacementMatchInfo match, Object with)