net.minecraft.core.component.predicates

public record TrimPredicate

implements SingleComponentItemPredicate<ArmorTrim>

kz
net.minecraft.core.component.predicates.TrimPredicate
net.minecraft.class_9660
net.minecraft.predicate.item.TrimPredicate

Field summary

Modifier and TypeField
private final Optional<HolderSet<TrimMaterial>>
c
material
comp_2638
material
private final Optional<HolderSet<TrimPattern>>
d
pattern
comp_2639
pattern
public static final com.mojang.serialization.Codec<TrimPredicate>
a
CODEC
field_51394
CODEC

Constructor summary

ModifierConstructor
public (Optional<HolderSet<TrimMaterial>> arg0, Optional<HolderSet<TrimPattern>> arg1)

Method summary

Modifier and TypeMethod
public DataComponentType<ArmorTrim>
a()
componentType()
method_58163()
getComponentType()
public boolean
a(dhd arg0)
matches(ArmorTrim arg0)
method_59686(class_8053 arg0)
test(ArmorTrim arg0)
public Optional<HolderSet<TrimMaterial>>
b()
material()
comp_2638()
material()
public Optional<HolderSet<TrimPattern>>
c()
pattern()
comp_2639()
pattern()