Class ConditionCustom
java.lang.Object
com.blamejared.crafttweaker.api.ingredient.condition.type.ConditionCustom
- All Implemented Interfaces:
IIngredientCondition
-
Field Summary
Fields inherited from interface com.blamejared.crafttweaker.api.ingredient.condition.IIngredientCondition
CODEC, STREAM_CODEC -
Constructor Summary
ConstructorsConstructorDescriptionConditionCustom(String uid) ConditionCustom(String uid, Predicate<IItemStack> function) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetCommandString(String base) getUid()inthashCode()booleanmatches(IItemStack stack) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.blamejared.crafttweaker.api.ingredient.condition.IIngredientCondition
componentFilter, getType
-
Constructor Details
-
ConditionCustom
-
ConditionCustom
-
-
Method Details
-
matches
- Specified by:
matchesin interfaceIIngredientCondition
-
getCommandString
- Specified by:
getCommandStringin interfaceIIngredientCondition
-
getUid
-
getSerializer
- Specified by:
getSerializerin interfaceIIngredientCondition
-
equals
-
hashCode
public int hashCode()
-