Class ConditionDamagedAtMost<T extends IIngredient>
java.lang.Object
com.blamejared.crafttweaker.api.ingredient.condition.type.ConditionDamagedAtMost<T>
- All Implemented Interfaces:
IIngredientCondition<T>
@ZenRegister
public class ConditionDamagedAtMost<T extends IIngredient>
extends Object
implements IIngredientCondition<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetCommandString(IIngredient ingredient) intinthashCode()booleanbooleanmatches(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
getType, toJson, write
-
Constructor Details
-
ConditionDamagedAtMost
public ConditionDamagedAtMost(int maxDamage)
-
-
Method Details
-
matches
- Specified by:
matchesin interfaceIIngredientCondition<T extends IIngredient>
-
ignoresDamage
public boolean ignoresDamage()- Specified by:
ignoresDamagein interfaceIIngredientCondition<T extends IIngredient>
-
getCommandString
- Specified by:
getCommandStringin interfaceIIngredientCondition<T extends IIngredient>
-
getSerializer
- Specified by:
getSerializerin interfaceIIngredientCondition<T extends IIngredient>
-
equals
-
hashCode
public int hashCode() -
getMaxDamage
public int getMaxDamage()
-