Class Notification
java.lang.Object
me.electrobrine.quill_notifications.Notification
-
Constructor Summary
ConstructorsConstructorDescriptionNotification(int databaseID, UUID uuid, net.minecraft.server.network.ServerPlayerEntity player, net.minecraft.text.MutableText message, @NotNull net.kyori.adventure.text.Component component, com.google.gson.JsonElement metadata, net.minecraft.sound.SoundEvent sound, ArrayList<String> commands, Long commandDelay, Long expiry, Long creationTime) -
Method Summary
Modifier and TypeMethodDescriptionvoidcancel()@NotNull net.kyori.adventure.text.Componentnet.minecraft.text.MutableTextcom.google.gson.JsonElementnet.minecraft.server.network.ServerPlayerEntitynet.minecraft.sound.SoundEventgetSound()getUuid()voidsetCommandDelay(Long commandDelay) voidsetCommands(ArrayList<String> commands) voidsetComponent(net.kyori.adventure.text.Component newComponent) voidsetMessage(net.minecraft.text.MutableText newMessage) voidsetMetadata(com.google.gson.JsonElement metadata) voidsetSound(net.minecraft.sound.SoundEvent sound)
-
Constructor Details
-
Notification
public Notification(int databaseID, UUID uuid, net.minecraft.server.network.ServerPlayerEntity player, net.minecraft.text.MutableText message, @NotNull @NotNull net.kyori.adventure.text.Component component, com.google.gson.JsonElement metadata, net.minecraft.sound.SoundEvent sound, ArrayList<String> commands, Long commandDelay, Long expiry, Long creationTime)
-
-
Method Details
-
setMessage
public void setMessage(net.minecraft.text.MutableText newMessage) -
setComponent
public void setComponent(net.kyori.adventure.text.Component newComponent) -
getPlayerEntity
public net.minecraft.server.network.ServerPlayerEntity getPlayerEntity() -
cancel
public void cancel() -
getUuid
-
getMessage
public net.minecraft.text.MutableText getMessage() -
getComponent
@NotNull public @NotNull net.kyori.adventure.text.Component getComponent() -
setMetadata
public void setMetadata(com.google.gson.JsonElement metadata) -
getMetadata
public com.google.gson.JsonElement getMetadata() -
setSound
public void setSound(net.minecraft.sound.SoundEvent sound) -
getSound
public net.minecraft.sound.SoundEvent getSound() -
setCommands
-
getCommands
-
setCommandDelay
-
getCommandDelay
-
getExpiry
-
getCreationTime
-