public static class CitizensNPCRegistry.MapNPCCollection extends Object implements CitizensNPCRegistry.NPCCollection
Constructor and Description |
---|
MapNPCCollection() |
Modifier and Type | Method and Description |
---|---|
net.citizensnpcs.api.npc.NPC |
get(int id) |
net.citizensnpcs.api.npc.NPC |
get(UUID uuid) |
Iterator<net.citizensnpcs.api.npc.NPC> |
iterator() |
void |
put(int id,
net.citizensnpcs.api.npc.NPC npc) |
void |
remove(net.citizensnpcs.api.npc.NPC npc) |
Iterable<net.citizensnpcs.api.npc.NPC> |
sorted() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public net.citizensnpcs.api.npc.NPC get(int id)
get
in interface CitizensNPCRegistry.NPCCollection
public net.citizensnpcs.api.npc.NPC get(UUID uuid)
get
in interface CitizensNPCRegistry.NPCCollection
public Iterator<net.citizensnpcs.api.npc.NPC> iterator()
public void put(int id, net.citizensnpcs.api.npc.NPC npc)
put
in interface CitizensNPCRegistry.NPCCollection
public void remove(net.citizensnpcs.api.npc.NPC npc)
remove
in interface CitizensNPCRegistry.NPCCollection
public Iterable<net.citizensnpcs.api.npc.NPC> sorted()
sorted
in interface CitizensNPCRegistry.NPCCollection
Copyright © 2019. All rights reserved.