Class PlayerChatMessageMixin

java.lang.Object
net.kyori.adventure.platform.fabric.impl.mixin.PlayerChatMessageMixin
All Implemented Interfaces:
net.kyori.adventure.chat.SignedMessage, net.kyori.adventure.identity.Identified, net.kyori.examination.Examinable

public abstract class PlayerChatMessageMixin extends Object implements net.kyori.adventure.chat.SignedMessage
  • Constructor Details

    • PlayerChatMessageMixin

      public PlayerChatMessageMixin()
  • Method Details

    • shadow$headerSignature

      public abstract net.minecraft.network.chat.MessageSignature shadow$headerSignature()
    • shadow$unsignedContent

      public abstract Optional<net.minecraft.network.chat.Component> shadow$unsignedContent()
    • shadow$signedBody

      public abstract net.minecraft.network.chat.SignedMessageBody shadow$signedBody()
    • shadow$signer

      public abstract net.minecraft.network.chat.MessageSigner shadow$signer()
    • identity

      @NotNull public @NotNull net.kyori.adventure.identity.Identity identity()
      Specified by:
      identity in interface net.kyori.adventure.identity.Identified
    • timestamp

      @NotNull public @NotNull Instant timestamp()
      Specified by:
      timestamp in interface net.kyori.adventure.chat.SignedMessage
    • salt

      public long salt()
      Specified by:
      salt in interface net.kyori.adventure.chat.SignedMessage
    • signature

      @Nullable public @Nullable net.kyori.adventure.chat.SignedMessage.Signature signature()
      Specified by:
      signature in interface net.kyori.adventure.chat.SignedMessage
    • unsignedContent

      @Nullable public @Nullable net.kyori.adventure.text.Component unsignedContent()
      Specified by:
      unsignedContent in interface net.kyori.adventure.chat.SignedMessage
    • message

      @NotNull public @NotNull String message()
      Specified by:
      message in interface net.kyori.adventure.chat.SignedMessage
    • isSystem

      public boolean isSystem()
      Specified by:
      isSystem in interface net.kyori.adventure.chat.SignedMessage
    • canDelete

      public boolean canDelete()
      Specified by:
      canDelete in interface net.kyori.adventure.chat.SignedMessage
    • examinableProperties

      @NotNull public @NotNull Stream<? extends net.kyori.examination.ExaminableProperty> examinableProperties()
      Specified by:
      examinableProperties in interface net.kyori.examination.Examinable
      Specified by:
      examinableProperties in interface net.kyori.adventure.chat.SignedMessage