Package dev.latvian.mods.kubejs.recipe
Class RecipeTypeFunction
java.lang.Object
dev.latvian.mods.rhino.ScriptableObject
dev.latvian.mods.rhino.IdScriptableObject
dev.latvian.mods.rhino.BaseFunction
dev.latvian.mods.kubejs.recipe.RecipeTypeFunction
- All Implemented Interfaces:
WrappedJS,dev.latvian.mods.rhino.Callable,dev.latvian.mods.rhino.ConstProperties,dev.latvian.mods.rhino.Function,dev.latvian.mods.rhino.IdEnumerationIterator,dev.latvian.mods.rhino.IdFunctionCall,dev.latvian.mods.rhino.Scriptable,dev.latvian.mods.rhino.SymbolScriptable
-
Nested Class Summary
Nested classes/interfaces inherited from class dev.latvian.mods.rhino.ScriptableObject
dev.latvian.mods.rhino.ScriptableObject.KeyComparator -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal RecipesKubeEventfinal net.minecraft.resources.ResourceLocationfinal Stringfinal RecipeSchemaTypefinal net.minecraft.resources.ResourceKey<net.minecraft.world.item.crafting.RecipeSerializer<?>> static final PatternFields inherited from class dev.latvian.mods.rhino.ScriptableObject
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONSTFields inherited from interface dev.latvian.mods.rhino.Scriptable
NOT_FOUND -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncall(dev.latvian.mods.rhino.Context cx, dev.latvian.mods.rhino.Scriptable scope, dev.latvian.mods.rhino.Scriptable thisObj, Object[] args0) createRecipe(dev.latvian.mods.rhino.Context cx, SourceLine sourceLine, ErrorStack stack, Object[] args) booleaninthashCode()toString()Methods inherited from class dev.latvian.mods.rhino.BaseFunction
construct, createObject, execIdCall, fillConstructorProperties, findInstanceIdInfo, findPrototypeId, getArity, getClassName, getClassPrototype, getFunctionName, getInstanceIdName, getInstanceIdValue, getLength, getMaxInstanceId, getPrototypeProperty, getTypeOf, hasInstance, hasPrototypeProperty, initPrototypeId, isGeneratorFunction, setImmunePrototypeProperty, setInstanceIdAttributes, setInstanceIdValue, toFunctionStringMethods inherited from class dev.latvian.mods.rhino.IdScriptableObject
activatePrototypeMap, addIdFunctionProperty, defaultGet, defaultHas, defaultPut, defineOwnProperty, delete, delete, exportAsJSClass, findInstanceIdInfo, findPrototypeId, get, get, getAttributes, getAttributes, getOwnPropertyDescriptor, has, has, hasPrototypeMap, incompatibleCallError, initPrototypeConstructor, initPrototypeMethod, initPrototypeMethod, initPrototypeMethod, initPrototypeValue, initPrototypeValue, instanceIdInfo, put, put, setAttributesMethods inherited from class dev.latvian.mods.rhino.ScriptableObject
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, checkPropertyChange, checkPropertyDefinition, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, ensureSymbolScriptable, equivalentValues, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGeneratorFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, has, hasProperty, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, putConst, putConstProperty, putProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, sizeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface dev.latvian.mods.rhino.Scriptable
delete, delete, enumerationIteratorHasNext, enumerationIteratorNext, get, get, getAllIds, getDefaultValue, getIds, getParentScope, getPrototype, has, has, put, put, setParentScope, setPrototype
-
Field Details
-
SKIP_ERROR
-
event
-
serializerKey
public final net.minecraft.resources.ResourceKey<net.minecraft.world.item.crafting.RecipeSerializer<?>> serializerKey -
id
public final net.minecraft.resources.ResourceLocation id -
idString
-
schemaType
-
-
Constructor Details
-
RecipeTypeFunction
-
-
Method Details
-
call
public KubeRecipe call(dev.latvian.mods.rhino.Context cx, dev.latvian.mods.rhino.Scriptable scope, dev.latvian.mods.rhino.Scriptable thisObj, Object[] args0) - Specified by:
callin interfacedev.latvian.mods.rhino.Callable- Specified by:
callin interfacedev.latvian.mods.rhino.Function- Overrides:
callin classdev.latvian.mods.rhino.BaseFunction
-
createRecipe
public KubeRecipe createRecipe(dev.latvian.mods.rhino.Context cx, SourceLine sourceLine, ErrorStack stack, Object[] args) -
toString
- Overrides:
toStringin classdev.latvian.mods.rhino.BaseFunction
-
hashCode
public int hashCode() -
equals
-