Package net.minecraft.network.message
Enum Class FilterMask.FilterStatus
- All Implemented Interfaces:
Serializable
,Comparable<FilterMask.FilterStatus>
,Constable
,StringIdentifiable
- Enclosing class:
FilterMask
private static enum FilterMask.FilterStatus
extends Enum<FilterMask.FilterStatus>
implements StringIdentifiable
- Mappings:
Namespace Name named net/minecraft/network/message/FilterMask$FilterStatus
intermediary net/minecraft/class_7649$class_7650
official xz$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<FilterMask>> private final String
Fields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
FilterStatus
(String id, Supplier<com.mojang.serialization.MapCodec<FilterMask>> codecSupplier) -
Method Summary
Modifier and TypeMethodDescriptionasString()
Returns the unique string representation of the enum, used for serialization.private com.mojang.serialization.MapCodec
<FilterMask> getCodec()
static FilterMask.FilterStatus
Returns the enum constant of this class with the specified name.static FilterMask.FilterStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PASS_THROUGH
- Mappings:
Namespace Name Mixin selector named PASS_THROUGH
Lnet/minecraft/network/message/FilterMask$FilterStatus;PASS_THROUGH:Lnet/minecraft/network/message/FilterMask$FilterStatus;
intermediary field_39947
Lnet/minecraft/class_7649$class_7650;field_39947:Lnet/minecraft/class_7649$class_7650;
official a
Lxz$a;a:Lxz$a;
-
FULLY_FILTERED
- Mappings:
Namespace Name Mixin selector named FULLY_FILTERED
Lnet/minecraft/network/message/FilterMask$FilterStatus;FULLY_FILTERED:Lnet/minecraft/network/message/FilterMask$FilterStatus;
intermediary field_39948
Lnet/minecraft/class_7649$class_7650;field_39948:Lnet/minecraft/class_7649$class_7650;
official b
Lxz$a;b:Lxz$a;
-
PARTIALLY_FILTERED
- Mappings:
Namespace Name Mixin selector named PARTIALLY_FILTERED
Lnet/minecraft/network/message/FilterMask$FilterStatus;PARTIALLY_FILTERED:Lnet/minecraft/network/message/FilterMask$FilterStatus;
intermediary field_39949
Lnet/minecraft/class_7649$class_7650;field_39949:Lnet/minecraft/class_7649$class_7650;
official c
Lxz$a;c:Lxz$a;
-
-
Field Details
-
id
- Mappings:
Namespace Name Mixin selector named id
Lnet/minecraft/network/message/FilterMask$FilterStatus;id:Ljava/lang/String;
intermediary field_40841
Lnet/minecraft/class_7649$class_7650;field_40841:Ljava/lang/String;
official d
Lxz$a;d:Ljava/lang/String;
-
codecSupplier
- Mappings:
Namespace Name Mixin selector named codecSupplier
Lnet/minecraft/network/message/FilterMask$FilterStatus;codecSupplier:Ljava/util/function/Supplier;
intermediary field_40842
Lnet/minecraft/class_7649$class_7650;field_40842:Ljava/util/function/Supplier;
official e
Lxz$a;e:Ljava/util/function/Supplier;
-
-
Constructor Details
-
FilterStatus
private FilterStatus(String id, Supplier<com.mojang.serialization.MapCodec<FilterMask>> codecSupplier) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/message/FilterMask$FilterStatus;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/util/function/Supplier;)V
intermediary <init>
Lnet/minecraft/class_7649$class_7650;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/util/function/Supplier;)V
official <init>
Lxz$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
-
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;
-
getCodec
- Mappings:
Namespace Name Mixin selector named getCodec
Lnet/minecraft/network/message/FilterMask$FilterStatus;getCodec()Lcom/mojang/serialization/MapCodec;
intermediary method_46602
Lnet/minecraft/class_7649$class_7650;method_46602()Lcom/mojang/serialization/MapCodec;
official a
Lxz$a;a()Lcom/mojang/serialization/MapCodec;
-