Class GroundItems.Query

Enclosing class:
GroundItems

public static final class GroundItems.Query extends EntityQuery<GroundItem, GroundItems.Query>
  • Method Details

    • withGameval

      public GroundItems.Query withGameval(String... gamevals)
      Filter by the item's gameval symbolic name, e.g. "COINS". Pass several to match any of them. Names are resolved once when the filter is added; an unknown name narrows the query to nothing and logs a warning.
    • withItemId

      public GroundItems.Query withItemId(int itemId)
      Convenience alias for withId.