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
net.minecraft.src.C_378849_
net.minecraft.core.component.predicates.FireworksPredicate

字段概要

修饰符与类型字段
private final Optional<CollectionPredicate<FireworkExplosion, FireworkExplosionPredicate$FireworkPredicate>>
e
explosions
comp_2636
explosions
f_382537_
private final MinMaxBounds$Ints
f
flightDuration
comp_2637
flightDuration
f_379665_
public static final com.mojang.serialization.Codec<FireworksPredicate>
a
CODEC
field_51384
CODEC
f_381784_

构造函数概要

修饰符构造函数
public (Optional<CollectionPredicate<FireworkExplosion, FireworkExplosionPredicate$FireworkPredicate>> explosions, MinMaxBounds$Ints flightDuration)

方法概要

修饰符与类型方法
public DataComponentType<Fireworks>
a()
componentType()
method_58163()
getComponentType()
m_384318_()
public boolean
a(dol arg0)
matches(Fireworks arg0)
method_59681(class_9284 arg0)
test(FireworksComponent arg0)
m_384009_(C_313625_ arg0)
public Optional<CollectionPredicate<FireworkExplosion, FireworkExplosionPredicate$FireworkPredicate>>
b()
explosions()
comp_2636()
explosions()
f_382537_()
public MinMaxBounds$Ints
c()
flightDuration()
comp_2637()
flightDuration()
f_379665_()