Enum Class ReportReason

java.lang.Object
java.lang.Enum<ReportReason>
net.minecraft.client.multiplayer.chat.report.ReportReason
所有已实现的接口:
Serializable, Comparable<ReportReason>, Constable

public enum ReportReason extends Enum<ReportReason>
  • 枚举常量详细资料

    • HATE_SPEECH

      public static final ReportReason HATE_SPEECH
    • TERRORISM_OR_VIOLENT_EXTREMISM

      public static final ReportReason TERRORISM_OR_VIOLENT_EXTREMISM
    • CHILD_SEXUAL_EXPLOITATION_OR_ABUSE

      public static final ReportReason CHILD_SEXUAL_EXPLOITATION_OR_ABUSE
    • IMMINENT_HARM

      public static final ReportReason IMMINENT_HARM
    • NON_CONSENSUAL_INTIMATE_IMAGERY

      public static final ReportReason NON_CONSENSUAL_INTIMATE_IMAGERY
    • HARASSMENT_OR_BULLYING

      public static final ReportReason HARASSMENT_OR_BULLYING
    • DEFAMATION_IMPERSONATION_FALSE_INFORMATION

      public static final ReportReason DEFAMATION_IMPERSONATION_FALSE_INFORMATION
    • SELF_HARM_OR_SUICIDE

      public static final ReportReason SELF_HARM_OR_SUICIDE
    • ALCOHOL_TOBACCO_DRUGS

      public static final ReportReason ALCOHOL_TOBACCO_DRUGS
  • 字段详细资料

    • backendName

      private final String backendName
    • title

      private final Component title
    • description

      private final Component description
  • 构造器详细资料

    • ReportReason

      private ReportReason(String pName)
  • 方法详细资料

    • values

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

      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.)
      参数:
      name - 要返回的枚举常量的名称。
      返回:
      返回带有指定名称的枚举常量
      抛出:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - 如果参数为空值
    • backendName

      public String backendName()
    • title

      public Component title()
    • description

      public Component description()