Enum Class ReportReason

java.lang.Object
java.lang.Enum<ReportReason>
net.minecraft.client.multiplayer.chat.report.ReportReason
All Implemented Interfaces:
Serializable, Comparable<ReportReason>, Constable

public enum ReportReason extends Enum<ReportReason>
  • Enum Constant Details Link icon

    • GENERIC Link icon

      public static final ReportReason GENERIC
    • HATE_SPEECH Link icon

      public static final ReportReason HATE_SPEECH
    • HARASSMENT_OR_BULLYING Link icon

      public static final ReportReason HARASSMENT_OR_BULLYING
    • SELF_HARM_OR_SUICIDE Link icon

      public static final ReportReason SELF_HARM_OR_SUICIDE
    • IMMINENT_HARM Link icon

      public static final ReportReason IMMINENT_HARM
    • DEFAMATION_IMPERSONATION_FALSE_INFORMATION Link icon

      public static final ReportReason DEFAMATION_IMPERSONATION_FALSE_INFORMATION
    • ALCOHOL_TOBACCO_DRUGS Link icon

      public static final ReportReason ALCOHOL_TOBACCO_DRUGS
    • CHILD_SEXUAL_EXPLOITATION_OR_ABUSE Link icon

      public static final ReportReason CHILD_SEXUAL_EXPLOITATION_OR_ABUSE
    • TERRORISM_OR_VIOLENT_EXTREMISM Link icon

      public static final ReportReason TERRORISM_OR_VIOLENT_EXTREMISM
    • NON_CONSENSUAL_INTIMATE_IMAGERY Link icon

      public static final ReportReason NON_CONSENSUAL_INTIMATE_IMAGERY
  • Field Details Link icon

    • backendName Link icon

      private final String backendName
    • title Link icon

      private final Component title
    • description Link icon

      private final Component description
  • Constructor Details Link icon

    • ReportReason Link icon

      private ReportReason(String p_273339_)
  • Method Details Link icon

    • values Link icon

      public static ReportReason[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf Link icon

      public static ReportReason valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • backendName Link icon

      public String backendName()
    • title Link icon

      public Component title()
    • description Link icon

      public Component description()