public class BulkChunkTranslatorProvider extends Object implements Provider
Constructor and Description |
---|
BulkChunkTranslatorProvider() |
Modifier and Type | Method and Description |
---|---|
boolean |
isFiltered(Class<?> packet)
Check if a packet of a class should be filtered
|
boolean |
isPacketLevel()
Check if the packet should be provided as PacketWrapper
|
List<Object> |
transformMapChunkBulk(Object packet,
ClientChunks clientChunks)
Transforms a Bulk Chunk packet into Chunk Packets
|
public List<Object> transformMapChunkBulk(Object packet, ClientChunks clientChunks) throws Exception
packet
- The NMS PacketclientChunks
- The ClientChunks object for the current playerException
- If there is an issue translatingpublic boolean isFiltered(Class<?> packet)
packet
- NMS Packetpublic boolean isPacketLevel()
Copyright © 2016–2021. All rights reserved.