net.minecraft.advancements.critereon

public record ItemFireworksPredicate

implements SingleComponentItemPredicate<Fireworks>

cn
net.minecraft.advancements.critereon.ItemFireworksPredicate
net.minecraft.class_9659
net.minecraft.predicate.item.FireworksPredicate
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
explosions
f_315848_
private final MinMaxBounds$Ints
d
flightDuration
comp_2637
flightDuration
f_316539_
public static final com.mojang.serialization.Codec<ItemFireworksPredicate>
a
CODEC
field_51384
CODEC
f_315729_

Constructor summary

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

Method summary

Modifier and TypeMethod
public DataComponentType<Fireworks>
a()
componentType()
method_58163()
getComponentType()
m_318698_()
public boolean
a(cur arg0, cxl arg1)
matches(ItemStack arg0, Fireworks arg1)
method_59681(class_1799 arg0, class_9284 arg1)
test(ItemStack arg0, FireworksComponent arg1)
m_318913_(C_1391_ p_332444_, C_313625_ arg1)
public Optional<CollectionPredicate<FireworkExplosion, ItemFireworkExplosionPredicate$FireworkPredicate>>
b()
explosions()
comp_2636()
explosions()
f_315848_()
public MinMaxBounds$Ints
c()
flightDuration()
comp_2637()
flightDuration()
f_316539_()