Uses of Enum Class
net.minecraft.world.item.component.FireworkExplosion.Shape
Packages that use FireworkExplosion.Shape
Package
Description
-
Uses of FireworkExplosion.Shape in net.minecraft.advancements.critereon
Fields in net.minecraft.advancements.critereon with type parameters of type FireworkExplosion.ShapeModifier and TypeFieldDescriptionprivate final Optional
<FireworkExplosion.Shape> ItemFireworkExplosionPredicate.FireworkPredicate.shape
The field for theshape
record component.Methods in net.minecraft.advancements.critereon that return types with arguments of type FireworkExplosion.ShapeModifier and TypeMethodDescriptionItemFireworkExplosionPredicate.FireworkPredicate.shape()
Returns the value of theshape
record component.Constructor parameters in net.minecraft.advancements.critereon with type arguments of type FireworkExplosion.ShapeModifierConstructorDescriptionFireworkPredicate
(Optional<FireworkExplosion.Shape> shape, Optional<Boolean> twinkle, Optional<Boolean> trail) Creates an instance of aFireworkPredicate
record class. -
Uses of FireworkExplosion.Shape in net.minecraft.world.item.component
Fields in net.minecraft.world.item.component declared as FireworkExplosion.ShapeModifier and TypeFieldDescriptionprivate final FireworkExplosion.Shape
FireworkExplosion.shape
The field for theshape
record component.Fields in net.minecraft.world.item.component with type parameters of type FireworkExplosion.ShapeModifier and TypeFieldDescriptionprivate static final IntFunction
<FireworkExplosion.Shape> FireworkExplosion.Shape.BY_ID
static final com.mojang.serialization.Codec
<FireworkExplosion.Shape> FireworkExplosion.Shape.CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, FireworkExplosion.Shape> FireworkExplosion.Shape.STREAM_CODEC
Methods in net.minecraft.world.item.component that return FireworkExplosion.ShapeModifier and TypeMethodDescriptionstatic FireworkExplosion.Shape
FireworkExplosion.Shape.byId
(int p_330838_) FireworkExplosion.shape()
Returns the value of theshape
record component.static FireworkExplosion.Shape
Returns the enum constant of this class with the specified name.static FireworkExplosion.Shape[]
FireworkExplosion.Shape.values()
Returns an array containing the constants of this enum class, in the order they are declared.Constructors in net.minecraft.world.item.component with parameters of type FireworkExplosion.ShapeModifierConstructorDescriptionFireworkExplosion
(FireworkExplosion.Shape shape, it.unimi.dsi.fastutil.ints.IntList colors, it.unimi.dsi.fastutil.ints.IntList fadeColors, boolean hasTrail, boolean hasTwinkle) Creates an instance of aFireworkExplosion
record class. -
Uses of FireworkExplosion.Shape in net.minecraft.world.item.crafting
Fields in net.minecraft.world.item.crafting with type parameters of type FireworkExplosion.ShapeModifier and TypeFieldDescriptionprivate static final Map
<Item, FireworkExplosion.Shape> FireworkStarRecipe.SHAPE_BY_ITEM
-
Uses of FireworkExplosion.Shape in net.minecraft.world.level.storage.loot.functions
Fields in net.minecraft.world.level.storage.loot.functions with type parameters of type FireworkExplosion.ShapeModifier and TypeFieldDescription(package private) final Optional
<FireworkExplosion.Shape> SetFireworkExplosionFunction.shape
Constructor parameters in net.minecraft.world.level.storage.loot.functions with type arguments of type FireworkExplosion.ShapeModifierConstructorDescriptionSetFireworkExplosionFunction
(List<LootItemCondition> p_333763_, Optional<FireworkExplosion.Shape> p_333814_, Optional<it.unimi.dsi.fastutil.ints.IntList> p_333974_, Optional<it.unimi.dsi.fastutil.ints.IntList> p_333764_, Optional<Boolean> p_333876_, Optional<Boolean> p_334022_) -
Uses of FireworkExplosion.Shape in net.neoforged.neoforge.client
Fields in net.neoforged.neoforge.client with type parameters of type FireworkExplosion.ShapeModifier and TypeFieldDescriptionprivate static final Map
<FireworkExplosion.Shape, FireworkShapeFactoryRegistry.Factory> FireworkShapeFactoryRegistry.factories
Methods in net.neoforged.neoforge.client with parameters of type FireworkExplosion.ShapeModifier and TypeMethodDescriptionstatic @Nullable FireworkShapeFactoryRegistry.Factory
FireworkShapeFactoryRegistry.get
(FireworkExplosion.Shape shape) static void
FireworkShapeFactoryRegistry.register
(FireworkExplosion.Shape shape, FireworkShapeFactoryRegistry.Factory factory)