Class StatCondition


public class StatCondition extends EntityStatBoundCondition
A condition that checks an entity's stat against a specified amount using a comparison type.
  • Field Details

  • Constructor Details

    • StatCondition

      public StatCondition(boolean inverse, int stat, float amount)
      Default Constructor for a StatCondition instance.
      Parameters:
      inverse - Whether to invert the condition's result.
      stat - The stat index to evaluate the condition against.
      amount - The amount to compare the entity's stat against.
  • Method Details