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 named net/minecraft/client/session/report/log/ChatLogEntry$Type
intermediary net/minecraft/class_7629$class_7854
official ggg$a
-
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.BasicCodec<S extends StringIdentifiable>, StringIdentifiable.EnumCodec<E extends Enum<E> & StringIdentifiable>
-
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Supplier
<com.mojang.serialization.MapCodec<? extends ChatLogEntry>> private final String
Fields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
Type
(String id, Supplier<com.mojang.serialization.MapCodec<? extends ChatLogEntry>> codecSupplier) -
Method Summary
Modifier and TypeMethodDescriptionasString()
Returns the unique string representation of the enum, used for serialization.private com.mojang.serialization.MapCodec
<? 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 named PLAYER
Lnet/minecraft/client/session/report/log/ChatLogEntry$Type;PLAYER:Lnet/minecraft/client/session/report/log/ChatLogEntry$Type;
intermediary field_40804
Lnet/minecraft/class_7629$class_7854;field_40804:Lnet/minecraft/class_7629$class_7854;
official a
Lggg$a;a:Lggg$a;
-
SYSTEM
- Mappings:
Namespace Name Mixin selector named SYSTEM
Lnet/minecraft/client/session/report/log/ChatLogEntry$Type;SYSTEM:Lnet/minecraft/client/session/report/log/ChatLogEntry$Type;
intermediary field_40805
Lnet/minecraft/class_7629$class_7854;field_40805:Lnet/minecraft/class_7629$class_7854;
official b
Lggg$a;b:Lggg$a;
-
-
Field Details
-
id
- Mappings:
Namespace Name Mixin selector named id
Lnet/minecraft/client/session/report/log/ChatLogEntry$Type;id:Ljava/lang/String;
intermediary field_40806
Lnet/minecraft/class_7629$class_7854;field_40806:Ljava/lang/String;
official c
Lggg$a;c:Ljava/lang/String;
-
codecSupplier
- Mappings:
Namespace Name Mixin selector named codecSupplier
Lnet/minecraft/client/session/report/log/ChatLogEntry$Type;codecSupplier:Ljava/util/function/Supplier;
intermediary field_40807
Lnet/minecraft/class_7629$class_7854;field_40807:Ljava/util/function/Supplier;
official d
Lggg$a;d:Ljava/util/function/Supplier;
-
-
Constructor Details
-
Type
private Type(String id, Supplier<com.mojang.serialization.MapCodec<? extends ChatLogEntry>> codecSupplier) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/session/report/log/ChatLogEntry$Type;<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
official <init>
Lggg$a;<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 named getCodec
Lnet/minecraft/client/session/report/log/ChatLogEntry$Type;getCodec()Lcom/mojang/serialization/MapCodec;
intermediary method_46539
Lnet/minecraft/class_7629$class_7854;method_46539()Lcom/mojang/serialization/MapCodec;
official a
Lggg$a;a()Lcom/mojang/serialization/MapCodec;
-
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 named asString
Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
intermediary method_15434
Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
official c
Lbba;c()Ljava/lang/String;
-