net.minecraft.advancements.critereon

public record ItemFireworksPredicate

implements SingleComponentItemPredicate<Fireworks>

cs
net.minecraft.advancements.critereon.ItemFireworksPredicate
net.minecraft.class_9659
net.minecraft.predicate.item.FireworksPredicate
net.minecraft.advancements.critereon.ItemFireworksPredicate

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public DataComponentType<Fireworks>
a()
componentType()
method_58163()
getComponentType()
public boolean
a(cwq arg0, czg arg1)
matches(ItemStack arg0, Fireworks arg1)
method_59681(class_1799 arg0, class_9284 arg1)
test(ItemStack arg0, FireworksComponent arg1)
public Optional<CollectionPredicate<FireworkExplosion, ItemFireworkExplosionPredicate$FireworkPredicate>>
b()
explosions()
comp_2636()
explosions()
public MinMaxBounds$Ints
c()
flightDuration()
comp_2637()
flightDuration()