Uses of Record Class
net.minecraft.predicate.item.FireworkExplosionPredicate.Predicate
-
Uses of FireworkExplosionPredicate.Predicate in net.minecraft.predicate.item
Modifier and TypeFieldDescriptionprivate final FireworkExplosionPredicate.Predicate
FireworkExplosionPredicate.predicate
The field for thepredicate
record component.Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<FireworkExplosionPredicate.Predicate> FireworkExplosionPredicate.Predicate.CODEC
private final Optional
<CollectionPredicate<FireworkExplosionComponent, FireworkExplosionPredicate.Predicate>> FireworksPredicate.explosions
The field for theexplosions
record component.Modifier and TypeMethodDescriptionFireworkExplosionPredicate.predicate()
Returns the value of thepredicate
record component.Modifier and TypeMethodDescriptionFireworksPredicate.explosions()
Returns the value of theexplosions
record component.ModifierConstructorDescriptionCreates an instance of aFireworkExplosionPredicate
record class.ModifierConstructorDescriptionFireworksPredicate
(Optional<CollectionPredicate<FireworkExplosionComponent, FireworkExplosionPredicate.Predicate>> optional, NumberRange.IntRange intRange)