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 pX, double pY, double pZ, double pXSpeed, double pYSpeed, double pZSpeed, List<FireworkExplosion> pExplosions) -
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 pLevel, double pX, double pY, double pZ, double pXd, double pYd, double pZd, ParticleEngine pEngine, List<FireworkExplosion> pExplosions) -
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> pTooltipAdder, FireworkExplosion pExplosion, int pCount) 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 pX, double pY, double pZ, double pXSpeed, double pYSpeed, double pZSpeed, List<FireworkExplosion> pExplosions) -
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_)