Package net.citizensnpcs.npc.skin
Class TabListRemover
java.lang.Object
net.citizensnpcs.npc.skin.TabListRemover
Sends remove packets in batch per player.
 
Collects entities to remove and sends them all to the player in a single packet.
- 
Method SummaryModifier and TypeMethodDescriptionvoidcancelPackets(Player player) Cancel packets pending to be sent to the specified player.voidcancelPackets(Player player, SkinnableEntity skinnable) Cancel packets pending to be sent to the specified player for the specified skinnable entity.voidsendPacket(Player player, SkinnableEntity entity) Send a remove packet to the specified player for the specified skinnable entity.
- 
Method Details- 
cancelPacketsCancel packets pending to be sent to the specified player.- Parameters:
- player- The player.
 
- 
cancelPacketsCancel packets pending to be sent to the specified player for the specified skinnable entity.- Parameters:
- player- The player.
- skinnable- The skinnable entity.
 
- 
sendPacketSend a remove packet to the specified player for the specified skinnable entity.- Parameters:
- player- The player to send the packet to.
- entity- The entity to remove.
 
 
-