Class ShapelessKubeRecipe
java.lang.Object
dev.latvian.mods.kubejs.recipe.KubeRecipe
dev.latvian.mods.kubejs.recipe.schema.minecraft.ShapelessKubeRecipe
- All Implemented Interfaces:
RecipeLikeKJS,dev.latvian.mods.rhino.util.CustomJavaToJsWrapper
-
Field Summary
FieldsFields inherited from class dev.latvian.mods.kubejs.recipe.KubeRecipe
changed, CHANGED_MARKER, creationError, id, json, modifyResult, newRecipe, originalJson, recipeIngredientActions, removed, sourceLine, type, TYPE_INFO -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionOnly used byKubeRecipe.getOrCreateId()andKubeRecipe.serializeChanges()in rare case that a recipe can be another recipe type than itself (e.g.Methods inherited from class dev.latvian.mods.kubejs.recipe.KubeRecipe
afterLoaded, afterLoaded, consumeIngredient, convertJavaToJs, customIngredientAction, damageIngredient, damageIngredient, deserialize, get, getFromToString, getId, getOrCreateId, getOriginalRecipe, getOriginalRecipeIngredients, getOriginalRecipeResult, getPath, getRecipeComponentValues, getValue, group, hasChanged, hasInput, hasOutput, id, ingredientAction, initValues, inputValues, keepIngredient, kjs$getGroup, kjs$getOrCreateId, kjs$getSchema, kjs$getSerializer, kjs$getTypeKey, kjs$setGroup, merge, modifyResult, outputValues, remove, replaceIngredient, replaceInput, replaceOutput, save, serialize, serializeChanges, set, setValue, stage, toString, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface dev.latvian.mods.kubejs.core.RecipeLikeKJS
kjs$getMod, kjs$getType
-
Field Details
-
RECIPE_FACTORY
-
-
Constructor Details
-
ShapelessKubeRecipe
public ShapelessKubeRecipe()
-
-
Method Details
-
getSerializationTypeFunction
Description copied from class:KubeRecipeOnly used byKubeRecipe.getOrCreateId()andKubeRecipe.serializeChanges()in rare case that a recipe can be another recipe type than itself (e.g. kubejs:shaped -> minecraft:crafting_shaped)- Overrides:
getSerializationTypeFunctionin classKubeRecipe
-