net.minecraft.advancements.critereon

public record ItemFireworksPredicate

implements SingleComponentItemPredicate<Fireworks>

cr
net.minecraft.advancements.critereon.ItemFireworksPredicate
net.minecraft.class_9659
net.minecraft.unmapped.C_xkqrwnqz
net.minecraft.predicate.item.FireworksPredicate
net.minecraft.unmapped.C_xkqrwnqz
net.minecraft.src.C_313695_
net.minecraft.advancements.critereon.ItemFireworksPredicate

Field summary

Modifier and TypeField
private final Optional<CollectionPredicate<FireworkExplosion, ItemFireworkExplosionPredicate$FireworkPredicate>>
c
explosions
comp_2636
f_ecgghksh
explosions
explosions
f_315848_
private final MinMaxBounds$Ints
d
flightDuration
comp_2637
f_lvydcvpf
flightDuration
flightDuration
f_316539_
public static final com.mojang.serialization.Codec<ItemFireworksPredicate>
a
CODEC
field_51384
f_dwacotym
CODEC
CODEC
f_315729_

Constructor summary

ModifierConstructor
public (Optional<CollectionPredicate<FireworkExplosion, ItemFireworkExplosionPredicate$FireworkPredicate>> explosions, MinMaxBounds$Ints flightDuration)

Method summary

Modifier and TypeMethod
public DataComponentType<Fireworks>
a()
componentType()
method_58163()
m_rbcgkvlq()
getComponentType()
m_318698_()
public boolean
a(cxp arg0, daf arg1)
matches(ItemStack arg0, Fireworks arg1)
method_59681(class_1799 arg0, class_9284 arg1)
m_ryjebdzu(C_sddaxwyk arg0, C_gzacfpmb arg1)
test(ItemStack arg0, FireworksComponent arg1)
m_ukkbbchk(ItemStack stack, FireworksComponent arg1)
m_318913_(C_1391_ p_332444_, C_313625_ arg1)
public Optional<CollectionPredicate<FireworkExplosion, ItemFireworkExplosionPredicate$FireworkPredicate>>
b()
explosions()
comp_2636()
m_nxdzvife()
explosions()
explosions()
f_315848_()
public MinMaxBounds$Ints
c()
flightDuration()
comp_2637()
m_yujluqhg()
flightDuration()
flightDuration()
f_316539_()