net.minecraft.core.component

public final class DataComponentExactPredicate

implements Predicate<DataComponentGetter>

kd
net.minecraft.core.component.DataComponentExactPredicate
net.minecraft.class_9329
net.minecraft.unmapped.C_sdwoobnp
net.minecraft.predicate.ComponentPredicate
net.minecraft.unmapped.C_sdwoobnp

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<DataComponentExactPredicate>
a
CODEC
field_49595
f_pcvinxqd
CODEC
CODEC
public static final StreamCodec<RegistryFriendlyByteBuf, DataComponentExactPredicate>
b
STREAM_CODEC
field_49596
f_aqvzqufi
PACKET_CODEC
PACKET_CODEC
public static final DataComponentExactPredicate
c
EMPTY
field_49597
f_qejckhxk
EMPTY
private final List<TypedDataComponent<?>>
d
expectedComponents
field_49598
f_mwgrtaeq
components

Constructor summary

ModifierConstructor
(List<TypedDataComponent<?>> components)

Method summary

Modifier and TypeMethod
public static DataComponentExactPredicate$Builder
a()
builder()
method_57862()
m_pexnijlh()
builder()
public static <T> DataComponentExactPredicate
a(ki<T> arg0, T arg1)
expect(DataComponentType<T> arg0, T arg1)
method_66877(class_9331<T> arg0, T arg1)
m_czudqxzf(C_pscqxfcs<T> arg0, T arg1)
of(ComponentType<T> type, T value)
m_czudqxzf(DataComponentType<T> type, T value)
public static DataComponentExactPredicate
a(kg arg0)
allOf(DataComponentMap arg0)
method_57865(class_9323 arg0)
m_jzucjxbn(C_kouhnfig arg0)
of(ComponentMap components)
m_jzucjxbn(DataComponentMap elements)
public static DataComponentExactPredicate
a(kg arg0, ki<?>... arg1)
someOf(DataComponentMap arg0, DataComponentType<?>... arg1)
method_64096(class_9323 arg0, class_9331<?>... arg1)
m_ywulyutf(C_kouhnfig arg0, C_pscqxfcs<?>... arg1)
ofFiltered(ComponentMap components, ComponentType<?>... types)
public boolean
a(ke arg0)
test(DataComponentGetter arg0)
method_57868(class_9473 arg0)
m_ezmctexe(C_hmcnusfu arg0)
test(ComponentsAccess arg0)
test(ke arg0)
public boolean
b()
alwaysMatches()
method_57867()
m_aejoxfyu()
isEmpty()
public DataComponentPatch
c()
asPatch()
method_57870()
m_auphdoaa()
toChanges()