Class CardCondition

java.lang.Object
com.pixelmonmod.tcg.api.card.CardCondition

public class CardCondition extends Object
Represents the condition associated with a card. E.G. Poisoned, Burned, Asleep, etc. See CardConditions for all available conditions.
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<CardCondition> CODEC
  • Constructor Details

  • Method Details

    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • getName

      public String getName()
      Gets the name of the condition.
      Returns:
      The name of the condition.
    • getAliases

      public List<String> getAliases()
      Gets the aliases of the condition.
      Returns:
      The aliases of the condition.