Uses of Record Class
net.minecraft.world.item.component.FireworkExplosion
Package
Description
-
Uses of FireworkExplosion in net.minecraft.advancements.critereon
Modifier and TypeFieldDescriptionprivate final Optional
<CollectionPredicate<FireworkExplosion, ItemFireworkExplosionPredicate.FireworkPredicate>> ItemFireworksPredicate.explosions
The field for theexplosions
record component.Modifier and TypeMethodDescriptionItemFireworkExplosionPredicate.componentType()
ItemFireworksPredicate.explosions()
Returns the value of theexplosions
record component.Modifier and TypeMethodDescriptionboolean
ItemFireworkExplosionPredicate.matches
(ItemStack p_341180_, FireworkExplosion p_340885_) boolean
ItemFireworkExplosionPredicate.FireworkPredicate.test
(FireworkExplosion p_340895_) ModifierConstructorDescriptionItemFireworksPredicate
(Optional<CollectionPredicate<FireworkExplosion, ItemFireworkExplosionPredicate.FireworkPredicate>> explosions, MinMaxBounds.Ints flightDuration) Creates an instance of aItemFireworksPredicate
record class. -
Uses of FireworkExplosion in net.minecraft.client.multiplayer
Modifier and TypeMethodDescriptionvoid
ClientLevel.createFireworks
(double p_104585_, double p_104586_, double p_104587_, double p_104588_, double p_104589_, double p_104590_, List<FireworkExplosion> p_330281_) -
Uses of FireworkExplosion in net.minecraft.client.particle
Modifier and TypeFieldDescriptionprivate final List
<FireworkExplosion> FireworkParticles.Starter.explosions
ModifierConstructorDescriptionStarter
(ClientLevel p_106757_, double p_106758_, double p_106759_, double p_106760_, double p_106761_, double p_106762_, double p_106763_, ParticleEngine p_106764_, List<FireworkExplosion> p_330899_) -
Uses of FireworkExplosion in net.minecraft.core.component
Modifier and TypeFieldDescriptionstatic final DataComponentType
<FireworkExplosion> DataComponents.FIREWORK_EXPLOSION
-
Uses of FireworkExplosion in net.minecraft.world.entity.projectile
Modifier and TypeMethodDescriptionprivate List
<FireworkExplosion> FireworkRocketEntity.getExplosions()
-
Uses of FireworkExplosion in net.minecraft.world.item.component
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<FireworkExplosion> FireworkExplosion.CODEC
private final List
<FireworkExplosion> Fireworks.explosions
The field for theexplosions
record component.static final StreamCodec
<io.netty.buffer.ByteBuf, FireworkExplosion> FireworkExplosion.STREAM_CODEC
Modifier and TypeMethodDescriptionFireworkExplosion.withFadeColors
(it.unimi.dsi.fastutil.ints.IntList p_330678_) Modifier and TypeMethodDescriptionFireworks.explosions()
Returns the value of theexplosions
record component.ModifierConstructorDescriptionFireworks
(int flightDuration, List<FireworkExplosion> explosions) Creates an instance of aFireworks
record class. -
Uses of FireworkExplosion in net.minecraft.world.level
Modifier and TypeMethodDescriptionvoid
Level.createFireworks
(double p_46475_, double p_46476_, double p_46477_, double p_46478_, double p_46479_, double p_46480_, List<FireworkExplosion> p_332050_) -
Uses of FireworkExplosion in net.minecraft.world.level.storage.loot.functions
Modifier and TypeFieldDescriptionstatic final FireworkExplosion
SetFireworkExplosionFunction.DEFAULT_VALUE
Modifier and TypeFieldDescriptionprivate final Optional
<ListOperation.StandAlone<FireworkExplosion>> SetFireworksFunction.explosions
Modifier and TypeMethodDescriptionprivate FireworkExplosion
SetFireworkExplosionFunction.apply
(FireworkExplosion p_333781_) Modifier and TypeMethodDescriptionprivate FireworkExplosion
SetFireworkExplosionFunction.apply
(FireworkExplosion p_333781_) ModifierConstructorDescriptionprotected
SetFireworksFunction
(List<LootItemCondition> p_333807_, Optional<ListOperation.StandAlone<FireworkExplosion>> p_333866_, Optional<Integer> p_341606_)