Class Notification

java.lang.Object
me.electrobrine.quill_notifications.Notification

public class Notification extends Object
  • 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

      public UUID 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

      public void setCommands(ArrayList<String> commands)
    • getCommands

      public ArrayList<String> getCommands()
    • setCommandDelay

      public void setCommandDelay(Long commandDelay)
    • getCommandDelay

      public Long getCommandDelay()
    • getExpiry

      public Long getExpiry()
    • getCreationTime

      public Long getCreationTime()