Uses of Record Class
net.minecraft.world.item.component.FireworkExplosion
Packages that use FireworkExplosion
Package
Description
-
Uses of FireworkExplosion in net.minecraft.advancements.critereon
Fields in net.minecraft.advancements.critereon with type parameters of type FireworkExplosionModifier and TypeFieldDescriptionprivate final Optional
<CollectionPredicate<FireworkExplosion, ItemFireworkExplosionPredicate.FireworkPredicate>> ItemFireworksPredicate.explosions
The field for theexplosions
record component.Methods in net.minecraft.advancements.critereon that return types with arguments of type FireworkExplosionModifier and TypeMethodDescriptionItemFireworkExplosionPredicate.componentType()
ItemFireworksPredicate.explosions()
Returns the value of theexplosions
record component.Methods in net.minecraft.advancements.critereon with parameters of type FireworkExplosionModifier and TypeMethodDescriptionboolean
ItemFireworkExplosionPredicate.matches
(ItemStack stack, FireworkExplosion value) boolean
ItemFireworkExplosionPredicate.FireworkPredicate.test
(FireworkExplosion explosion) Constructor parameters in net.minecraft.advancements.critereon with type arguments of type FireworkExplosionModifierConstructorDescriptionItemFireworksPredicate
(Optional<CollectionPredicate<FireworkExplosion, ItemFireworkExplosionPredicate.FireworkPredicate>> explosions, MinMaxBounds.Ints flightDuration) Creates an instance of aItemFireworksPredicate
record class. -
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 x, double y, double z, double xSpeed, double ySpeed, double zSpeed, List<FireworkExplosion> explosions) -
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 level, double x, double y, double z, double xd, double yd, double zd, ParticleEngine engine, List<FireworkExplosion> explosions) -
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.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 fadeColors) 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.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 x, double y, double z, double xSpeed, double ySpeed, double zSpeed, List<FireworkExplosion> explosions) -
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 fireworkExplosion) Methods in net.minecraft.world.level.storage.loot.functions with parameters of type FireworkExplosionModifier and TypeMethodDescriptionprivate FireworkExplosion
SetFireworkExplosionFunction.apply
(FireworkExplosion fireworkExplosion) Constructor parameters in net.minecraft.world.level.storage.loot.functions with type arguments of type FireworkExplosionModifierConstructorDescriptionSetFireworksFunction
(List<LootItemCondition> conditions, Optional<ListOperation.StandAlone<FireworkExplosion>> explosions, Optional<Integer> flightDuration)