net.minecraft.server.network

public record FilteredText<T>

agd
net.minecraft.server.network.FilteredText
net.minecraft.class_5837
net.minecraft.server.filter.FilteredMessage
net.minecraft.src.C_212939_
net.minecraft.server.network.FilteredText

Field summary

Modifier and TypeField
private final T
b
raw
comp_841
raw
f_215168_
private final T
c
filtered
comp_842
filtered
f_215169_
public static final FilteredText<String>
a
EMPTY_STRING
field_28863
EMPTY
f_215167_

Constructor summary

ModifierConstructor
public (T f_215169_, T arg1)

Method summary

Modifier and TypeMethod
public static <T> FilteredText<T>
a(T arg0)
passThrough(T arg0)
method_33802(T arg0)
permitted(T filterable)
m_215181_(T p_215182_)
public static <T> FilteredText<T>
b(T arg0)
fullyFiltered(T arg0)
method_33804(T arg0)
censored(T filterable)
m_215186_(T p_215187_)
public <U> FilteredText<U>
a(Function<T, U> arg0)
map(Function<T, U> arg0)
method_44151(Function<T, U> arg0)
map(Function<T, U> mapper)
m_215183_(Function<T, U> arg0)
public boolean
a()
isFiltered()
method_43933()
isFiltered()
m_215174_()
public boolean
b()
isFullyFiltered()
method_44152()
isCensored()
m_215185_()
public T
c(T arg0)
filteredOrElse(T arg0)
method_44153(T arg0)
filteredOrElse(T filterable)
m_215189_(T arg0)
public T
a(afp arg0, afp arg1)
filter(ServerPlayer arg0, ServerPlayer arg1)
method_44149(class_3222 arg0, class_3222 arg1)
getFilterableFor(ServerPlayerEntity sender, ServerPlayerEntity receiver)
m_215175_(C_13_ p_215177_, C_13_ arg1)
public T
a(dr arg0, afp arg1)
filter(CommandSourceStack arg0, ServerPlayer arg1)
method_44150(class_2168 arg0, class_3222 arg1)
getFilterableFor(ServerCommandSource source, ServerPlayerEntity receiver)
m_215178_(C_2969_ p_215180_, C_13_ arg1)
public T
c()
raw()
comp_841()
raw()
f_215168_()
public T
d()
filtered()
comp_842()
filtered()
f_215169_()