Class NotificationBuilder
java.lang.Object
me.electrobrine.quill_notifications.api.NotificationBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()static NotificationBuilderNotification(UUID uuid) voidsend()setCommandDelay(int amount, TimeUnit unit) setCommandDelay(long timeMillis) setCommands(String... commands) setExpiry(long timeMillis) setMessage(String message) setMessage will set any Component or MutableText messages to nullsetMessage(net.kyori.adventure.text.Component message) setMessage will set any String or MutableText messages to nullsetMessage(net.minecraft.text.MutableText message) setMessage will set any String or Component messages to nullsetMetadata(com.google.gson.JsonElement metadata) setSound(net.minecraft.sound.SoundEvent sound) setStyle is used to apply styling to String messages setStyle will have no effect on MutableText or Component Messages
-
Constructor Details
-
NotificationBuilder
-
-
Method Details
-
Notification
-
setMessage
setMessage will set any String or Component messages to null -
setMessage
setMessage will set any Component or MutableText messages to null -
setMessage
setMessage will set any String or MutableText messages to null -
setStyle
setStyle is used to apply styling to String messages setStyle will have no effect on MutableText or Component Messages -
setMetadata
-
setSound
-
setCommands
-
setCommandDelay
-
setCommandDelay
-
setExpiry
-
setExpiry
-
build
-
send
public void send()
-