Class FilterMask

java.lang.Object
net.minecraft.network.message.FilterMask

public class FilterMask extends Object
Mappings:
Namespace Name
official tm
intermediary net/minecraft/class_7649
named net/minecraft/network/message/FilterMask
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<FilterMask> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Ltm;a:Lcom/mojang/serialization/Codec;
      intermediary field_40837 Lnet/minecraft/class_7649;field_40837:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/network/message/FilterMask;CODEC:Lcom/mojang/serialization/Codec;
    • FULLY_FILTERED

      public static final FilterMask FULLY_FILTERED
      Mappings:
      Namespace Name Mixin selector
      official b Ltm;b:Ltm;
      intermediary field_39941 Lnet/minecraft/class_7649;field_39941:Lnet/minecraft/class_7649;
      named FULLY_FILTERED Lnet/minecraft/network/message/FilterMask;FULLY_FILTERED:Lnet/minecraft/network/message/FilterMask;
    • PASS_THROUGH

      public static final FilterMask PASS_THROUGH
      Mappings:
      Namespace Name Mixin selector
      official c Ltm;c:Ltm;
      intermediary field_39942 Lnet/minecraft/class_7649;field_39942:Lnet/minecraft/class_7649;
      named PASS_THROUGH Lnet/minecraft/network/message/FilterMask;PASS_THROUGH:Lnet/minecraft/network/message/FilterMask;
    • FILTERED_STYLE

      public static final Style FILTERED_STYLE
      Mappings:
      Namespace Name Mixin selector
      official d Ltm;d:Luf;
      intermediary field_40674 Lnet/minecraft/class_7649;field_40674:Lnet/minecraft/class_2583;
      named FILTERED_STYLE Lnet/minecraft/network/message/FilterMask;FILTERED_STYLE:Lnet/minecraft/text/Style;
    • PASS_THROUGH_CODEC

      static final com.mojang.serialization.Codec<FilterMask> PASS_THROUGH_CODEC
      Mappings:
      Namespace Name Mixin selector
      official e Ltm;e:Lcom/mojang/serialization/Codec;
      intermediary field_40838 Lnet/minecraft/class_7649;field_40838:Lcom/mojang/serialization/Codec;
      named PASS_THROUGH_CODEC Lnet/minecraft/network/message/FilterMask;PASS_THROUGH_CODEC:Lcom/mojang/serialization/Codec;
    • FULLY_FILTERED_CODEC

      static final com.mojang.serialization.Codec<FilterMask> FULLY_FILTERED_CODEC
      Mappings:
      Namespace Name Mixin selector
      official f Ltm;f:Lcom/mojang/serialization/Codec;
      intermediary field_40839 Lnet/minecraft/class_7649;field_40839:Lcom/mojang/serialization/Codec;
      named FULLY_FILTERED_CODEC Lnet/minecraft/network/message/FilterMask;FULLY_FILTERED_CODEC:Lcom/mojang/serialization/Codec;
    • PARTIALLY_FILTERED_CODEC

      static final com.mojang.serialization.Codec<FilterMask> PARTIALLY_FILTERED_CODEC
      Mappings:
      Namespace Name Mixin selector
      official g Ltm;g:Lcom/mojang/serialization/Codec;
      intermediary field_40840 Lnet/minecraft/class_7649;field_40840:Lcom/mojang/serialization/Codec;
      named PARTIALLY_FILTERED_CODEC Lnet/minecraft/network/message/FilterMask;PARTIALLY_FILTERED_CODEC:Lcom/mojang/serialization/Codec;
    • FILTERED

      private static final char FILTERED
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official h Ltm;h:C
      intermediary field_39943 Lnet/minecraft/class_7649;field_39943:C
      named FILTERED Lnet/minecraft/network/message/FilterMask;FILTERED:C
    • mask

      private final BitSet mask
      Mappings:
      Namespace Name Mixin selector
      official i Ltm;i:Ljava/util/BitSet;
      intermediary field_39944 Lnet/minecraft/class_7649;field_39944:Ljava/util/BitSet;
      named mask Lnet/minecraft/network/message/FilterMask;mask:Ljava/util/BitSet;
    • status

      private final FilterMask.FilterStatus status
      Mappings:
      Namespace Name Mixin selector
      official j Ltm;j:Ltm$a;
      intermediary field_39945 Lnet/minecraft/class_7649;field_39945:Lnet/minecraft/class_7649$class_7650;
      named status Lnet/minecraft/network/message/FilterMask;status:Lnet/minecraft/network/message/FilterMask$FilterStatus;
  • Constructor Details

    • FilterMask

      private FilterMask(BitSet mask, FilterMask.FilterStatus status)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ltm;<init>(Ljava/util/BitSet;Ltm$a;)V
      intermediary <init> Lnet/minecraft/class_7649;<init>(Ljava/util/BitSet;Lnet/minecraft/class_7649$class_7650;)V
      named <init> Lnet/minecraft/network/message/FilterMask;<init>(Ljava/util/BitSet;Lnet/minecraft/network/message/FilterMask$FilterStatus;)V
    • FilterMask

      private FilterMask(BitSet mask)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ltm;<init>(Ljava/util/BitSet;)V
      intermediary <init> Lnet/minecraft/class_7649;<init>(Ljava/util/BitSet;)V
      named <init> Lnet/minecraft/network/message/FilterMask;<init>(Ljava/util/BitSet;)V
    • FilterMask

      public FilterMask(int length)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ltm;<init>(I)V
      intermediary <init> Lnet/minecraft/class_7649;<init>(I)V
      named <init> Lnet/minecraft/network/message/FilterMask;<init>(I)V
  • Method Details

    • getStatus

      private FilterMask.FilterStatus getStatus()
      Mappings:
      Namespace Name Mixin selector
      official c Ltm;c()Ltm$a;
      intermediary method_46600 Lnet/minecraft/class_7649;method_46600()Lnet/minecraft/class_7649$class_7650;
      named getStatus Lnet/minecraft/network/message/FilterMask;getStatus()Lnet/minecraft/network/message/FilterMask$FilterStatus;
    • getMask

      private BitSet getMask()
      Mappings:
      Namespace Name Mixin selector
      official d Ltm;d()Ljava/util/BitSet;
      intermediary method_46601 Lnet/minecraft/class_7649;method_46601()Ljava/util/BitSet;
      named getMask Lnet/minecraft/network/message/FilterMask;getMask()Ljava/util/BitSet;
    • readMask

      public static FilterMask readMask(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official a Ltm;a(Lss;)Ltm;
      intermediary method_45090 Lnet/minecraft/class_7649;method_45090(Lnet/minecraft/class_2540;)Lnet/minecraft/class_7649;
      named readMask Lnet/minecraft/network/message/FilterMask;readMask(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/network/message/FilterMask;
    • writeMask

      public static void writeMask(PacketByteBuf buf, FilterMask mask)
      Mappings:
      Namespace Name Mixin selector
      official a Ltm;a(Lss;Ltm;)V
      intermediary method_45091 Lnet/minecraft/class_7649;method_45091(Lnet/minecraft/class_2540;Lnet/minecraft/class_7649;)V
      named writeMask Lnet/minecraft/network/message/FilterMask;writeMask(Lnet/minecraft/network/PacketByteBuf;Lnet/minecraft/network/message/FilterMask;)V
    • markFiltered

      public void markFiltered(int index)
      Mappings:
      Namespace Name Mixin selector
      official a Ltm;a(I)V
      intermediary method_45088 Lnet/minecraft/class_7649;method_45088(I)V
      named markFiltered Lnet/minecraft/network/message/FilterMask;markFiltered(I)V
    • filter

      @Nullable public @Nullable String filter(String raw)
      Mappings:
      Namespace Name Mixin selector
      official a Ltm;a(Ljava/lang/String;)Ljava/lang/String;
      intermediary method_45089 Lnet/minecraft/class_7649;method_45089(Ljava/lang/String;)Ljava/lang/String;
      named filter Lnet/minecraft/network/message/FilterMask;filter(Ljava/lang/String;)Ljava/lang/String;
    • getFilteredText

      @Nullable public @Nullable Text getFilteredText(String message)
      Mappings:
      Namespace Name Mixin selector
      official b Ltm;b(Ljava/lang/String;)Ltj;
      intermediary method_46256 Lnet/minecraft/class_7649;method_46256(Ljava/lang/String;)Lnet/minecraft/class_2561;
      named getFilteredText Lnet/minecraft/network/message/FilterMask;getFilteredText(Ljava/lang/String;)Lnet/minecraft/text/Text;
    • isPassThrough

      public boolean isPassThrough()
      Mappings:
      Namespace Name Mixin selector
      official a Ltm;a()Z
      intermediary method_45087 Lnet/minecraft/class_7649;method_45087()Z
      named isPassThrough Lnet/minecraft/network/message/FilterMask;isPassThrough()Z
    • isFullyFiltered

      public boolean isFullyFiltered()
      Mappings:
      Namespace Name Mixin selector
      official b Ltm;b()Z
      intermediary method_45093 Lnet/minecraft/class_7649;method_45093()Z
      named isFullyFiltered Lnet/minecraft/network/message/FilterMask;isFullyFiltered()Z
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
      Mappings:
      Namespace Name Mixin selector
      official equals Ltm;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_7649;equals(Ljava/lang/Object;)Z
      named equals Lnet/minecraft/network/message/FilterMask;equals(Ljava/lang/Object;)Z
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object