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$FilterStatusintermediary net/minecraft/class_7649$class_7650official 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 StringFields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateFilterStatus(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.FilterStatusReturns 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_THROUGHLnet/minecraft/network/message/FilterMask$FilterStatus;PASS_THROUGH:Lnet/minecraft/network/message/FilterMask$FilterStatus;intermediary field_39947Lnet/minecraft/class_7649$class_7650;field_39947:Lnet/minecraft/class_7649$class_7650;official aLxz$a;a:Lxz$a;
-
FULLY_FILTERED
- Mappings:
Namespace Name Mixin selector named FULLY_FILTEREDLnet/minecraft/network/message/FilterMask$FilterStatus;FULLY_FILTERED:Lnet/minecraft/network/message/FilterMask$FilterStatus;intermediary field_39948Lnet/minecraft/class_7649$class_7650;field_39948:Lnet/minecraft/class_7649$class_7650;official bLxz$a;b:Lxz$a;
-
PARTIALLY_FILTERED
- Mappings:
Namespace Name Mixin selector named PARTIALLY_FILTEREDLnet/minecraft/network/message/FilterMask$FilterStatus;PARTIALLY_FILTERED:Lnet/minecraft/network/message/FilterMask$FilterStatus;intermediary field_39949Lnet/minecraft/class_7649$class_7650;field_39949:Lnet/minecraft/class_7649$class_7650;official cLxz$a;c:Lxz$a;
-
-
Field Details
-
id
- Mappings:
Namespace Name Mixin selector named idLnet/minecraft/network/message/FilterMask$FilterStatus;id:Ljava/lang/String;intermediary field_40841Lnet/minecraft/class_7649$class_7650;field_40841:Ljava/lang/String;official dLxz$a;d:Ljava/lang/String;
-
codecSupplier
- Mappings:
Namespace Name Mixin selector named codecSupplierLnet/minecraft/network/message/FilterMask$FilterStatus;codecSupplier:Ljava/util/function/Supplier;intermediary field_40842Lnet/minecraft/class_7649$class_7650;field_40842:Ljava/util/function/Supplier;official eLxz$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;)Vintermediary <init>Lnet/minecraft/class_7649$class_7650;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/util/function/Supplier;)Vofficial <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:
asStringin interfaceStringIdentifiable- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;official cLbba;c()Ljava/lang/String;
-
getCodec
- Mappings:
Namespace Name Mixin selector named getCodecLnet/minecraft/network/message/FilterMask$FilterStatus;getCodec()Lcom/mojang/serialization/MapCodec;intermediary method_46602Lnet/minecraft/class_7649$class_7650;method_46602()Lcom/mojang/serialization/MapCodec;official aLxz$a;a()Lcom/mojang/serialization/MapCodec;
-