Index

A B C D E F G H I L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

AbstractNetworkPacket - Class in io.github.kosmx.emotes.common.network.objects
 
AbstractNetworkPacket() - Constructor for class io.github.kosmx.emotes.common.network.objects.AbstractNetworkPacket
 
add(T) - Method in class io.github.kosmx.emotes.common.tools.UUIDMap
 
addAll(Collection) - Method in class io.github.kosmx.emotes.common.tools.UUIDMap
 
AnimationTypeAdapter - Class in io.github.kosmx.emotes.common.serializer.gson
(De)serializes an Animation to the Emotecraft binary format as a Base64 JSON string, so an emote can be embedded verbatim (e.g.

B

BOTH - Static variable in enum class io.github.kosmx.emotes.common.network.PacketBound
 
boundsTo() - Method in class io.github.kosmx.emotes.common.network.objects.AbstractNetworkPacket
 
boundsTo() - Method in class io.github.kosmx.emotes.common.network.objects.EmoteHeaderPacket
 
boundsTo() - Method in class io.github.kosmx.emotes.common.network.objects.EmoteIconPacket
 
boundsTo() - Method in class io.github.kosmx.emotes.common.network.objects.RemoveEmotesPacket
 
build() - Method in record class io.github.kosmx.emotes.common.network.EmotePacket.Builder
 
build(int, boolean) - Method in record class io.github.kosmx.emotes.common.network.EmotePacket.Builder
 
build(int, int, int, Integer, Integer, List) - Method in class io.github.kosmx.emotes.common.opus.OpusSound.Builder
 
Builder() - Constructor for record class io.github.kosmx.emotes.common.network.EmotePacket.Builder
 
Builder() - Constructor for class io.github.kosmx.emotes.common.opus.OpusSound.Builder
 
Builder(NetData) - Constructor for record class io.github.kosmx.emotes.common.network.EmotePacket.Builder
Creates an instance of a Builder record class.

C

category(String) - Method in class io.github.kosmx.emotes.common.SerializableConfig
 
channelCount() - Method in class io.github.kosmx.emotes.common.opus.OggOpusReader
 
CLIENT - Enum constant in enum class io.github.kosmx.emotes.common.network.PacketBound
 
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.opus.OggOpusWriter
 
comment(String) - Method in class io.github.kosmx.emotes.common.opus.OpusSound
 
comments() - Method in class io.github.kosmx.emotes.common.opus.OggOpusReader
 
commit(int) - Method in class io.github.kosmx.emotes.common.opus.OpusSound.Builder
Takes the size bytes written at OpusSound.Builder.length() as the next packet.
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) - Constructor for class io.github.kosmx.emotes.common.SerializableConfig.ConfigEntry
 
ConfigEntry(String, String, T, boolean, List, boolean) - Constructor for class io.github.kosmx.emotes.common.SerializableConfig.ConfigEntry
 
ConfigEntry(String, T, boolean, List) - Constructor for class io.github.kosmx.emotes.common.SerializableConfig.ConfigEntry
 
ConfigEntry(String, T, boolean, List, boolean) - Constructor for class io.github.kosmx.emotes.common.SerializableConfig.ConfigEntry
 
ConfigEntry(String, T, List, boolean) - Constructor for class io.github.kosmx.emotes.common.SerializableConfig.ConfigEntry
 
configureEmoteTick(float) - Method in record class io.github.kosmx.emotes.common.network.EmotePacket.Builder
 
configureTarget(UUID) - Method in record class io.github.kosmx.emotes.common.network.EmotePacket.Builder
 
configureToConfigExchange() - Method in record class io.github.kosmx.emotes.common.network.EmotePacket.Builder
 
configureToRemoveEmote(Set) - Method in record class io.github.kosmx.emotes.common.network.EmotePacket.Builder
 
configureToSaveEmote(Animation) - Method in record class io.github.kosmx.emotes.common.network.EmotePacket.Builder
 
configureToSendStop(UUID) - Method in record class io.github.kosmx.emotes.common.network.EmotePacket.Builder
 
configureToSendStop(UUID, UUID) - Method in record class io.github.kosmx.emotes.common.network.EmotePacket.Builder
 
configureToStreamEmote(Animation) - Method in record class io.github.kosmx.emotes.common.network.EmotePacket.Builder
 
configureToStreamEmote(Animation, UUID) - Method in record class io.github.kosmx.emotes.common.network.EmotePacket.Builder
 
configVersion - Variable in class io.github.kosmx.emotes.common.SerializableConfig
this has a different job...
contains(T) - Method in class io.github.kosmx.emotes.common.tools.UUIDMap
 
copy() - Method in record class io.github.kosmx.emotes.common.network.EmotePacket.Builder
 
copy() - Method in class io.github.kosmx.emotes.common.network.objects.NetData
 
createConfigPacket(boolean) - Static method in interface io.github.kosmx.emotes.api.proxy.INetworkInstance
 
createConfigurationPacket(boolean) - Method in interface io.github.kosmx.emotes.api.proxy.INetworkInstance
Client is sending config message to server.

D

data - Variable in class io.github.kosmx.emotes.common.network.EmotePacket
 
data() - Method in record class io.github.kosmx.emotes.common.network.EmotePacket.Builder
Returns the value of the data record component.
data() - Method in class io.github.kosmx.emotes.common.opus.OpusSound
 
decoded() - Method in class io.github.kosmx.emotes.common.opus.OpusSound
 
decoded(BooleanSupplier) - Method in class io.github.kosmx.emotes.common.opus.OpusSound
The cancellation predicate is also read on the decoder thread.
DecodedSound(short[], float) - Constructor for record class io.github.kosmx.emotes.common.opus.OpusSound.DecodedSound
Creates an instance of a DecodedSound record class.
defaultValue - Variable in class io.github.kosmx.emotes.common.SerializableConfig.ConfigEntry
 
defaultVersions - Static variable in class io.github.kosmx.emotes.common.network.EmotePacket
 
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class io.github.kosmx.emotes.common.serializer.gson.AnimationTypeAdapter
 
disconnect() - Method in interface io.github.kosmx.emotes.api.proxy.INetworkInstance
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
 
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.RemoveEmotesPacket
 
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
 
durationMs() - Method in class io.github.kosmx.emotes.common.opus.OpusSound
 

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 with EventResult.PASS if you allow it and EventResult.FAIL if 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(ByteBuf, PacketBound) - Constructor for class io.github.kosmx.emotes.common.network.EmotePacket
 
EmotePacket(ByteBuf, PacketBound, boolean) - Constructor for class io.github.kosmx.emotes.common.network.EmotePacket
 
EmotePacket.Builder - Record Class in io.github.kosmx.emotes.common.network
EmotePacket builder.
emoteStreamID - Static variable in class io.github.kosmx.emotes.common.CommonData
Wrapper type for huge blobs.
EMPTY - Static variable in class io.github.kosmx.emotes.common.network.EmotePacket
Sentinel returned by the decoder when an incoming packet can't be parsed and must be dropped instead of tearing down the netty connection.
endTrim() - Method in class io.github.kosmx.emotes.common.opus.OggOpusReader
The last page a packet ended on keeps only what its granule position gained over the one before it.
endTrim() - Method in class io.github.kosmx.emotes.common.opus.OpusSound
 
EnumConfigEntry(String, E, boolean, List) - Constructor for class io.github.kosmx.emotes.common.SerializableConfig.EnumConfigEntry
 
EnumConfigEntry(String, E, boolean, List, boolean) - Constructor for class io.github.kosmx.emotes.common.SerializableConfig.EnumConfigEntry
 
EnumConfigEntry(String, E, List, boolean) - Constructor for class io.github.kosmx.emotes.common.SerializableConfig.EnumConfigEntry
 
EnumConfigEntry(String, String, E, boolean, List) - Constructor for class io.github.kosmx.emotes.common.SerializableConfig.EnumConfigEntry
 
EnumConfigEntry(String, String, E, boolean, List, boolean) - Constructor for class io.github.kosmx.emotes.common.SerializableConfig.EnumConfigEntry
 
equals(Object) - Method in record class io.github.kosmx.emotes.common.network.EmotePacket.Builder
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.kosmx.emotes.common.opus.OpusSound.DecodedSound
Indicates whether some other object is "equal to" this one.
exchangeHeader - Variable in enum class io.github.kosmx.emotes.common.network.PacketTask
Exchange name author and desc data

F

failed() - Method in class io.github.kosmx.emotes.common.opus.OpusSound
 
feed(short[], int, int) - Method in class io.github.kosmx.emotes.common.opus.Loudness
 
FILE - Enum constant in enum class io.github.kosmx.emotes.common.network.PacketTask
 
FloatConfigEntry(String, Float, boolean, List, Float, Float) - Constructor for class io.github.kosmx.emotes.common.SerializableConfig.FloatConfigEntry
 
FloatConfigEntry(String, String, Float, boolean, List, 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.
frameCount(byte[], int, int) - Static method in class io.github.kosmx.emotes.common.opus.OpusPackets
opus_packet_get_nb_frames, or -1 if malformed.
fromBase64(String) - Static method in class io.github.kosmx.emotes.common.serializer.gson.AnimationTypeAdapter
 
fromBytes(byte[]) - Static method in class io.github.kosmx.emotes.common.serializer.gson.AnimationTypeAdapter
 
fromDouble(double) - Method in class io.github.kosmx.emotes.common.SerializableConfig.FloatConfigEntry
 
fromDouble(double) - Method in class io.github.kosmx.emotes.common.SerializableConfig.LongConfigEntry
 
fromDouble(double) - Method in class io.github.kosmx.emotes.common.SerializableConfig.NumberConfigEntry
 

G

get() - Method in class io.github.kosmx.emotes.common.SerializableConfig.ConfigEntry
 
get() - Method in class io.github.kosmx.emotes.common.SerializableConfig.NumberConfigEntry
 
getCategories() - Method in class io.github.kosmx.emotes.common.SerializableConfig
 
getEnumClass() - Method in class io.github.kosmx.emotes.common.SerializableConfig.EnumConfigEntry
 
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.RemoveEmotesPacket
 
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
/bidirectional, client-server version exchange
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
 
getTaskFromID(byte) - Static method in enum class io.github.kosmx.emotes.common.network.PacketTask
 
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.RemoveEmotesPacket
 
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(NetData) - Method in class io.github.kosmx.emotes.common.network.objects.AbstractNetworkPacket
 
getVer(NetData) - Method in class io.github.kosmx.emotes.common.network.objects.SongPacket
Opus if the other side speaks it, otherwise the .nbs file if there is one to pass through.
getVer(Map) - Method in class io.github.kosmx.emotes.common.network.objects.AbstractNetworkPacket
 
getVersions() - Method in interface io.github.kosmx.emotes.api.proxy.INetworkInstance
Get the version from the other side.

H

hashCode() - Method in record class io.github.kosmx.emotes.common.network.EmotePacket.Builder
Returns a hash code value for this object.
hashCode() - Method in record class io.github.kosmx.emotes.common.opus.OpusSound.DecodedSound
Returns a hash code value for this object.
hasTooltip - Variable in class io.github.kosmx.emotes.common.SerializableConfig.ConfigEntry
 
HEADER_PACKET - Static variable in class io.github.kosmx.emotes.common.network.PacketConfig
 

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
 
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
 
INSTANCE - Static variable in class io.github.kosmx.emotes.common.serializer.gson.AnimationTypeAdapter
 
integrated() - Method in class io.github.kosmx.emotes.common.opus.Loudness
 
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.common - package io.github.kosmx.emotes.common
 
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 PacketConfig 3 - 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.opus - package io.github.kosmx.emotes.common.opus
 
io.github.kosmx.emotes.common.serializer.gson - package io.github.kosmx.emotes.common.serializer.gson
 
io.github.kosmx.emotes.common.tools - package io.github.kosmx.emotes.common.tools
 
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
isEmoteStream - Variable in enum class io.github.kosmx.emotes.common.network.PacketTask
True if task is player emote play related
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
 
isHidden - Variable in class io.github.kosmx.emotes.common.SerializableConfig.ConfigEntry
 
isOptional() - Method in class io.github.kosmx.emotes.common.network.objects.AbstractNetworkPacket
 
isOptional() - Method in class io.github.kosmx.emotes.common.network.objects.EmoteIconPacket
 
isOptional() - Method in class io.github.kosmx.emotes.common.network.objects.SongPacket
 
isServiceActive() - Method in class io.github.kosmx.emotes.api.events.client.ClientEmoteAPI
 
isServiceActive() - Method in class io.github.kosmx.emotes.api.events.server.ServerEmoteAPI
 
isTrackingPlayState() - Method in interface io.github.kosmx.emotes.api.proxy.INetworkInstance
Does the other side 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) - Method in class io.github.kosmx.emotes.common.SerializableConfig
 
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.
length() - Method in class io.github.kosmx.emotes.common.opus.OpusSound.Builder
 
length(int) - Method in class io.github.kosmx.emotes.common.opus.OpusSound
 
ListConfigEntry(String, String, List, boolean, List) - Constructor for class io.github.kosmx.emotes.common.SerializableConfig.ListConfigEntry
 
ListConfigEntry(String, String, List, boolean, List, boolean) - Constructor for class io.github.kosmx.emotes.common.SerializableConfig.ListConfigEntry
 
ListConfigEntry(String, List, boolean, List) - Constructor for class io.github.kosmx.emotes.common.SerializableConfig.ListConfigEntry
 
ListConfigEntry(String, List, boolean, List, boolean) - Constructor for class io.github.kosmx.emotes.common.SerializableConfig.ListConfigEntry
 
ListConfigEntry(String, List, List, boolean) - Constructor for class io.github.kosmx.emotes.common.SerializableConfig.ListConfigEntry
 
LittleEndianInputStream - Class in io.github.kosmx.emotes.common.tools
Little-endian primitives off a stream.
LittleEndianInputStream(InputStream) - Constructor for class io.github.kosmx.emotes.common.tools.LittleEndianInputStream
 
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
 
LongConfigEntry(String, Long, boolean, List, Long, Long) - Constructor for class io.github.kosmx.emotes.common.SerializableConfig.LongConfigEntry
 
loopStart() - Method in class io.github.kosmx.emotes.common.opus.OggOpusReader
 
loopStart() - Method in class io.github.kosmx.emotes.common.opus.OpusSound
 
Loudness - Class in io.github.kosmx.emotes.common.opus
Integrated loudness by ITU-R BS.1770 with EBU R128 gating, fed as the audio is decoded.
Loudness(int) - Constructor for class io.github.kosmx.emotes.common.opus.Loudness
 

M

mark(int) - Method in class io.github.kosmx.emotes.common.opus.OggOpusReader
 
markSupported() - Method in class io.github.kosmx.emotes.common.opus.OggOpusReader
Rewinding the bytes would leave the page and packet state pointing at the wrong ones.
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.NumberConfigEntry
 
MAX_PACKET_DURATION_MS - Static variable in class io.github.kosmx.emotes.common.opus.OpusPackets
 
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.NumberConfigEntry
 
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.
NBS_KEY - Static variable in class io.github.kosmx.emotes.common.network.objects.SongPacket
 
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(AbstractNetworkPacket...) - 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
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
 
NO_LOOP - Static variable in class io.github.kosmx.emotes.common.opus.OpusSound
 
normalization() - Method in record class io.github.kosmx.emotes.common.opus.OpusSound.DecodedSound
Returns the value of the normalization record component.
normalization() - Method in class io.github.kosmx.emotes.common.opus.OpusSound
 
NumberConfigEntry(String, String, T, boolean, List, T, T) - Constructor for class io.github.kosmx.emotes.common.SerializableConfig.NumberConfigEntry
 
NumberConfigEntry(String, T, boolean, List, T, T) - Constructor for class io.github.kosmx.emotes.common.SerializableConfig.NumberConfigEntry
 

O

offset(int) - Method in class io.github.kosmx.emotes.common.opus.OpusSound
 
OggOpusReader - Class in io.github.kosmx.emotes.common.opus
Pulls Opus packets out of an Ogg stream.
OggOpusReader(InputStream) - Constructor for class io.github.kosmx.emotes.common.opus.OggOpusReader
 
OggOpusWriter - Class in io.github.kosmx.emotes.common.opus
Muxes Opus packets back into an Ogg stream.
OggOpusWriter(OutputStream, int, int, int, int, Integer, int) - Constructor for class io.github.kosmx.emotes.common.opus.OggOpusWriter
 
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
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
OPUS_KEY - Static variable in class io.github.kosmx.emotes.common.network.objects.SongPacket
 
OpusFormatException - Exception Class in io.github.kosmx.emotes.common.opus
 
OpusFormatException(String) - Constructor for exception class io.github.kosmx.emotes.common.opus.OpusFormatException
 
OpusPackets - Class in io.github.kosmx.emotes.common.opus
TOC byte helpers, ported from libopus opus.c.
OpusSound - Class in io.github.kosmx.emotes.common.opus
A validated mono Opus stream: its packets, and the PCM they decode to once someone asks.
OpusSound(int, int, int, Integer, Integer, byte[], int[]) - Constructor for class io.github.kosmx.emotes.common.opus.OpusSound
 
OpusSound(int, int, int, Integer, Integer, byte[], int[], List) - Constructor for class io.github.kosmx.emotes.common.opus.OpusSound
 
OpusSound.Builder - Class in io.github.kosmx.emotes.common.opus
Lays packets back to back as they come, in the array the sound then keeps, so an encoder can write each one straight into it.
OpusSound.DecodedSound - Record Class in io.github.kosmx.emotes.common.opus
 
outputGain() - Method in class io.github.kosmx.emotes.common.opus.OggOpusReader
 
outputGain() - Method in class io.github.kosmx.emotes.common.opus.OpusSound
 

P

PACKET_SEND - Static variable in class io.github.kosmx.emotes.api.events.client.ClientNetworkEvents
Used to manipulate the packet before sending it
PacketBound - Enum Class in io.github.kosmx.emotes.common.network
 
PacketConfig - Class in io.github.kosmx.emotes.common.network
Utility class
PacketConfig() - Constructor for class io.github.kosmx.emotes.common.network.PacketConfig
 
packetCount() - Method in class io.github.kosmx.emotes.common.opus.OpusSound
 
PacketTask - Enum Class in io.github.kosmx.emotes.common.network
 
playable() - Method in class io.github.kosmx.emotes.common.opus.OpusSound
 
playback - Variable in class io.github.kosmx.emotes.common.network.objects.NetData
Whether the side reading this packet plays the emote itself, rather than passing it on.
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
 
prepareAndValidate() - Method in class io.github.kosmx.emotes.common.network.objects.NetData
 
preSkip() - Method in class io.github.kosmx.emotes.common.opus.OggOpusReader
 
preSkip() - Method in class io.github.kosmx.emotes.common.opus.OpusSound
 
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(T) - Method in class io.github.kosmx.emotes.common.tools.UUIDMap
 

R

read(ByteBuf, NetData, byte) - Method in class io.github.kosmx.emotes.common.network.objects.AbstractNetworkPacket
 
read(ByteBuf, NetData, byte) - Method in class io.github.kosmx.emotes.common.network.objects.DiscoveryPacket
 
read(ByteBuf, NetData, byte) - Method in class io.github.kosmx.emotes.common.network.objects.EmoteDataPacket
 
read(ByteBuf, NetData, byte) - Method in class io.github.kosmx.emotes.common.network.objects.EmoteHeaderPacket
 
read(ByteBuf, NetData, byte) - Method in class io.github.kosmx.emotes.common.network.objects.EmoteIconPacket
 
read(ByteBuf, NetData, byte) - Method in class io.github.kosmx.emotes.common.network.objects.NewAnimPacket
 
read(ByteBuf, NetData, byte) - Method in class io.github.kosmx.emotes.common.network.objects.PlayerDataPacket
 
read(ByteBuf, NetData, byte) - Method in class io.github.kosmx.emotes.common.network.objects.RemoveEmotesPacket
 
read(ByteBuf, NetData, byte) - Method in class io.github.kosmx.emotes.common.network.objects.SongPacket
 
read(ByteBuf, NetData, byte) - Method in class io.github.kosmx.emotes.common.network.objects.StopPacket
 
read(InputStream) - Static method in class io.github.kosmx.emotes.common.opus.OpusSound
Reads without closing the stream, for sounds that come from somewhere other than a file.
read(Path) - Static method in class io.github.kosmx.emotes.common.opus.OpusSound
 
readBoolean(ByteBuf) - Static method in class io.github.kosmx.emotes.common.network.CommonNetwork
 
readBytes(byte[], int, int) - Method in class io.github.kosmx.emotes.common.tools.LittleEndianInputStream
Fills length bytes or throws.
readBytes(ByteBuf) - Static method in class io.github.kosmx.emotes.common.tools.MathHelper
 
readFromIStream(InputStream) - Static method in class io.github.kosmx.emotes.common.tools.MathHelper
 
readInt() - Method in class io.github.kosmx.emotes.common.tools.LittleEndianInputStream
 
readList(ByteBuf, Function) - Static method in class io.github.kosmx.emotes.common.network.CommonNetwork
 
readPacket() - Method in class io.github.kosmx.emotes.common.opus.OggOpusReader
 
readString(ByteBuf) - Static method in class io.github.kosmx.emotes.common.network.CommonNetwork
 
readUnsignedByte() - Method in class io.github.kosmx.emotes.common.tools.LittleEndianInputStream
 
readUnsignedShort() - Method in class io.github.kosmx.emotes.common.tools.LittleEndianInputStream
 
REMOVE - Enum constant in enum class io.github.kosmx.emotes.common.network.PacketTask
 
REMOVE_EMOTE_PACKET - Static variable in class io.github.kosmx.emotes.common.network.PacketConfig
 
removeEmoteIds - Variable in class io.github.kosmx.emotes.common.network.objects.NetData
 
RemoveEmotesPacket - Class in io.github.kosmx.emotes.common.network.objects
 
RemoveEmotesPacket() - Constructor for class io.github.kosmx.emotes.common.network.objects.RemoveEmotesPacket
 
removeIf(Predicate) - Method in class io.github.kosmx.emotes.common.tools.UUIDMap
 
removePlayerID() - Method in record class io.github.kosmx.emotes.common.network.EmotePacket.Builder
 
reserve(int) - Method in class io.github.kosmx.emotes.common.opus.OpusSound.Builder
 
reset() - Method in class io.github.kosmx.emotes.common.opus.OggOpusReader
 
resetToDefault() - Method in class io.github.kosmx.emotes.common.SerializableConfig.ConfigEntry
 

S

safeGetBytesFromBuffer(ByteBuffer) - Static method in class io.github.kosmx.emotes.common.tools.MathHelper
If ByteBuffer is wrapped, it is safe to get the array but if is direct manual read is required.
SAMPLE_RATE - Static variable in class io.github.kosmx.emotes.common.opus.OpusPackets
 
sampleCount(byte[], int, int, int) - Static method in class io.github.kosmx.emotes.common.opus.OpusPackets
opus_packet_get_nb_samples, or -1 if malformed.
samples() - Method in record class io.github.kosmx.emotes.common.opus.OpusSound.DecodedSound
Returns the value of the samples record component.
samplesPerFrame(byte, int) - Static method in class io.github.kosmx.emotes.common.opus.OpusPackets
opus_packet_get_samples_per_frame
sendMessage(EmotePacket.Builder, boolean) - 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(NetData, boolean) - Method in interface io.github.kosmx.emotes.api.proxy.INetworkInstance
 
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.EnumConfigEntry<E> - 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
 
SerializableConfig.LongConfigEntry - Class in io.github.kosmx.emotes.common
 
SerializableConfig.NumberConfigEntry<T> - Class in io.github.kosmx.emotes.common
 
serialize(Animation, Type, JsonSerializationContext) - Method in class io.github.kosmx.emotes.common.serializer.gson.AnimationTypeAdapter
 
SERVER - Enum constant in enum class io.github.kosmx.emotes.common.network.PacketBound
 
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
 
set(E) - Method in class io.github.kosmx.emotes.common.SerializableConfig.EnumConfigEntry
 
set(T) - Method in class io.github.kosmx.emotes.common.SerializableConfig.ConfigEntry
 
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 record class io.github.kosmx.emotes.common.network.EmotePacket.Builder
 
setVersion(Map) - Method in record class io.github.kosmx.emotes.common.network.EmotePacket.Builder
To send an emote
setVersions(Map) - Method in interface io.github.kosmx.emotes.api.proxy.INetworkInstance
Receive (and save) versions from the other side
sizeLimit - Variable in class io.github.kosmx.emotes.common.network.objects.NetData
net.minecraft.network.protocol.common.ClientboundCustomPayloadPacket#MAX_PAYLOAD_SIZE
skippedPackets - Variable in class io.github.kosmx.emotes.common.network.objects.NetData
 
SongPacket - Class in io.github.kosmx.emotes.common.network.objects
 
SongPacket() - Constructor for class io.github.kosmx.emotes.common.network.objects.SongPacket
 
stereo(byte) - Static method in class io.github.kosmx.emotes.common.opus.OpusPackets
 
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 record class io.github.kosmx.emotes.common.network.EmotePacket.Builder
 

T

tick - Variable in class io.github.kosmx.emotes.common.network.objects.NetData
 
TO_CLIENT - Static variable in enum class io.github.kosmx.emotes.common.network.PacketBound
 
TO_SERVER - Static variable in enum class io.github.kosmx.emotes.common.network.PacketBound
 
toBase64(Animation) - Static method in class io.github.kosmx.emotes.common.serializer.gson.AnimationTypeAdapter
 
toBytes(Animation) - Static method in class io.github.kosmx.emotes.common.serializer.gson.AnimationTypeAdapter
 
toString() - Method in record class io.github.kosmx.emotes.common.network.EmotePacket.Builder
Returns a string representation of this record class.
toString() - Method in class io.github.kosmx.emotes.common.network.objects.NetData
 
toString() - Method in record class io.github.kosmx.emotes.common.opus.OpusSound.DecodedSound
Returns a string representation of this record class.
trackGain() - Method in class io.github.kosmx.emotes.common.opus.OggOpusReader
 

U

UNKNOWN - Enum constant in enum class io.github.kosmx.emotes.common.network.PacketTask
 
UUIDMap<T> - Class in io.github.kosmx.emotes.common.tools
HashMap but with making my life easier
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)
valueOf(String) - Static method in enum class io.github.kosmx.emotes.common.network.PacketBound
Returns the enum constant of this class with the specified name.
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.PacketBound
Returns an array containing the constants of this enum class, in the order they are declared.
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(ByteBuf, NetData, byte) - Method in class io.github.kosmx.emotes.common.network.objects.AbstractNetworkPacket
 
write(ByteBuf, NetData, byte) - Method in class io.github.kosmx.emotes.common.network.objects.DiscoveryPacket
 
write(ByteBuf, NetData, byte) - Method in class io.github.kosmx.emotes.common.network.objects.EmoteDataPacket
 
write(ByteBuf, NetData, byte) - Method in class io.github.kosmx.emotes.common.network.objects.EmoteHeaderPacket
 
write(ByteBuf, NetData, byte) - Method in class io.github.kosmx.emotes.common.network.objects.EmoteIconPacket
 
write(ByteBuf, NetData, byte) - Method in class io.github.kosmx.emotes.common.network.objects.NewAnimPacket
 
write(ByteBuf, NetData, byte) - Method in class io.github.kosmx.emotes.common.network.objects.PlayerDataPacket
 
write(ByteBuf, NetData, byte) - Method in class io.github.kosmx.emotes.common.network.objects.RemoveEmotesPacket
 
write(ByteBuf, NetData, byte) - Method in class io.github.kosmx.emotes.common.network.objects.SongPacket
 
write(ByteBuf, NetData, byte) - Method in class io.github.kosmx.emotes.common.network.objects.StopPacket
 
write(ByteBuf, PacketBound) - Method in class io.github.kosmx.emotes.common.network.EmotePacket
Write packet to a ByteBuf.
write(Path) - Method in class io.github.kosmx.emotes.common.opus.OpusSound
 
writeBoolean(ByteBuf, boolean) - Static method in class io.github.kosmx.emotes.common.network.CommonNetwork
 
writeList(ByteBuf, List, BiConsumer) - Static method in class io.github.kosmx.emotes.common.network.CommonNetwork
 
writePacket(byte[], int, int) - Method in class io.github.kosmx.emotes.common.opus.OggOpusWriter
 
writeString(ByteBuf, String) - Static method in class io.github.kosmx.emotes.common.network.CommonNetwork
 
A B C D E F G H I L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form