Class PlayerMinedNumberOfItemsCondition

java.lang.Object
games.stendhal.server.entity.npc.condition.PlayerMinedNumberOfItemsCondition
All Implemented Interfaces:
ChatCondition, PreTransitionCondition

@Dev(category=ITEMS_LOOTED, label="Item?") public class PlayerMinedNumberOfItemsCondition extends Object implements ChatCondition
Checks if a player has mined a given number of items
Author:
madmetzger
  • Constructor Details

    • PlayerMinedNumberOfItemsCondition

      public PlayerMinedNumberOfItemsCondition(int number, String... items)
      Create a new PlayerMinedNumberOfItemsCondition
      Parameters:
      number - required number of each item
      items - list of required items
  • Method Details