net.minecraft.core.component.predicates

public record DataComponentPredicate$Single<T extends DataComponentPredicate>

ks$c
net.minecraft.core.component.predicates.DataComponentPredicate$Single
net.minecraft.class_9360$class_10727
net.minecraft.predicate.component.ComponentPredicate$Typed

Field summary

Modifier and TypeField
private final DataComponentPredicate$Type<T>
a
type
comp_3628
type
private final T
b
predicate
comp_3629
predicate

Constructor summary

ModifierConstructor
public (DataComponentPredicate$Type<T> type, T predicate)

Method summary

Modifier and TypeMethod
static <T extends DataComponentPredicate> com.mojang.serialization.MapCodec<DataComponentPredicate$Single<T>>
a(ks$d<T> arg0, com.mojang.serialization.Codec<T> arg1)
wrapCodec(DataComponentPredicate$Type<T> arg0, com.mojang.serialization.Codec<T> arg1)
method_75518(class_9360$class_8745<T> arg0, com.mojang.serialization.Codec<T> arg1)
getCodec(ComponentPredicate$Type<T> type, com.mojang.serialization.Codec<T> valueCodec)
private static <T extends DataComponentPredicate> DataComponentPredicate$Single<T>
a(Map$Entry<ks$d<?>, T> arg0)
fromEntry(Map$Entry<DataComponentPredicate$Type<?>, T> arg0)
method_68714(Map$Entry<class_9360$class_8745<?>, T> arg0)
fromEntry(Map$Entry<ComponentPredicate$Type<?>, T> entry)
public DataComponentPredicate$Type<T>
a()
type()
comp_3628()
type()
public T
b()
predicate()
comp_3629()
predicate()