net.minecraft.core.component.predicates

public record FireworksPredicate

implements SingleComponentItemPredicate<Fireworks>

kw
net.minecraft.core.component.predicates.FireworksPredicate
net.minecraft.class_9659
net.minecraft.predicate.item.FireworksPredicate

Field summary

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

Constructor summary

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

Method summary

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