net.minecraft.core.component

public final class DataComponentExactPredicate

implements Predicate<DataComponentGetter>

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

Field summary

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

Constructor summary

ModifierConstructor
(List<TypedDataComponent<?>> components)

Method summary

Modifier and TypeMethod
public static DataComponentExactPredicate$Builder
a()
builder()
method_57862()
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)
of(ComponentType<T> type, T value)
public static DataComponentExactPredicate
a(kg arg0)
allOf(DataComponentMap arg0)
method_57865(class_9323 arg0)
of(ComponentMap components)
public static DataComponentExactPredicate
a(kg arg0, ki<?>... arg1)
someOf(DataComponentMap arg0, DataComponentType<?>... arg1)
method_64096(class_9323 arg0, class_9331<?>... arg1)
ofFiltered(ComponentMap components, ComponentType<?>... types)
public boolean
a(ke arg0)
test(DataComponentGetter arg0)
method_57868(class_9473 arg0)
test(ComponentsAccess arg0)
public boolean
b()
alwaysMatches()
method_57867()
isEmpty()
public DataComponentPatch
c()
asPatch()
method_57870()
toChanges()