Package net.minecraft.client.report.log
Enum Class ChatLogEntry.Type
- All Implemented Interfaces:
Serializable
,Comparable<ChatLogEntry.Type>
,Constable
,StringIdentifiable
- Enclosing interface:
ChatLogEntry
@Environment(CLIENT)
public static enum ChatLogEntry.Type
extends Enum<ChatLogEntry.Type>
implements StringIdentifiable
- Mappings:
Namespace Name official ffj$a
intermediary net/minecraft/class_7629$class_7854
named net/minecraft/client/report/log/ChatLogEntry$Type
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface net.minecraft.util.StringIdentifiable
StringIdentifiable.Codec<E extends Enum<E> & StringIdentifiable>
-
Enum Constant Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Supplier<StringIdentifiable.Codec<? extends ChatLogEntry>>
private final String
Fields inherited from interface net.minecraft.util.StringIdentifiable
field_38377
-
Constructor Summary
ModifierConstructorDescriptionprivate
Type
(String id, Supplier<StringIdentifiable.Codec<? extends ChatLogEntry>> codecSupplier) -
Method Summary
Modifier and TypeMethodDescriptionasString()
Returns the unique string representation of the enum, used for serialization.private StringIdentifiable.Codec<? extends ChatLogEntry>
getCodec()
static ChatLogEntry.Type
Returns the enum constant of this class with the specified name.static ChatLogEntry.Type[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PLAYER
- Mappings:
Namespace Name Mixin selector official a
Lffj$a;a:Lffj$a;
intermediary field_40804
Lnet/minecraft/class_7629$class_7854;field_40804:Lnet/minecraft/class_7629$class_7854;
named PLAYER
Lnet/minecraft/client/report/log/ChatLogEntry$Type;PLAYER:Lnet/minecraft/client/report/log/ChatLogEntry$Type;
-
SYSTEM
- Mappings:
Namespace Name Mixin selector official b
Lffj$a;b:Lffj$a;
intermediary field_40805
Lnet/minecraft/class_7629$class_7854;field_40805:Lnet/minecraft/class_7629$class_7854;
named SYSTEM
Lnet/minecraft/client/report/log/ChatLogEntry$Type;SYSTEM:Lnet/minecraft/client/report/log/ChatLogEntry$Type;
-
-
Field Details
-
id
- Mappings:
Namespace Name Mixin selector official c
Lffj$a;c:Ljava/lang/String;
intermediary field_40806
Lnet/minecraft/class_7629$class_7854;field_40806:Ljava/lang/String;
named id
Lnet/minecraft/client/report/log/ChatLogEntry$Type;id:Ljava/lang/String;
-
codecSupplier
- Mappings:
Namespace Name Mixin selector official d
Lffj$a;d:Ljava/util/function/Supplier;
intermediary field_40807
Lnet/minecraft/class_7629$class_7854;field_40807:Ljava/util/function/Supplier;
named codecSupplier
Lnet/minecraft/client/report/log/ChatLogEntry$Type;codecSupplier:Ljava/util/function/Supplier;
-
-
Constructor Details
-
Type
- Mappings:
Namespace Name Mixin selector official <init>
Lffj$a;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/util/function/Supplier;)V
intermediary <init>
Lnet/minecraft/class_7629$class_7854;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/util/function/Supplier;)V
named <init>
Lnet/minecraft/client/report/log/ChatLogEntry$Type;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/util/function/Supplier;)V
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getCodec
- Mappings:
Namespace Name Mixin selector official a
Lffj$a;a()Lcom/mojang/serialization/Codec;
intermediary method_46539
Lnet/minecraft/class_7629$class_7854;method_46539()Lcom/mojang/serialization/Codec;
named getCodec
Lnet/minecraft/client/report/log/ChatLogEntry$Type;getCodec()Lcom/mojang/serialization/Codec;
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asString
in interfaceStringIdentifiable
- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector official c
Lapr;c()Ljava/lang/String;
intermediary method_15434
Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
named asString
Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-