Class PacketConfig
java.lang.Object
io.github.kosmx.emotes.common.network.PacketConfig
Utility class
Definitions for packet version map keys
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final byteWhether the server allows huge emotes in play state.static final bytestatic final bytestatic final byteMax animation version supported by the other side.static final byteEnable/disable NBS on this server/client.static final byteMax animation version supported by the other side.static final bytestatic final byteAnnounce emote play state tracking feature.static final byte -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
LEGACY_ANIMATION_FORMAT
public static final byte LEGACY_ANIMATION_FORMATMax animation version supported by the other side. (playeranimator)- See Also:
-
NEW_ANIMATION_FORMAT
public static final byte NEW_ANIMATION_FORMATMax animation version supported by the other side. (playeranimlib)- See Also:
-
NBS_CONFIG
public static final byte NBS_CONFIGEnable/disable NBS on this server/client.- See Also:
-
SERVER_TRACK_EMOTE_PLAY
public static final byte SERVER_TRACK_EMOTE_PLAYAnnounce emote play state tracking feature. Mod and bukkit plugin Emotecraft does track state on server. If the server sets it to 0 (false) the client will repeat all emote play messages if a new player is seen.- See Also:
-
DISCOVERY_PACKET
public static final byte DISCOVERY_PACKETWhether the server allows huge emotes in play state. 0: no any non-zero value: yes- See Also:
-
HEADER_PACKET
public static final byte HEADER_PACKET- See Also:
-
ICON_PACKET
public static final byte ICON_PACKET- See Also:
-
PLAYER_DATA_PACKET
public static final byte PLAYER_DATA_PACKET- See Also:
-
STOP_PACKET
public static final byte STOP_PACKET- See Also:
-
-
Constructor Details
-
PacketConfig
public PacketConfig()
-