Class NpcView

All Implemented Interfaces:
Iterable<Npc>

public class NpcView extends ActorView<Npc,NpcView>
Lazy view over NPCs.
  • Constructor Details

    • NpcView

      public NpcView(Supplier<Stream<Npc>> source)
      Creates an NPC view backed by a stream supplier.
  • Method Details

    • id

      public NpcView id(int... ids)
      Filters NPCs by transformed definition id.
      Parameters:
      ids - NPC ids, usually from NpcId