Uses of Record Class
net.minecraft.advancements.critereon.ItemFireworkExplosionPredicate.FireworkPredicate
-
Uses of ItemFireworkExplosionPredicate.FireworkPredicate in net.minecraft.advancements.critereon
Modifier and TypeFieldDescriptionprivate final ItemFireworkExplosionPredicate.FireworkPredicate
ItemFireworkExplosionPredicate.predicate
The field for thepredicate
record component.Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<ItemFireworkExplosionPredicate.FireworkPredicate> ItemFireworkExplosionPredicate.FireworkPredicate.CODEC
private final Optional
<CollectionPredicate<FireworkExplosion, ItemFireworkExplosionPredicate.FireworkPredicate>> ItemFireworksPredicate.explosions
The field for theexplosions
record component.Modifier and TypeMethodDescriptionItemFireworkExplosionPredicate.predicate()
Returns the value of thepredicate
record component.Modifier and TypeMethodDescriptionItemFireworksPredicate.explosions()
Returns the value of theexplosions
record component.ModifierConstructorDescriptionCreates an instance of aItemFireworkExplosionPredicate
record class.ModifierConstructorDescriptionItemFireworksPredicate
(Optional<CollectionPredicate<FireworkExplosion, ItemFireworkExplosionPredicate.FireworkPredicate>> explosions, MinMaxBounds.Ints flightDuration) Creates an instance of aItemFireworksPredicate
record class.