Package io.github.kosmx.emotes.common
Class CommonData
java.lang.Object
io.github.kosmx.emotes.common.CommonData
static channel to access constant from everywhere in the mod.
Including Fabric and Bukkit code.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringWrapper type for huge blobs.static final org.slf4j.Loggerstatic final intMaximum packet size that can be sent by the client/received by the server Could have been even bigger, but the paper servers sucksstatic final Stringstatic final Stringstatic final intver 1: older versions ver 2: no network discovery, repeating and bending exists ver 3: network discovery ver 4: not syncing head bending values ver 5: boolean, easing can indicated after the move ver 6: experimental sound syncstatic final Stringbidirectional, Emote playing or repeating Channel for common Emotecraft networking. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
MOD_ID
- See Also:
-
MOD_NAME
- See Also:
-
LOGGER
public static final org.slf4j.Logger LOGGER -
networkingVersion
public static final int networkingVersionver 1: older versions ver 2: no network discovery, repeating and bending exists ver 3: network discovery ver 4: not syncing head bending values ver 5: boolean, easing can indicated after the move ver 6: experimental sound syncver 7: reserved
--------------------------------------
ver 8: New networking: sub packet versioning, Collar network ready, sync current tick instead of repeat boolean EmoteUUID in play and stop, no spamming, Eases in bytecodes instead of Strings Only one network ID, not compatibly with earlier versions. sub-packets and sub-versions. probably final version...
- See Also:
-
playEmoteID
bidirectional, Emote playing or repeating Channel for common Emotecraft networking.- See Also:
-
emoteStreamID
Wrapper type for huge blobs. used for emote sync (since 2.2) Data sent here is going to be unwrapped and sent to playEmote channel handler.Servers may completely ignore this channel in play state. see
PacketConfig- See Also:
-
MAX_PACKET_SIZE
public static final int MAX_PACKET_SIZEMaximum packet size that can be sent by the client/received by the server Could have been even bigger, but the paper servers sucksIdentical to ClientboundCustomPayloadPacket#MAX_PAYLOAD_SIZE
- See Also:
-
-
Constructor Details
-
CommonData
public CommonData()
-
-
Method Details
-
getIDAsString
-