Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractNetworkInstance - Class in io.github.kosmx.emotes.api.proxy
-
Implement this if you want to act as a proxy for EmoteX This has most of the functions implemented as you might want, but you can override any.
- AbstractNetworkInstance() - Constructor for class io.github.kosmx.emotes.api.proxy.AbstractNetworkInstance
- AbstractNetworkPacket - Class in io.github.kosmx.emotes.common.network.objects
- AbstractNetworkPacket() - Constructor for class io.github.kosmx.emotes.common.network.objects.AbstractNetworkPacket
- add(Pair<L, R>) - Method in class io.github.kosmx.emotes.common.tools.BiMap
-
Only put the item into it, if it's not already there.
- add(T) - Method in class io.github.kosmx.emotes.common.tools.UUIDMap
- addAll(Collection<? extends Pair<L, R>>) - Method in class io.github.kosmx.emotes.common.tools.BiMap
- addAll(Collection<T>) - Method in class io.github.kosmx.emotes.common.tools.UUIDMap
- available() - Method in class io.github.kosmx.emotes.common.tools.ByteBufferInputStream
B
- basics - Variable in class io.github.kosmx.emotes.common.SerializableConfig
- BiMap<L,
R> - Class in io.github.kosmx.emotes.common.tools -
Bi-directional hash-map.
- BiMap() - Constructor for class io.github.kosmx.emotes.common.tools.BiMap
- buffer - Variable in class io.github.kosmx.emotes.common.tools.ByteBufferInputStream
- buffer - Variable in class io.github.kosmx.emotes.common.tools.ByteBufferOutputStream
- build() - Method in class io.github.kosmx.emotes.common.network.EmotePacket.Builder
- build(int, boolean) - Method in class io.github.kosmx.emotes.common.network.EmotePacket.Builder
- Builder() - Constructor for class io.github.kosmx.emotes.common.network.EmotePacket.Builder
- Builder(NetData) - Constructor for class io.github.kosmx.emotes.common.network.EmotePacket.Builder
- ByteBufferInputStream - Class in io.github.kosmx.emotes.common.tools
- ByteBufferInputStream(ByteBuffer) - Constructor for class io.github.kosmx.emotes.common.tools.ByteBufferInputStream
- ByteBufferOutputStream - Class in io.github.kosmx.emotes.common.tools
- ByteBufferOutputStream(ByteBuffer) - Constructor for class io.github.kosmx.emotes.common.tools.ByteBufferOutputStream
C
- calculateMessageSize(NbsSong) - Static method in class io.github.kosmx.emotes.common.nbsplayer.LegacyNBSPacket
-
Deprecated.Warning! Works incorrectly when sending extra data
- calculateSize(NetData) - Method in class io.github.kosmx.emotes.common.network.objects.AbstractNetworkPacket
-
Estimated size to create buffers
- calculateSize(NetData) - Method in class io.github.kosmx.emotes.common.network.objects.DiscoveryPacket
- calculateSize(NetData) - Method in class io.github.kosmx.emotes.common.network.objects.EmoteDataPacket
- calculateSize(NetData) - Method in class io.github.kosmx.emotes.common.network.objects.EmoteHeaderPacket
- calculateSize(NetData) - Method in class io.github.kosmx.emotes.common.network.objects.EmoteIconPacket
- calculateSize(NetData) - Method in class io.github.kosmx.emotes.common.network.objects.NewAnimPacket
- calculateSize(NetData) - Method in class io.github.kosmx.emotes.common.network.objects.PlayerDataPacket
- calculateSize(NetData) - Method in class io.github.kosmx.emotes.common.network.objects.SongPacket
- calculateSize(NetData) - Method in class io.github.kosmx.emotes.common.network.objects.StopPacket
- calculateSongSize(Song) - Static method in class io.github.kosmx.emotes.common.network.objects.SongPacket
- clear() - Method in class io.github.kosmx.emotes.common.tools.BiMap
- ClientEmoteAPI - Class in io.github.kosmx.emotes.api.events.client
- ClientEmoteAPI() - Constructor for class io.github.kosmx.emotes.api.events.client.ClientEmoteAPI
- ClientEmoteEvents - Class in io.github.kosmx.emotes.api.events.client
-
This API will be used on logical CLIENT SIDE Server-side events are in
ServerEmoteEvents - ClientEmoteEvents() - Constructor for class io.github.kosmx.emotes.api.events.client.ClientEmoteEvents
- ClientEmoteEvents.EmotePlayEvent - Interface in io.github.kosmx.emotes.api.events.client
- ClientEmoteEvents.EmoteStopEvent - Interface in io.github.kosmx.emotes.api.events.client
- ClientEmoteEvents.EmoteVerifier - Interface in io.github.kosmx.emotes.api.events.client
- ClientEmoteEvents.LocalEmoteStopEvent - Interface in io.github.kosmx.emotes.api.events.client
- clientEmoteList() - Static method in class io.github.kosmx.emotes.api.events.client.ClientEmoteAPI
-
A list of client-side active emotes.
- clientEmoteListImpl() - Method in class io.github.kosmx.emotes.api.events.client.ClientEmoteAPI
- ClientNetworkEvents - Class in io.github.kosmx.emotes.api.events.client
-
Network-related events on the client Can be used for compatibility with replaymod or flashback
- ClientNetworkEvents() - Constructor for class io.github.kosmx.emotes.api.events.client.ClientNetworkEvents
- ClientNetworkEvents.PacketSendEvent - Interface in io.github.kosmx.emotes.api.events.client
- close() - Method in class io.github.kosmx.emotes.common.tools.ByteBufferInputStream
- close() - Method in class io.github.kosmx.emotes.common.tools.ByteBufferOutputStream
- CommonData - Class in io.github.kosmx.emotes.common
-
static channel to access constant from everywhere in the mod.
- CommonData() - Constructor for class io.github.kosmx.emotes.common.CommonData
- CommonNetwork - Class in io.github.kosmx.emotes.common.network
-
I can't use Minecraft's string and uuid byte reader in a bukkit plugin, I need to implement these.
- CommonNetwork() - Constructor for class io.github.kosmx.emotes.common.network.CommonNetwork
- CONFIG - Enum constant in enum class io.github.kosmx.emotes.common.network.PacketTask
- ConfigEntry(String, String, T, boolean, List<SerializableConfig.ConfigEntry<?>>) - Constructor for class io.github.kosmx.emotes.common.SerializableConfig.ConfigEntry
- ConfigEntry(String, String, T, boolean, List<SerializableConfig.ConfigEntry<?>>, boolean) - Constructor for class io.github.kosmx.emotes.common.SerializableConfig.ConfigEntry
- ConfigEntry(String, T, boolean, List<SerializableConfig.ConfigEntry<?>>) - Constructor for class io.github.kosmx.emotes.common.SerializableConfig.ConfigEntry
- ConfigEntry(String, T, boolean, List<SerializableConfig.ConfigEntry<?>>, boolean) - Constructor for class io.github.kosmx.emotes.common.SerializableConfig.ConfigEntry
- ConfigEntry(String, T, List<SerializableConfig.ConfigEntry<?>>, boolean) - Constructor for class io.github.kosmx.emotes.common.SerializableConfig.ConfigEntry
- configureEmoteTick(float) - Method in class io.github.kosmx.emotes.common.network.EmotePacket.Builder
- configureTarget(UUID) - Method in class io.github.kosmx.emotes.common.network.EmotePacket.Builder
- configureToConfigExchange(boolean) - Method in class io.github.kosmx.emotes.common.network.EmotePacket.Builder
- configureToSaveEmote(Animation) - Method in class io.github.kosmx.emotes.common.network.EmotePacket.Builder
- configureToSendStop(UUID) - Method in class io.github.kosmx.emotes.common.network.EmotePacket.Builder
- configureToSendStop(UUID, UUID) - Method in class io.github.kosmx.emotes.common.network.EmotePacket.Builder
- configureToStreamEmote(Animation) - Method in class io.github.kosmx.emotes.common.network.EmotePacket.Builder
- configureToStreamEmote(Animation, UUID) - Method in class io.github.kosmx.emotes.common.network.EmotePacket.Builder
- configVersion - Variable in class io.github.kosmx.emotes.common.SerializableConfig
- contains(Object) - Method in class io.github.kosmx.emotes.common.tools.BiMap
- contains(T) - Method in class io.github.kosmx.emotes.common.tools.UUIDMap
- containsAll(Collection<?>) - Method in class io.github.kosmx.emotes.common.tools.BiMap
- containsL(L) - Method in class io.github.kosmx.emotes.common.tools.BiMap
- containsR(R) - Method in class io.github.kosmx.emotes.common.tools.BiMap
- controller - Variable in class io.github.kosmx.emotes.common.nbsplayer.NbsPlayer
- copy() - Method in class io.github.kosmx.emotes.common.network.EmotePacket.Builder
- copy() - Method in class io.github.kosmx.emotes.common.network.objects.NetData
- copyAndGetData() - Method in class io.github.kosmx.emotes.common.network.EmotePacket.Builder
D
- data - Variable in class io.github.kosmx.emotes.common.network.EmotePacket
- DEFAULT_PRIORITY - Static variable in class io.github.kosmx.emotes.common.tools.ServiceLoaderUtil
- defaultVersions - Static variable in class io.github.kosmx.emotes.common.network.EmotePacket
- disconnect() - Method in class io.github.kosmx.emotes.api.proxy.AbstractNetworkInstance
-
When the network instance disconnects...
- DISCOVERY_PACKET - Static variable in class io.github.kosmx.emotes.common.network.PacketConfig
-
Whether the server allows huge emotes in play state.
- DiscoveryPacket - Class in io.github.kosmx.emotes.common.network.objects
- DiscoveryPacket() - Constructor for class io.github.kosmx.emotes.common.network.objects.DiscoveryPacket
- dispatchReceive(ByteBuffer, UUID, INetworkInstance) - Method in class io.github.kosmx.emotes.api.proxy.EmotesProxyManager
- doWrite(NetData) - Method in class io.github.kosmx.emotes.common.network.objects.AbstractNetworkPacket
- doWrite(NetData) - Method in class io.github.kosmx.emotes.common.network.objects.DiscoveryPacket
- doWrite(NetData) - Method in class io.github.kosmx.emotes.common.network.objects.EmoteDataPacket
- doWrite(NetData) - Method in class io.github.kosmx.emotes.common.network.objects.EmoteHeaderPacket
- doWrite(NetData) - Method in class io.github.kosmx.emotes.common.network.objects.EmoteIconPacket
- doWrite(NetData) - Method in class io.github.kosmx.emotes.common.network.objects.NewAnimPacket
- doWrite(NetData) - Method in class io.github.kosmx.emotes.common.network.objects.PlayerDataPacket
- doWrite(NetData) - Method in class io.github.kosmx.emotes.common.network.objects.SongPacket
- doWrite(NetData) - Method in class io.github.kosmx.emotes.common.network.objects.StopPacket
E
- EMOTE_PLAY - Static variable in class io.github.kosmx.emotes.api.events.client.ClientEmoteEvents
-
Invoked when someone is starting an emote (can be the main player) For checking and cancelling, use
ClientEmoteEvents.EMOTE_VERIFICATION - EMOTE_PLAY - Static variable in class io.github.kosmx.emotes.api.events.server.ServerEmoteEvents
-
Invoked when someone is starting an emote For checking and cancelling, use
ServerEmoteEvents.EMOTE_VERIFICATION - EMOTE_STOP - Static variable in class io.github.kosmx.emotes.api.events.client.ClientEmoteEvents
-
A player is stopping the played emote by command
- EMOTE_STOP_BY_USER - Static variable in class io.github.kosmx.emotes.api.events.server.ServerEmoteEvents
- EMOTE_VERIFICATION - Static variable in class io.github.kosmx.emotes.api.events.client.ClientEmoteEvents
-
Client verify emote if it can be played, or it has to be cancelled.
Return withEventResult.PASSif you allow it andEventResult.FAILif you deny it.
Invoking this event does not mean the emote will be played even if the event wasn't cancelled. - EMOTE_VERIFICATION - Static variable in class io.github.kosmx.emotes.api.events.server.ServerEmoteEvents
-
Server verify emote if it can be streamed, or it has to be cancelled.
- emoteData - Variable in class io.github.kosmx.emotes.common.network.objects.NetData
- EmoteDataPacket - Class in io.github.kosmx.emotes.common.network.objects
-
It should be placed into emotecraftCommon, but it has too many references to minecraft codes...
- EmoteDataPacket() - Constructor for class io.github.kosmx.emotes.common.network.objects.EmoteDataPacket
- EmoteHeaderPacket - Class in io.github.kosmx.emotes.common.network.objects
- EmoteHeaderPacket() - Constructor for class io.github.kosmx.emotes.common.network.objects.EmoteHeaderPacket
- EmoteIconPacket - Class in io.github.kosmx.emotes.common.network.objects
- EmoteIconPacket() - Constructor for class io.github.kosmx.emotes.common.network.objects.EmoteIconPacket
- EmotePacket - Class in io.github.kosmx.emotes.common.network
-
Send everything emotes mod data...
- EmotePacket(NetData) - Constructor for class io.github.kosmx.emotes.common.network.EmotePacket
- EmotePacket.Builder - Class in io.github.kosmx.emotes.common.network
-
EmotePacket builder.
- emotesDir - Variable in class io.github.kosmx.emotes.common.SerializableConfig
- EmotesProxyManager - Class in io.github.kosmx.emotes.api.proxy
-
some static methods to register received message and register proxy module
- EmotesProxyManager() - Constructor for class io.github.kosmx.emotes.api.proxy.EmotesProxyManager
- emoteStreamID - Static variable in class io.github.kosmx.emotes.common.CommonData
-
Wrapper type for huge blobs.
- enableQuark - Variable in class io.github.kosmx.emotes.common.SerializableConfig
- equals(Object) - Method in class io.github.kosmx.emotes.common.tools.BiMap
- exchangeHeader - Variable in enum class io.github.kosmx.emotes.common.network.PacketTask
-
Exchange name author and desc data
- expert - Variable in class io.github.kosmx.emotes.common.SerializableConfig
F
- FILE - Enum constant in enum class io.github.kosmx.emotes.common.network.PacketTask
- FloatConfigEntry(String, Float, boolean, List<SerializableConfig.ConfigEntry<?>>, String, float, float, float) - Constructor for class io.github.kosmx.emotes.common.SerializableConfig.FloatConfigEntry
- FloatConfigEntry(String, String, Float, boolean, List<SerializableConfig.ConfigEntry<?>>, String, float, float, float) - Constructor for class io.github.kosmx.emotes.common.SerializableConfig.FloatConfigEntry
- forcePlayEmote(UUID, Animation) - Static method in class io.github.kosmx.emotes.api.events.server.ServerEmoteAPI
-
Set the player to FORCE play emote.
- forcePlayEmote(UUID, Animation, float) - Static method in class io.github.kosmx.emotes.api.events.server.ServerEmoteAPI
-
Set the player to FORCE play emote.
G
- get() - Method in class io.github.kosmx.emotes.common.SerializableConfig.ConfigEntry
- getConfigVal() - Method in class io.github.kosmx.emotes.common.SerializableConfig.FloatConfigEntry
- getFormatKey() - Method in class io.github.kosmx.emotes.common.SerializableConfig.FloatConfigEntry
- getID() - Method in class io.github.kosmx.emotes.common.network.objects.AbstractNetworkPacket
- getID() - Method in class io.github.kosmx.emotes.common.network.objects.DiscoveryPacket
- getID() - Method in class io.github.kosmx.emotes.common.network.objects.EmoteDataPacket
- getID() - Method in class io.github.kosmx.emotes.common.network.objects.EmoteHeaderPacket
- getID() - Method in class io.github.kosmx.emotes.common.network.objects.EmoteIconPacket
- getID() - Method in class io.github.kosmx.emotes.common.network.objects.NewAnimPacket
- getID() - Method in class io.github.kosmx.emotes.common.network.objects.PlayerDataPacket
- getID() - Method in class io.github.kosmx.emotes.common.network.objects.SongPacket
- getID() - Method in class io.github.kosmx.emotes.common.network.objects.StopPacket
- getIDAsString(String) - Static method in class io.github.kosmx.emotes.common.CommonData
- getL(R) - Method in class io.github.kosmx.emotes.common.tools.BiMap
- getLayerMessageSize(NbsLayer) - Static method in class io.github.kosmx.emotes.common.nbsplayer.LegacyNBSPacket
-
Deprecated.
- getManager() - Static method in class io.github.kosmx.emotes.api.proxy.EmotesProxyManager
-
Make sure no-one can use this before EmoteX init
- getName() - Method in interface io.github.kosmx.emotes.api.services.IEmotecraftService
- getName() - Method in class io.github.kosmx.emotes.common.SerializableConfig.ConfigEntry
- getOldConfigName() - Method in class io.github.kosmx.emotes.common.SerializableConfig.ConfigEntry
- getPlayedEmote(UUID) - Static method in class io.github.kosmx.emotes.api.events.server.ServerEmoteAPI
-
Get the played emote and the time for the player
- getPlayedEmoteImpl(UUID) - Method in class io.github.kosmx.emotes.api.events.server.ServerEmoteAPI
- getPriority() - Method in interface io.github.kosmx.emotes.api.services.IEmotecraftService
- getR(L) - Method in class io.github.kosmx.emotes.common.tools.BiMap
- getRemoteVersions() - Method in class io.github.kosmx.emotes.api.proxy.AbstractNetworkInstance
-
see
INetworkInstance.getRemoteVersions()it is just a default implementation - getRemoteVersions() - Method in interface io.github.kosmx.emotes.api.proxy.INetworkInstance
-
Get the version from the other side.
- getTaskFromID(byte) - Static method in enum class io.github.kosmx.emotes.common.network.PacketTask
- getTextVal() - Method in class io.github.kosmx.emotes.common.SerializableConfig.FloatConfigEntry
- getVer() - Method in class io.github.kosmx.emotes.common.network.objects.AbstractNetworkPacket
- getVer() - Method in class io.github.kosmx.emotes.common.network.objects.DiscoveryPacket
- getVer() - Method in class io.github.kosmx.emotes.common.network.objects.EmoteDataPacket
-
version 1: 2.1 features, extended parts, UUID emote ID version 2: Animation library, dynamic parts version 3: Animation scale version 4: easing args
- getVer() - Method in class io.github.kosmx.emotes.common.network.objects.EmoteHeaderPacket
- getVer() - Method in class io.github.kosmx.emotes.common.network.objects.EmoteIconPacket
- getVer() - Method in class io.github.kosmx.emotes.common.network.objects.NewAnimPacket
- getVer() - Method in class io.github.kosmx.emotes.common.network.objects.PlayerDataPacket
- getVer() - Method in class io.github.kosmx.emotes.common.network.objects.SongPacket
- getVer() - Method in class io.github.kosmx.emotes.common.network.objects.StopPacket
- getVer(HashMap<Byte, Byte>) - Method in class io.github.kosmx.emotes.common.network.objects.AbstractNetworkPacket
H
- hashCode() - Method in class io.github.kosmx.emotes.common.tools.BiMap
- hasTooltip - Variable in class io.github.kosmx.emotes.common.SerializableConfig.ConfigEntry
- HEADER_PACKET - Static variable in class io.github.kosmx.emotes.common.network.PacketConfig
- HIGHEST_PRIORITY - Static variable in class io.github.kosmx.emotes.common.tools.ServiceLoaderUtil
I
- ICON_PACKET - Static variable in class io.github.kosmx.emotes.common.network.PacketConfig
- id - Variable in enum class io.github.kosmx.emotes.common.network.PacketTask
- IEmotecraftService - Interface in io.github.kosmx.emotes.api.services
- INetworkInstance - Interface in io.github.kosmx.emotes.api.proxy
-
To hold information about network
- INSTANCE - Static variable in class io.github.kosmx.emotes.api.events.client.ClientEmoteAPI
- INSTANCE - Static variable in class io.github.kosmx.emotes.api.events.server.ServerEmoteAPI
- io.github.kosmx.emotes.api.events.client - package io.github.kosmx.emotes.api.events.client
- io.github.kosmx.emotes.api.events.server - package io.github.kosmx.emotes.api.events.server
- io.github.kosmx.emotes.api.proxy - package io.github.kosmx.emotes.api.proxy
- io.github.kosmx.emotes.api.services - package io.github.kosmx.emotes.api.services
- io.github.kosmx.emotes.common - package io.github.kosmx.emotes.common
- io.github.kosmx.emotes.common.nbsplayer - package io.github.kosmx.emotes.common.nbsplayer
- io.github.kosmx.emotes.common.network - package io.github.kosmx.emotes.common.network
-
Packet part IDs 0 - emoteData v0 1 - PlayerData v0 8 - configExchange (Discovery) v8- its version is the common network version 10 - stopData v0 0x11 - EmoteHeader 0x12 - EmoteIcon configuration keys can be found in
PacketConfig3 - song -> ver0: no sound, ver1 current ID > 0x80 - config bits 0x80 does server track play states [bool] - io.github.kosmx.emotes.common.network.objects - package io.github.kosmx.emotes.common.network.objects
- io.github.kosmx.emotes.common.tools - package io.github.kosmx.emotes.common.tools
- isActive() - Method in class io.github.kosmx.emotes.api.events.client.ClientEmoteAPI
- isActive() - Method in class io.github.kosmx.emotes.api.events.server.ServerEmoteAPI
- isActive() - Method in interface io.github.kosmx.emotes.api.proxy.INetworkInstance
-
Is the other side is available your send won't be invoke if you return false
- isActive() - Method in interface io.github.kosmx.emotes.api.services.IEmotecraftService
- isEmoteStream - Variable in enum class io.github.kosmx.emotes.common.network.PacketTask
-
True if task is player emote play related
- isEmpty() - Method in class io.github.kosmx.emotes.common.tools.BiMap
- isFirstSongPlayed() - Method in class io.github.kosmx.emotes.common.nbsplayer.NbsPlayer
- isForced - Variable in class io.github.kosmx.emotes.common.network.objects.NetData
- isForcedEmote(UUID) - Static method in class io.github.kosmx.emotes.api.events.server.ServerEmoteAPI
-
Check if the player is forced to play an emote
- isForcedEmoteImpl(UUID) - Method in class io.github.kosmx.emotes.api.events.server.ServerEmoteAPI
- isServerTrackingPlayState() - Method in class io.github.kosmx.emotes.api.proxy.AbstractNetworkInstance
- isServerTrackingPlayState() - Method in interface io.github.kosmx.emotes.api.proxy.INetworkInstance
-
Does the track the emote play state of every player -> true The client has to resend the emote if a new player get close -> false
- iterate(Consumer<SerializableConfig.ConfigEntry<?>>) - Method in class io.github.kosmx.emotes.common.SerializableConfig
- iterator() - Method in class io.github.kosmx.emotes.common.tools.BiMap
- iterator() - Method in class io.github.kosmx.emotes.common.tools.UUIDMap
L
- LEGACY_ANIMATION_FORMAT - Static variable in class io.github.kosmx.emotes.common.network.PacketConfig
-
Max animation version supported by the other side.
- LegacyNBSPacket - Class in io.github.kosmx.emotes.common.nbsplayer
-
Deprecated.
- LegacyNBSPacket() - Constructor for class io.github.kosmx.emotes.common.nbsplayer.LegacyNBSPacket
-
Deprecated.
- ListConfigEntry(String, String, List<T>, boolean, List<SerializableConfig.ConfigEntry<?>>) - Constructor for class io.github.kosmx.emotes.common.SerializableConfig.ListConfigEntry
- ListConfigEntry(String, String, List<T>, boolean, List<SerializableConfig.ConfigEntry<?>>, boolean) - Constructor for class io.github.kosmx.emotes.common.SerializableConfig.ListConfigEntry
- ListConfigEntry(String, List<T>, boolean, List<SerializableConfig.ConfigEntry<?>>) - Constructor for class io.github.kosmx.emotes.common.SerializableConfig.ListConfigEntry
- ListConfigEntry(String, List<T>, boolean, List<SerializableConfig.ConfigEntry<?>>, boolean) - Constructor for class io.github.kosmx.emotes.common.SerializableConfig.ListConfigEntry
- ListConfigEntry(String, List<T>, List<SerializableConfig.ConfigEntry<?>>, boolean) - Constructor for class io.github.kosmx.emotes.common.SerializableConfig.ListConfigEntry
- listSize(List<T>, Function<T, Integer>) - Static method in class io.github.kosmx.emotes.common.network.CommonNetwork
- loadBuiltinEmotes - Variable in class io.github.kosmx.emotes.common.SerializableConfig
- loadEmotesServerSide - Variable in class io.github.kosmx.emotes.common.SerializableConfig
- loadOptionalService(Class<T>) - Static method in class io.github.kosmx.emotes.common.tools.ServiceLoaderUtil
- loadService(Class<T>) - Static method in class io.github.kosmx.emotes.common.tools.ServiceLoaderUtil
- loadService(Class<T>, Supplier<? extends T>) - Static method in class io.github.kosmx.emotes.common.tools.ServiceLoaderUtil
- loadServices(Class<T>) - Static method in class io.github.kosmx.emotes.common.tools.ServiceLoaderUtil
- loadServicesSorted(Class<T>) - Static method in class io.github.kosmx.emotes.common.tools.ServiceLoaderUtil
- LOCAL_EMOTE_STOP - Static variable in class io.github.kosmx.emotes.api.events.client.ClientEmoteEvents
-
The client player is stopping its own emote It will trigger only if the command is from the client
- LOGGER - Static variable in class io.github.kosmx.emotes.common.CommonData
- loopCount - Variable in class io.github.kosmx.emotes.common.nbsplayer.NbsPlayer
- LOWEST_PRIORITY - Static variable in class io.github.kosmx.emotes.common.tools.ServiceLoaderUtil
M
- MathHelper - Class in io.github.kosmx.emotes.common.tools
- MathHelper() - Constructor for class io.github.kosmx.emotes.common.tools.MathHelper
- max - Variable in class io.github.kosmx.emotes.common.SerializableConfig.FloatConfigEntry
- MAX_PACKET_SIZE - Static variable in class io.github.kosmx.emotes.common.CommonData
-
Maximum packet size that can be sent by the client/received by the server Could have been even bigger, but the paper servers sucks
- maxDataSize() - Method in interface io.github.kosmx.emotes.api.proxy.INetworkInstance
-
Maximum size of the data what the instance can send
- min - Variable in class io.github.kosmx.emotes.common.SerializableConfig.FloatConfigEntry
- MOD_ID - Static variable in class io.github.kosmx.emotes.common.CommonData
- MOD_NAME - Static variable in class io.github.kosmx.emotes.common.CommonData
N
- NBS_CONFIG - Static variable in class io.github.kosmx.emotes.common.network.PacketConfig
-
Enable/disable NBS on this server/client.
- NbsPlayer - Class in io.github.kosmx.emotes.common.nbsplayer
- NbsPlayer(Song, AnimationController) - Constructor for class io.github.kosmx.emotes.common.nbsplayer.NbsPlayer
- NetData - Class in io.github.kosmx.emotes.common.network.objects
- NetData() - Constructor for class io.github.kosmx.emotes.common.network.objects.NetData
- NetHashMap - Class in io.github.kosmx.emotes.common.network.objects
- NetHashMap() - Constructor for class io.github.kosmx.emotes.common.network.objects.NetHashMap
- networkingVersion - Static variable in class io.github.kosmx.emotes.common.CommonData
-
ver 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 sync
- networkInstances - Static variable in class io.github.kosmx.emotes.api.proxy.EmotesProxyManager
-
The list of registered instances.
- NEW_ANIMATION_FORMAT - Static variable in class io.github.kosmx.emotes.common.network.PacketConfig
-
Max animation version supported by the other side.
- NewAnimPacket - Class in io.github.kosmx.emotes.common.network.objects
- NewAnimPacket() - Constructor for class io.github.kosmx.emotes.common.network.objects.NewAnimPacket
O
- onDisconnectFromServer(INetworkInstance) - Method in class io.github.kosmx.emotes.api.proxy.EmotesProxyManager
- onEmotePlay(Animation, float, UUID) - Method in interface io.github.kosmx.emotes.api.events.client.ClientEmoteEvents.EmotePlayEvent
-
Used to create emote play side effects
- onEmotePlay(Animation, float, UUID) - Method in interface io.github.kosmx.emotes.api.events.server.ServerEmoteEvents.EmotePlayEvent
-
Used to create emote play side effects
- onEmoteStop() - Method in interface io.github.kosmx.emotes.api.events.client.ClientEmoteEvents.LocalEmoteStopEvent
-
Used to create emote stop side effects
- onEmoteStop(UUID, UUID) - Method in interface io.github.kosmx.emotes.api.events.client.ClientEmoteEvents.EmoteStopEvent
-
Used to create emote stop side effects
- onPacketSend(EmotePacket.Builder) - Method in interface io.github.kosmx.emotes.api.events.client.ClientNetworkEvents.PacketSendEvent
-
Used to manipulate the packet before sending it
- onSongFinished() - Method in class io.github.kosmx.emotes.common.nbsplayer.NbsPlayer
- onStopEmote(UUID, UUID) - Method in interface io.github.kosmx.emotes.api.events.server.ServerEmoteEvents.EmoteStopEvent
-
Only used when a user stops an emote-play, Finishing an emote will NOT invoke it
- onTickException(Throwable) - Method in class io.github.kosmx.emotes.common.nbsplayer.NbsPlayer
P
- PACKET_SEND - Static variable in class io.github.kosmx.emotes.api.events.client.ClientNetworkEvents
-
Used to manipulate the packet before sending it
- PacketConfig - Class in io.github.kosmx.emotes.common.network
-
Utility class
- PacketConfig() - Constructor for class io.github.kosmx.emotes.common.network.PacketConfig
- PacketTask - Enum Class in io.github.kosmx.emotes.common.network
- playEmote(Animation) - Static method in class io.github.kosmx.emotes.api.events.client.ClientEmoteAPI
-
Start playing an emote.
- playEmote(Animation, float) - Static method in class io.github.kosmx.emotes.api.events.client.ClientEmoteAPI
-
Start playing an emote.
- playEmote(UUID, Animation, boolean) - Static method in class io.github.kosmx.emotes.api.events.server.ServerEmoteAPI
-
Set the player to play emote.
- playEmote(UUID, Animation, float, boolean) - Static method in class io.github.kosmx.emotes.api.events.server.ServerEmoteAPI
-
Set the player to play emote.
- playEmoteID - Static variable in class io.github.kosmx.emotes.common.CommonData
-
bidirectional, Emote playing or repeating Channel for common Emotecraft networking.
- playEmoteImpl(Animation, float) - Method in class io.github.kosmx.emotes.api.events.client.ClientEmoteAPI
- player - Variable in class io.github.kosmx.emotes.common.network.objects.NetData
- PLAYER_DATA_PACKET - Static variable in class io.github.kosmx.emotes.common.network.PacketConfig
- playerBound - Variable in enum class io.github.kosmx.emotes.common.network.PacketTask
-
It has to do something with a specific player
- PlayerDataPacket - Class in io.github.kosmx.emotes.common.network.objects
- PlayerDataPacket() - Constructor for class io.github.kosmx.emotes.common.network.objects.PlayerDataPacket
- playNote(Note) - Method in class io.github.kosmx.emotes.common.nbsplayer.NbsPlayer
- playNotes(List<Note>) - Method in class io.github.kosmx.emotes.common.nbsplayer.NbsPlayer
- prepareAndValidate() - Method in class io.github.kosmx.emotes.common.network.objects.NetData
- presenceResponse() - Method in interface io.github.kosmx.emotes.api.proxy.INetworkInstance
-
Deprecated.communication changes
- purpose - Variable in class io.github.kosmx.emotes.common.network.objects.NetData
-
0 - none, invalid 1 - stream emote 8 - config exchange 10 - stop //as the sub-packet ids
- put(AbstractNetworkPacket) - Method in class io.github.kosmx.emotes.common.network.objects.NetHashMap
- put(L, R) - Method in class io.github.kosmx.emotes.common.tools.BiMap
- put(T) - Method in class io.github.kosmx.emotes.common.tools.UUIDMap
R
- read() - Method in class io.github.kosmx.emotes.common.tools.ByteBufferInputStream
- read(byte[], int, int) - Method in class io.github.kosmx.emotes.common.tools.ByteBufferInputStream
- read(ByteBuffer) - Static method in class io.github.kosmx.emotes.common.nbsplayer.LegacyNBSPacket
-
Deprecated.
- read(ByteBuffer) - Method in class io.github.kosmx.emotes.common.network.EmotePacket
- read(ByteBuffer, NetData, int) - Method in class io.github.kosmx.emotes.common.network.objects.AbstractNetworkPacket
-
Read byte buf to T type
- read(ByteBuffer, NetData, int) - Method in class io.github.kosmx.emotes.common.network.objects.DiscoveryPacket
- read(ByteBuffer, NetData, int) - Method in class io.github.kosmx.emotes.common.network.objects.EmoteDataPacket
- read(ByteBuffer, NetData, int) - Method in class io.github.kosmx.emotes.common.network.objects.EmoteHeaderPacket
- read(ByteBuffer, NetData, int) - Method in class io.github.kosmx.emotes.common.network.objects.EmoteIconPacket
- read(ByteBuffer, NetData, int) - Method in class io.github.kosmx.emotes.common.network.objects.NewAnimPacket
- read(ByteBuffer, NetData, int) - Method in class io.github.kosmx.emotes.common.network.objects.PlayerDataPacket
- read(ByteBuffer, NetData, int) - Method in class io.github.kosmx.emotes.common.network.objects.SongPacket
- read(ByteBuffer, NetData, int) - Method in class io.github.kosmx.emotes.common.network.objects.StopPacket
- readBoolean(ByteBuffer) - Static method in class io.github.kosmx.emotes.common.network.CommonNetwork
- readFromIStream(InputStream) - Static method in class io.github.kosmx.emotes.common.tools.MathHelper
- readList(ByteBuffer, Function<ByteBuffer, T>) - Static method in class io.github.kosmx.emotes.common.network.CommonNetwork
- readString(ByteBuffer) - Static method in class io.github.kosmx.emotes.common.network.CommonNetwork
- readUUID(ByteBuffer) - Static method in class io.github.kosmx.emotes.common.network.CommonNetwork
- receiveMessage(byte[]) - Method in class io.github.kosmx.emotes.api.proxy.AbstractNetworkInstance
-
Receive message, but you don't know who sent this The bytes data has to contain the identity of the sender
INetworkInstance.trustReceivedPlayer()should return true as you don't have your own identifier system as alternative - receiveMessage(byte[], UUID) - Method in class io.github.kosmx.emotes.api.proxy.AbstractNetworkInstance
-
Receive message with or without the sender's identity
- receiveMessage(ByteBuffer, UUID) - Method in interface io.github.kosmx.emotes.api.proxy.INetworkInstance
-
Network instance has received a message, it will send it to EmoteX core to execute you can set your receive event to invoke this there are it's other forms in
AbstractNetworkInstance - registerProxyInstance(INetworkInstance) - Static method in class io.github.kosmx.emotes.api.proxy.EmotesProxyManager
-
Register your proxy instance use
AbstractNetworkInstanceto create a new instance - remove(Object) - Method in class io.github.kosmx.emotes.common.tools.BiMap
- removeAll(Collection<?>) - Method in class io.github.kosmx.emotes.common.tools.BiMap
- removeIf(Predicate<T>) - Method in class io.github.kosmx.emotes.common.tools.UUIDMap
- removeL(L) - Method in class io.github.kosmx.emotes.common.tools.BiMap
-
Remove pair from L key
- removePlayerID() - Method in class io.github.kosmx.emotes.common.network.EmotePacket.Builder
- removeR(R) - Method in class io.github.kosmx.emotes.common.tools.BiMap
-
Remove pair from R key
- resetToDefault() - Method in class io.github.kosmx.emotes.common.SerializableConfig.ConfigEntry
- retainAll(Collection<?>) - Method in class io.github.kosmx.emotes.common.tools.BiMap
-
Retains only the elements in this collection that are contained in the specified collection.
S
- safeGetBytesFromBuffer(ByteBuffer) - Static method in class io.github.kosmx.emotes.api.proxy.AbstractNetworkInstance
-
If
ByteBufferis wrapped, it is safe to get the array but if is direct manual read is required. - safeGetBytesFromBuffer(ByteBuffer) - Static method in interface io.github.kosmx.emotes.api.proxy.INetworkInstance
-
If
ByteBufferis wrapped, it is safe to get the array but if is direct manual read is required. - sendC2SConfig(Consumer<EmotePacket.Builder>) - Method in class io.github.kosmx.emotes.api.proxy.AbstractNetworkInstance
- sendC2SConfig(Consumer<EmotePacket.Builder>) - Method in interface io.github.kosmx.emotes.api.proxy.INetworkInstance
-
Client is sending config message to server.
- sendMessage(byte[], UUID) - Method in class io.github.kosmx.emotes.api.proxy.AbstractNetworkInstance
-
If you want to send byte array
- sendMessage(EmotePacket.Builder, UUID) - Method in class io.github.kosmx.emotes.api.proxy.AbstractNetworkInstance
-
Send not prepared message, if you want to modify the message before sending, override this.
- sendMessage(EmotePacket.Builder, UUID) - Method in interface io.github.kosmx.emotes.api.proxy.INetworkInstance
-
The Proxy controller ask you to send the message, only if
INetworkInstance.isActive()is true - sendMessage(ByteBuffer, UUID) - Method in class io.github.kosmx.emotes.api.proxy.AbstractNetworkInstance
-
Send a ByteBuffer
- sendPlayerID() - Method in interface io.github.kosmx.emotes.api.proxy.INetworkInstance
-
Do send the sender's id to the server
- SerializableConfig - Class in io.github.kosmx.emotes.common
- SerializableConfig() - Constructor for class io.github.kosmx.emotes.common.SerializableConfig
- SerializableConfig.ConfigEntry<T> - Class in io.github.kosmx.emotes.common
- SerializableConfig.FloatConfigEntry - Class in io.github.kosmx.emotes.common
- SerializableConfig.ListConfigEntry<T> - Class in io.github.kosmx.emotes.common
- SERVER_TRACK_EMOTE_PLAY - Static variable in class io.github.kosmx.emotes.common.network.PacketConfig
-
Announce emote play state tracking feature.
- ServerEmoteAPI - Class in io.github.kosmx.emotes.api.events.server
- ServerEmoteAPI() - Constructor for class io.github.kosmx.emotes.api.events.server.ServerEmoteAPI
- ServerEmoteEvents - Class in io.github.kosmx.emotes.api.events.server
- ServerEmoteEvents() - Constructor for class io.github.kosmx.emotes.api.events.server.ServerEmoteEvents
- ServerEmoteEvents.EmotePlayEvent - Interface in io.github.kosmx.emotes.api.events.server
- ServerEmoteEvents.EmoteStopEvent - Interface in io.github.kosmx.emotes.api.events.server
- ServerEmoteEvents.EmoteVerifier - Interface in io.github.kosmx.emotes.api.events.server
- ServiceLoaderUtil - Class in io.github.kosmx.emotes.common.tools
- ServiceLoaderUtil() - Constructor for class io.github.kosmx.emotes.common.tools.ServiceLoaderUtil
- set(T) - Method in class io.github.kosmx.emotes.common.SerializableConfig.ConfigEntry
- setConfigVal(double) - Method in class io.github.kosmx.emotes.common.SerializableConfig.FloatConfigEntry
- setManager(EmotesProxyManager) - Static method in class io.github.kosmx.emotes.api.proxy.EmotesProxyManager
-
You can set manager only once.
- setPlayerPlayingEmote(UUID, Animation) - Static method in class io.github.kosmx.emotes.api.events.server.ServerEmoteAPI
-
Set the player to play emote.
- setPlayerPlayingEmote(UUID, Animation, float) - Static method in class io.github.kosmx.emotes.api.events.server.ServerEmoteAPI
-
Set the player to play emote.
- setPlayerPlayingEmoteImpl(UUID, Animation, float, boolean) - Method in class io.github.kosmx.emotes.api.events.server.ServerEmoteAPI
- setSizeLimit(int, boolean) - Method in class io.github.kosmx.emotes.common.network.EmotePacket.Builder
- setThreshold(float) - Method in class io.github.kosmx.emotes.common.network.EmotePacket.Builder
- setVersion(HashMap<Byte, Byte>) - Method in class io.github.kosmx.emotes.common.network.EmotePacket.Builder
-
To send an emote
- setVersions(HashMap<Byte, Byte>) - Method in class io.github.kosmx.emotes.api.proxy.AbstractNetworkInstance
-
Default client-side version config, Please call super if you override it.
- setVersions(HashMap<Byte, Byte>) - Method in interface io.github.kosmx.emotes.api.proxy.INetworkInstance
-
Receive (and save) versions from the other side
- shouldTick() - Method in class io.github.kosmx.emotes.common.nbsplayer.NbsPlayer
- showEntry() - Method in class io.github.kosmx.emotes.common.SerializableConfig.ConfigEntry
- size() - Method in class io.github.kosmx.emotes.common.tools.BiMap
- sizeLimit - Variable in class io.github.kosmx.emotes.common.network.objects.NetData
-
net.minecraft.network.protocol.common.ClientboundCustomPayloadPacket#MAX_PAYLOAD_SIZE
- SongPacket - Class in io.github.kosmx.emotes.common.network.objects
- SongPacket() - Constructor for class io.github.kosmx.emotes.common.network.objects.SongPacket
- staticConfigVersion - Static variable in class io.github.kosmx.emotes.common.SerializableConfig
-
changelog 2 - PlayerSafetyOption 3 - Kale Ko changed a build-in emote, EmoteFixer to keep bound 4 - using Uuids instead of hash.
- step - Variable in class io.github.kosmx.emotes.common.SerializableConfig.FloatConfigEntry
- STOP - Enum constant in enum class io.github.kosmx.emotes.common.network.PacketTask
- STOP_PACKET - Static variable in class io.github.kosmx.emotes.common.network.PacketConfig
- stopEmote() - Static method in class io.github.kosmx.emotes.api.events.client.ClientEmoteAPI
-
Stop play an emote.
- stopEmoteID - Variable in class io.github.kosmx.emotes.common.network.objects.NetData
- StopPacket - Class in io.github.kosmx.emotes.common.network.objects
- StopPacket() - Constructor for class io.github.kosmx.emotes.common.network.objects.StopPacket
- STREAM - Enum constant in enum class io.github.kosmx.emotes.common.network.PacketTask
- strictSizeLimit - Variable in class io.github.kosmx.emotes.common.network.objects.NetData
- strictSizeLimit(boolean) - Method in class io.github.kosmx.emotes.common.network.EmotePacket.Builder
- stringSize(String) - Static method in class io.github.kosmx.emotes.common.network.CommonNetwork
- subPackets - Variable in class io.github.kosmx.emotes.common.network.EmotePacket
- sumStrings(String...) - Static method in class io.github.kosmx.emotes.common.network.objects.EmoteHeaderPacket
T
- threshold - Variable in class io.github.kosmx.emotes.common.network.objects.NetData
- tick - Variable in class io.github.kosmx.emotes.common.network.objects.NetData
- toArray() - Method in class io.github.kosmx.emotes.common.tools.BiMap
- toArray(T[]) - Method in class io.github.kosmx.emotes.common.tools.BiMap
- toString() - Method in class io.github.kosmx.emotes.common.network.objects.NetData
- trustReceivedPlayer() - Method in interface io.github.kosmx.emotes.api.proxy.INetworkInstance
-
when receiving a message, it contains a player.
U
- UNKNOWN - Enum constant in enum class io.github.kosmx.emotes.common.network.PacketTask
- unregisterProxyInstance(INetworkInstance) - Static method in class io.github.kosmx.emotes.api.proxy.EmotesProxyManager
-
Unregister your proxy instance Why were you doing that, you can use
INetworkInstance.isActive()to temporally disable it - UUIDMap<T> - Class in io.github.kosmx.emotes.common.tools
- UUIDMap() - Constructor for class io.github.kosmx.emotes.common.tools.UUIDMap
V
- valid - Variable in class io.github.kosmx.emotes.common.network.objects.NetData
-
Is the emote is valid (Not validated)
- validateEmote - Variable in class io.github.kosmx.emotes.common.SerializableConfig
- validThreshold - Variable in class io.github.kosmx.emotes.common.SerializableConfig
- valueOf(String) - Static method in enum class io.github.kosmx.emotes.common.network.PacketTask
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.github.kosmx.emotes.common.network.PacketTask
-
Returns an array containing the constants of this enum class, in the order they are declared.
- verify(Animation, UUID) - Method in interface io.github.kosmx.emotes.api.events.client.ClientEmoteEvents.EmoteVerifier
-
Verify an emote possible results:
- verify(Animation, UUID) - Method in interface io.github.kosmx.emotes.api.events.server.ServerEmoteEvents.EmoteVerifier
-
Verify an emote possible results:
- versions - Variable in class io.github.kosmx.emotes.common.network.objects.NetData
- versionsUpdated - Variable in class io.github.kosmx.emotes.common.network.objects.NetData
W
- write() - Method in class io.github.kosmx.emotes.common.network.EmotePacket
- write(byte[], int, int) - Method in class io.github.kosmx.emotes.common.tools.ByteBufferOutputStream
- write(int) - Method in class io.github.kosmx.emotes.common.tools.ByteBufferOutputStream
- write(ByteBuffer, NetData) - Method in class io.github.kosmx.emotes.common.network.objects.AbstractNetworkPacket
- write(ByteBuffer, NetData) - Method in class io.github.kosmx.emotes.common.network.objects.DiscoveryPacket
- write(ByteBuffer, NetData) - Method in class io.github.kosmx.emotes.common.network.objects.EmoteDataPacket
- write(ByteBuffer, NetData) - Method in class io.github.kosmx.emotes.common.network.objects.EmoteHeaderPacket
- write(ByteBuffer, NetData) - Method in class io.github.kosmx.emotes.common.network.objects.EmoteIconPacket
- write(ByteBuffer, NetData) - Method in class io.github.kosmx.emotes.common.network.objects.NewAnimPacket
- write(ByteBuffer, NetData) - Method in class io.github.kosmx.emotes.common.network.objects.PlayerDataPacket
- write(ByteBuffer, NetData) - Method in class io.github.kosmx.emotes.common.network.objects.SongPacket
- write(ByteBuffer, NetData) - Method in class io.github.kosmx.emotes.common.network.objects.StopPacket
- write(NbsSong, ByteBuffer) - Static method in class io.github.kosmx.emotes.common.nbsplayer.LegacyNBSPacket
-
Deprecated.
- writeBoolean(ByteBuffer, boolean) - Static method in class io.github.kosmx.emotes.common.network.CommonNetwork
- writeList(ByteBuffer, List<T>, BiConsumer<ByteBuffer, T>) - Static method in class io.github.kosmx.emotes.common.network.CommonNetwork
- writeSong - Variable in class io.github.kosmx.emotes.common.network.objects.NetData
- writeString(ByteBuffer, String) - Static method in class io.github.kosmx.emotes.common.network.CommonNetwork
- writeUUID(ByteBuffer, UUID) - Static method in class io.github.kosmx.emotes.common.network.CommonNetwork
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form