Class EmotePacket.Builder
java.lang.Object
io.github.kosmx.emotes.common.network.EmotePacket.Builder
- Enclosing class:
EmotePacket
EmotePacket builder.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()build(int sizeLimit, boolean strict) configureEmoteTick(float tick) configureTarget(@Nullable UUID target) configureToConfigExchange(boolean songEnabled) configureToSaveEmote(com.zigythebird.playeranimcore.animation.Animation emoteData) configureToSendStop(UUID emoteID) configureToSendStop(UUID emoteID, @Nullable UUID player) configureToStreamEmote(com.zigythebird.playeranimcore.animation.Animation emoteData) configureToStreamEmote(com.zigythebird.playeranimcore.animation.Animation emoteData, @Nullable UUID player) copy()voidsetSizeLimit(int sizeLimit, boolean strict) setThreshold(float t) setVersion(HashMap<Byte, Byte> versions) To send an emotestrictSizeLimit(boolean strict)
-
Constructor Details
-
Builder
-
Builder
public Builder()
-
-
Method Details
-
setVersion
To send an emote -
copyAndGetData
-
copy
-
setThreshold
-
build
-
build
-
setSizeLimit
-
configureToStreamEmote
public EmotePacket.Builder configureToStreamEmote(com.zigythebird.playeranimcore.animation.Animation emoteData, @Nullable @Nullable UUID player) -
configureToSaveEmote
public EmotePacket.Builder configureToSaveEmote(com.zigythebird.playeranimcore.animation.Animation emoteData) -
configureEmoteTick
-
configureTarget
-
configureToStreamEmote
public EmotePacket.Builder configureToStreamEmote(com.zigythebird.playeranimcore.animation.Animation emoteData) -
configureToSendStop
-
configureToSendStop
-
configureToConfigExchange
-
removePlayerID
public void removePlayerID() -
strictSizeLimit
-