Uses of Record Class
net.minecraft.world.item.component.FireworkExplosion
Packages that use FireworkExplosion
Package
Description
-
Uses of FireworkExplosion in net.minecraft.client.multiplayer
Method parameters in net.minecraft.client.multiplayer with type arguments of type FireworkExplosionModifier 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
Fields in net.minecraft.client.particle with type parameters of type FireworkExplosionModifier and TypeFieldDescriptionprivate final List
<FireworkExplosion> FireworkParticles.Starter.explosions
Constructor parameters in net.minecraft.client.particle with type arguments of type FireworkExplosionModifierConstructorDescriptionStarter
(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
Fields in net.minecraft.core.component with type parameters of type FireworkExplosionModifier and TypeFieldDescriptionstatic final DataComponentType
<FireworkExplosion> DataComponents.FIREWORK_EXPLOSION
-
Uses of FireworkExplosion in net.minecraft.core.component.predicates
Fields in net.minecraft.core.component.predicates with type parameters of type FireworkExplosionModifier and TypeFieldDescriptionprivate final Optional
<CollectionPredicate<FireworkExplosion, FireworkExplosionPredicate.FireworkPredicate>> FireworksPredicate.explosions
The field for theexplosions
record component.Methods in net.minecraft.core.component.predicates that return types with arguments of type FireworkExplosionModifier and TypeMethodDescriptionFireworkExplosionPredicate.componentType()
FireworksPredicate.explosions()
Returns the value of theexplosions
record component.Methods in net.minecraft.core.component.predicates with parameters of type FireworkExplosionModifier and TypeMethodDescriptionboolean
FireworkExplosionPredicate.matches
(FireworkExplosion p_400258_) boolean
FireworkExplosionPredicate.FireworkPredicate.test
(FireworkExplosion p_399871_) Constructor parameters in net.minecraft.core.component.predicates with type arguments of type FireworkExplosionModifierConstructorDescriptionFireworksPredicate
(Optional<CollectionPredicate<FireworkExplosion, FireworkExplosionPredicate.FireworkPredicate>> explosions, MinMaxBounds.Ints flightDuration) Creates an instance of aFireworksPredicate
record class. -
Uses of FireworkExplosion in net.minecraft.world.entity.projectile
Methods in net.minecraft.world.entity.projectile that return types with arguments of type FireworkExplosionModifier and TypeMethodDescriptionprivate List
<FireworkExplosion> FireworkRocketEntity.getExplosions()
-
Uses of FireworkExplosion in net.minecraft.world.item.component
Fields in net.minecraft.world.item.component declared as FireworkExplosionFields in net.minecraft.world.item.component with type parameters of type FireworkExplosionModifier 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
Methods in net.minecraft.world.item.component that return FireworkExplosionModifier and TypeMethodDescriptionFireworkExplosion.withFadeColors
(it.unimi.dsi.fastutil.ints.IntList p_330678_) Methods in net.minecraft.world.item.component that return types with arguments of type FireworkExplosionModifier and TypeMethodDescriptionFireworks.explosions()
Returns the value of theexplosions
record component.Methods in net.minecraft.world.item.component with parameters of type FireworkExplosionModifier and TypeMethodDescriptionprivate static void
Fireworks.addExplosionTooltip
(Consumer<Component> p_401888_, FireworkExplosion p_401827_, int p_401833_) Constructor parameters in net.minecraft.world.item.component with type arguments of type FireworkExplosionModifierConstructorDescriptionFireworks
(int flightDuration, List<FireworkExplosion> explosions) Creates an instance of aFireworks
record class. -
Uses of FireworkExplosion in net.minecraft.world.level
Method parameters in net.minecraft.world.level with type arguments of type FireworkExplosionModifier 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
Fields in net.minecraft.world.level.storage.loot.functions declared as FireworkExplosionModifier and TypeFieldDescriptionstatic final FireworkExplosion
SetFireworkExplosionFunction.DEFAULT_VALUE
Fields in net.minecraft.world.level.storage.loot.functions with type parameters of type FireworkExplosionModifier and TypeFieldDescriptionprivate final Optional
<ListOperation.StandAlone<FireworkExplosion>> SetFireworksFunction.explosions
Methods in net.minecraft.world.level.storage.loot.functions that return FireworkExplosionModifier and TypeMethodDescriptionprivate FireworkExplosion
SetFireworkExplosionFunction.apply
(FireworkExplosion p_333781_) Methods in net.minecraft.world.level.storage.loot.functions with parameters of type FireworkExplosionModifier and TypeMethodDescriptionprivate FireworkExplosion
SetFireworkExplosionFunction.apply
(FireworkExplosion p_333781_) Constructor parameters in net.minecraft.world.level.storage.loot.functions with type arguments of type FireworkExplosionModifierConstructorDescriptionSetFireworksFunction
(List<LootItemCondition> p_333807_, Optional<ListOperation.StandAlone<FireworkExplosion>> p_333866_, Optional<Integer> p_341606_)