Uses of Enum Class
net.minecraft.world.item.component.FireworkExplosion.Shape
Package
Description
-
Uses of FireworkExplosion.Shape in net.minecraft.advancements.critereon
Modifier and TypeFieldDescriptionprivate final Optional
<FireworkExplosion.Shape> ItemFireworkExplosionPredicate.FireworkPredicate.shape
The field for theshape
record component.Modifier and TypeMethodDescriptionItemFireworkExplosionPredicate.FireworkPredicate.shape()
Returns the value of theshape
record component.ModifierConstructorDescriptionFireworkPredicate
(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
Modifier and TypeFieldDescriptionprivate final FireworkExplosion.Shape
FireworkExplosion.shape
The field for theshape
record component.Modifier 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
Modifier 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.ModifierConstructorDescriptionFireworkExplosion
(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
Modifier and TypeFieldDescriptionprivate static final Map
<Item, FireworkExplosion.Shape> FireworkStarRecipe.SHAPE_BY_ITEM
-
Uses of FireworkExplosion.Shape in net.minecraft.world.level.storage.loot.functions
Modifier and TypeFieldDescription(package private) final Optional
<FireworkExplosion.Shape> SetFireworkExplosionFunction.shape
ModifierConstructorDescriptionSetFireworkExplosionFunction
(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
Modifier and TypeFieldDescriptionprivate static final Map
<FireworkExplosion.Shape, FireworkShapeFactoryRegistry.Factory> FireworkShapeFactoryRegistry.factories
Modifier and TypeMethodDescriptionstatic @Nullable FireworkShapeFactoryRegistry.Factory
FireworkShapeFactoryRegistry.get
(FireworkExplosion.Shape shape) static void
FireworkShapeFactoryRegistry.register
(FireworkExplosion.Shape shape, FireworkShapeFactoryRegistry.Factory factory)