net.minecraft.advancements.critereon

public record ItemTrimPredicate

implements SingleComponentItemPredicate<ArmorTrim>

cx
net.minecraft.advancements.critereon.ItemTrimPredicate
net.minecraft.class_9660
net.minecraft.predicate.item.TrimPredicate
net.minecraft.advancements.critereon.ItemTrimPredicate

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<ItemTrimPredicate>
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(cxp arg0, dfw arg1)
matches(ItemStack arg0, ArmorTrim arg1)
method_59686(class_1799 arg0, class_8053 arg1)
test(ItemStack arg0, ArmorTrim arg1)
public Optional<HolderSet<TrimMaterial>>
b()
material()
comp_2638()
material()
public Optional<HolderSet<TrimPattern>>
c()
pattern()
comp_2639()
pattern()