Package dev.latvian.mods.kubejs.core
Interface RecipeHolderKJS
- All Superinterfaces:
RecipeLikeKJS
- All Known Implementing Classes:
RecipeHolderMixin
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanhasInput(RecipeMatchContext cx, ReplacementMatchInfo match) default booleanhasOutput(RecipeMatchContext cx, ReplacementMatchInfo match) default Stringdefault net.minecraft.resources.ResourceLocationdefault net.minecraft.world.item.crafting.Recipe<?> default RecipeSchemakjs$getSchema(dev.latvian.mods.rhino.Context cx) default net.minecraft.world.item.crafting.RecipeSerializer<?> default net.minecraft.resources.ResourceKey<net.minecraft.world.item.crafting.RecipeSerializer<?>> default net.minecraft.world.item.crafting.RecipeHolder<?> kjs$self()default voidkjs$setGroup(String group) default booleanreplaceInput(RecipeScriptContext cx, ReplacementMatchInfo match, Object with) default booleanreplaceOutput(RecipeScriptContext cx, ReplacementMatchInfo match, Object with) Methods inherited from interface dev.latvian.mods.kubejs.core.RecipeLikeKJS
kjs$getMod, kjs$getType
-
Method Details
-
kjs$self
default net.minecraft.world.item.crafting.RecipeHolder<?> kjs$self() -
kjs$getRecipe
default net.minecraft.world.item.crafting.Recipe<?> kjs$getRecipe() -
kjs$getGroup
- Specified by:
kjs$getGroupin interfaceRecipeLikeKJS
-
kjs$setGroup
- Specified by:
kjs$setGroupin interfaceRecipeLikeKJS
-
kjs$getOrCreateId
default net.minecraft.resources.ResourceLocation kjs$getOrCreateId()- Specified by:
kjs$getOrCreateIdin interfaceRecipeLikeKJS
-
kjs$getSerializer
default net.minecraft.world.item.crafting.RecipeSerializer<?> kjs$getSerializer()- Specified by:
kjs$getSerializerin interfaceRecipeLikeKJS
-
kjs$getSchema
- Specified by:
kjs$getSchemain interfaceRecipeLikeKJS
-
kjs$getTypeKey
default net.minecraft.resources.ResourceKey<net.minecraft.world.item.crafting.RecipeSerializer<?>> kjs$getTypeKey()- Specified by:
kjs$getTypeKeyin interfaceRecipeLikeKJS
-
hasInput
- Specified by:
hasInputin interfaceRecipeLikeKJS
-
replaceInput
- Specified by:
replaceInputin interfaceRecipeLikeKJS
-
hasOutput
- Specified by:
hasOutputin interfaceRecipeLikeKJS
-
replaceOutput
- Specified by:
replaceOutputin interfaceRecipeLikeKJS
-