UNPKG

minecraft-protocol

Version:

Parse and serialize minecraft packets, plus authentication and encryption.

12 lines (9 loc) 175 B
'use strict' const states = { HANDSHAKING: 'handshaking', STATUS: 'status', LOGIN: 'login', CONFIGURATION: 'configuration', PLAY: 'play' } module.exports = states