net.minecraft.server.network

public record Filterable<T>

arl
net.minecraft.server.network.Filterable
net.minecraft.class_9262
net.minecraft.unmapped.C_cihikqyk
net.minecraft.text.RawFilteredPair
net.minecraft.network.message.Filterable
net.minecraft.src.C_313766_
net.minecraft.server.network.Filterable

Field summary

Modifier and TypeField
private final T
a
raw
comp_2369
f_fkwovbpw
raw
raw
f_315590_
private final Optional<T>
b
filtered
comp_2370
f_oiafysme
filtered
filtered
f_316433_

Constructor summary

ModifierConstructor
public (T raw, Optional<T> filtered)

Method summary

Modifier and TypeMethod
public static <T> com.mojang.serialization.Codec<Filterable<T>>
a(com.mojang.serialization.Codec<T> arg0)
codec(com.mojang.serialization.Codec<T> arg0)
method_57135(com.mojang.serialization.Codec<T> arg0)
m_iohzsixy(com.mojang.serialization.Codec<T> arg0)
createCodec(com.mojang.serialization.Codec<T> baseCodec)
codec(com.mojang.serialization.Codec<T> codec)
m_322486_(com.mojang.serialization.Codec<T> p_327990_)
public static <B extends io.netty.buffer.ByteBuf, T> StreamCodec<B, Filterable<T>>
a(yx<B, T> arg0)
streamCodec(StreamCodec<B, T> arg0)
method_57139(class_9139<B, T> arg0)
m_fyecmzev(C_qsrmwluu<B, T> arg0)
createPacketCodec(PacketCodec<B, T> basePacketCodec)
packetCodec(PacketCodec<B, T> packetCodec)
m_323964_(C_313866_<B, T> p_328361_)
public static <T> Filterable<T>
a(T arg0)
passThrough(T arg0)
method_57137(T arg0)
m_pmbopdmp(T arg0)
of(T raw)
passthrough(T raw)
m_323001_(T p_333360_)
public static Filterable<String>
a(arm arg0)
from(FilteredText arg0)
method_57134(class_5837 arg0)
m_gmkselij(C_yjdbpemn arg0)
of(FilteredMessage message)
of(FilteredText text)
m_320455_(C_212939_ p_332002_)
public T
a(boolean arg0)
get(boolean arg0)
method_57140(boolean arg0)
m_ivavotjb(boolean arg0)
get(boolean shouldFilter)
get(boolean shouldFilter)
m_323302_(boolean arg0)
public <U> Filterable<U>
a(Function<T, U> arg0)
map(Function<T, U> arg0)
method_57138(Function<T, U> arg0)
m_woofngbc(Function<T, U> arg0)
map(Function<T, U> mapper)
map(Function<T, U> mapper)
m_321832_(Function<T, U> arg0)
public <U> Optional<Filterable<U>>
b(Function<T, Optional<U>> arg0)
resolve(Function<T, Optional<U>> arg0)
method_57141(Function<T, Optional<U>> arg0)
m_zycbszle(Function<T, Optional<U>> arg0)
resolve(Function<T, Optional<U>> resolver)
resolve(Function<T, Optional<U>> resolver)
m_320562_(Function<T, Optional<U>> arg0)
public T
a()
raw()
comp_2369()
m_cxgmkocq()
raw()
raw()
f_315590_()
public Optional<T>
b()
filtered()
comp_2370()
m_wwdkimkt()
filtered()
filtered()
f_316433_()