Class CharacterComponent
java.lang.Object
dev.latvian.mods.kubejs.recipe.component.SimpleRecipeComponent<Character>
dev.latvian.mods.kubejs.recipe.component.CharacterComponent
- All Implemented Interfaces:
RecipeComponent<Character>
-
Field Summary
FieldsFields inherited from class dev.latvian.mods.kubejs.recipe.component.SimpleRecipeComponent
codec, type, typeInfo -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanhasPriority(RecipeMatchContext cx, Object from) Declares whether this component should take priority when being considered by e.g.booleanShallow empty check functiontoString(OpsContainer ops, Character value) Methods inherited from class dev.latvian.mods.kubejs.recipe.component.SimpleRecipeComponent
codec, toString, type, typeInfoMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface dev.latvian.mods.kubejs.recipe.component.RecipeComponent
allowEmpty, asConditionalList, asConditionalListOrSelf, asList, asListOrSelf, asMap, asPatternKey, buildUniqueId, createBuilder, inputKey, isIgnored, key, matches, or, orSelf, otherKey, outputKey, readFromJson, replace, spread, validate, withCodec, wrap, writeToJson
-
Field Details
-
CHARACTER
-
-
Constructor Details
-
CharacterComponent
-
-
Method Details
-
hasPriority
Description copied from interface:RecipeComponentDeclares whether this component should take priority when being considered by e.g. anEitherRecipeComponentduring deserialization.- Parameters:
cx- Script contextfrom- The object to be deserialized from- Returns:
- Whether this component should take priority
-
isEmpty
Description copied from interface:RecipeComponentShallow empty check function -
toString
-