Class RecipeComponentValue<T>
java.lang.Object
dev.latvian.mods.kubejs.recipe.component.RecipeComponentValue<T>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()booleanintgetIndex()getKey()getValue()inthashCode()booleanmatches(RecipeMatchContext cx, ReplacementMatchInfo match) booleanreplace(RecipeScriptContext cx, ReplacementMatchInfo match, Object with) booleantoString()voidvalidate(RecipeValidationContext ctx, SourceLine sourceLine) voidwrite()
-
Field Details
-
EMPTY_ARRAY
-
key
-
index
public final int index -
value
-
write
public boolean write
-
-
Constructor Details
-
RecipeComponentValue
-
-
Method Details
-
copy
-
matches
-
replace
-
getKey
-
getIndex
public int getIndex() -
getValue
-
setValue
-
shouldWrite
public boolean shouldWrite() -
write
public void write() -
toString
-
equals
-
hashCode
public int hashCode() -
validate
-