net.minecraft.advancements.critereon

public record ItemTrimPredicate

implements SingleComponentItemPredicate<ArmorTrim>

cv
net.minecraft.advancements.critereon.ItemTrimPredicate
net.minecraft.class_9660
net.minecraft.predicate.item.TrimPredicate
net.minecraft.src.C_313633_
net.minecraft.advancements.critereon.ItemTrimPredicate

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public DataComponentType<ArmorTrim>
a()
componentType()
method_58163()
getComponentType()
m_318698_()
public boolean
a(cuq arg0, cwx arg1)
matches(ItemStack arg0, ArmorTrim arg1)
method_59686(class_1799 arg0, class_8053 arg1)
test(ItemStack arg0, ArmorTrim arg1)
m_318913_(C_1391_ p_330276_, C_265827_ arg1)
public Optional<HolderSet<TrimMaterial>>
b()
material()
comp_2638()
material()
f_316094_()
public Optional<HolderSet<TrimPattern>>
c()
pattern()
comp_2639()
pattern()
f_314755_()