Package dev.latvian.mods.kubejs.recipe
Class RecipeFunction
java.lang.Object
dev.latvian.mods.rhino.NativeJavaObject
dev.latvian.mods.kubejs.recipe.RecipeFunction
- All Implemented Interfaces:
dev.latvian.mods.rhino.IdEnumerationIterator,dev.latvian.mods.rhino.Scriptable,dev.latvian.mods.rhino.SymbolScriptable,dev.latvian.mods.rhino.Wrapper
public class RecipeFunction
extends dev.latvian.mods.rhino.NativeJavaObject
-
Field Summary
FieldsFields inherited from class dev.latvian.mods.rhino.NativeJavaObject
customMembers, fieldAndMethods, isAdapter, javaObject, members, parent, prototype, typeInfoFields inherited from interface dev.latvian.mods.rhino.Scriptable
NOT_FOUND -
Constructor Summary
ConstructorsConstructorDescriptionRecipeFunction(dev.latvian.mods.rhino.Context cx, dev.latvian.mods.rhino.Scriptable scope, dev.latvian.mods.rhino.type.TypeInfo staticType, KubeRecipe recipe) -
Method Summary
Methods inherited from class dev.latvian.mods.rhino.NativeJavaObject
addCustomFunction, addCustomFunction, addCustomMember, addCustomProperty, delete, delete, delete, get, get, getClassName, getDefaultValue, getIds, getParentScope, getPrototype, getTypeMapping, has, has, has, hasInstance, initMembers, put, put, put, setParentScope, setPrototype, unwrapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.latvian.mods.rhino.Scriptable
enumerationIteratorHasNext, enumerationIteratorNext, getAllIds, getTypeOf
-
Field Details
-
recipe
-
builderFunctions
-
-
Constructor Details
-
RecipeFunction
public RecipeFunction(dev.latvian.mods.rhino.Context cx, dev.latvian.mods.rhino.Scriptable scope, dev.latvian.mods.rhino.type.TypeInfo staticType, KubeRecipe recipe)
-
-
Method Details
-
isValidIdentifier
public static boolean isValidIdentifier(char[] name) -
get
public Object get(dev.latvian.mods.rhino.Context cx, String name, dev.latvian.mods.rhino.Scriptable start) - Specified by:
getin interfacedev.latvian.mods.rhino.Scriptable- Overrides:
getin classdev.latvian.mods.rhino.NativeJavaObject
-