net.minecraft.predicate.item

public record FireworksPredicate

implements ComponentSubPredicate<FireworksComponent>

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

Field summary

Modifier and TypeField
private final Optional<CollectionPredicate<FireworkExplosionComponent, FireworkExplosionPredicate$Predicate>>
c
explosions
comp_2636
explosions
f_ecgghksh
explosions
f_315848_
private final NumberRange$IntRange
d
flightDuration
comp_2637
flightDuration
f_lvydcvpf
flightDuration
f_316539_
public static final com.mojang.serialization.Codec<FireworksPredicate>
a
CODEC
field_51384
CODEC
f_dwacotym
CODEC
f_315729_

Constructor summary

ModifierConstructor
public (Optional<CollectionPredicate<FireworkExplosionComponent, FireworkExplosionPredicate$Predicate>> explosions, NumberRange$IntRange flightDuration)

Method summary

Modifier and TypeMethod
public ComponentType<FireworksComponent>
a()
componentType()
method_58163()
getComponentType()
m_rbcgkvlq()
m_318698_()
public boolean
a(cuq o, cxm arg1)
matches(ItemStack arg0, Fireworks arg1)
method_59681(class_1799 arg0, class_9284 arg1)
test(ItemStack arg0, FireworksComponent arg1)
m_ryjebdzu(C_sddaxwyk arg0, C_gzacfpmb arg1)
m_ukkbbchk(ItemStack stack, FireworksComponent arg1)
m_318913_(C_1391_ p_332444_, C_313625_ arg1)
public Optional<CollectionPredicate<FireworkExplosionComponent, FireworkExplosionPredicate$Predicate>>
b()
explosions()
comp_2636()
explosions()
m_nxdzvife()
explosions()
f_315848_()
public NumberRange$IntRange
c()
flightDuration()
comp_2637()
flightDuration()
m_yujluqhg()
flightDuration()
f_316539_()