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 pStack, FireworkExplosion pValue) boolean
ItemFireworkExplosionPredicate.FireworkPredicate.test
(FireworkExplosion pExplosion) 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 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.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 pFadeColors) 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 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_)