-
Notifications
You must be signed in to change notification settings - Fork 21
Networking docs
This page is a list of the packet formats and structures used for communicating between a client with a compatible mod and a server with DeltaLogger.
Class: SearchPacket
Takes a String in the same format as the command itself, as the String will be parsed like the search command is
Identifier: deltalogger:search_c2s_packet
C2S
buf.writeString("limit:10")
Returns the types of packets relevant to the search result, see below
Identifier: deltalogger:search_s2c_packet
Identifier: deltalogger:inspect
int 0: X coordinate
int 1: Y coordinate
int 2: Z coordinate
short 3: Integer limit for transactions
Class: NetworkUtils
Identifier: deltalogger:placement
A representation of a Placement as a packet
int 0: X coordinate
int 1: Y coordinate
int 2: Z coordinate
boolean 3: If true, the block was placed
byte[] 4: Representation of the player name as a UTF 8 byte array
long 5: Time, as epoch second
byte[] 6: Block type as a UTF 8 byte array
byte[] 7: BlockState NBT represented as a UTF 8 byte array
A representation of a TransactionPos as a packet
Identifier: deltalogger:transaction
int 0: X coordinate
int 1: Y coordinate
int 2: Z coordinate
byte[] 3: Representation of the player name as a UTF 8 byte array
long 4: Time, as epoch second
int 5: Number of items changed
byte[] 6: Item type represented as a UTF 8 byte array