net.minecraft.network.chat

public class FilterMask

xt
net.minecraft.network.chat.FilterMask
net.minecraft.class_7649
net.minecraft.network.message.FilterMask
net.minecraft.src.C_242983_
net.minecraft.network.chat.FilterMask

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<FilterMask>
a
CODEC
field_40837
CODEC
f_252533_
public static final FilterMask
b
FULLY_FILTERED
field_39941
FULLY_FILTERED
f_243007_
public static final FilterMask
c
PASS_THROUGH
field_39942
PASS_THROUGH
f_242999_
public static final Style
d
FILTERED_STYLE
field_40674
FILTERED_STYLE
f_244521_
static final com.mojang.serialization.MapCodec<FilterMask>
e
PASS_THROUGH_CODEC
field_40838
PASS_THROUGH_CODEC
f_252488_
static final com.mojang.serialization.MapCodec<FilterMask>
f
FULLY_FILTERED_CODEC
field_40839
FULLY_FILTERED_CODEC
f_252493_
static final com.mojang.serialization.MapCodec<FilterMask>
g
PARTIALLY_FILTERED_CODEC
field_40840
PARTIALLY_FILTERED_CODEC
f_252450_
private static final char
h
HASH
field_39943
FILTERED
f_243009_
private final BitSet
i
mask
field_39944
mask
f_242988_
private final FilterMask$Type
j
type
field_39945
status
f_242996_

Constructor summary

ModifierConstructor
private (BitSet mask, FilterMask$Type status)
private (BitSet mask)
public (int length)

Method summary

Modifier and TypeMethod
private FilterMask$Type
c()
type()
method_46600()
getStatus()
m_252945_()
private BitSet
d()
mask()
method_46601()
getMask()
m_252818_()
public static FilterMask
a(wm arg0)
read(FriendlyByteBuf arg0)
method_45090(class_2540 arg0)
readMask(PacketByteBuf buf)
m_243104_(C_4983_ p_243205_)
public static void
a(wm arg0, xt arg1)
write(FriendlyByteBuf arg0, FilterMask arg1)
method_45091(class_2540 arg0, class_7649 arg1)
writeMask(PacketByteBuf buf, FilterMask mask)
m_243105_(C_4983_ p_243308_, C_242983_ p_243231_)
public void
a(int arg0)
setFiltered(int arg0)
method_45088(int arg0)
markFiltered(int index)
m_243123_(int arg0)
public String
a(String arg0)
apply(String arg0)
method_45089(String arg0)
filter(String raw)
m_243114_(String arg0)
public Component
b(String arg0)
applyWithFormatting(String arg0)
method_46256(String arg0)
getFilteredText(String message)
m_246134_(String arg0)
public boolean
a()
isEmpty()
method_45087()
isPassThrough()
m_243095_()
public boolean
b()
isFullyFiltered()
method_45093()
isFullyFiltered()
m_243067_()