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.core.component.predicates
Fields in net.minecraft.core.component.predicates with type parameters of type FireworkExplosion.ShapeModifier and TypeFieldDescriptionprivate final Optional<FireworkExplosion.Shape> FireworkExplosionPredicate.FireworkPredicate.shapeThe field for theshaperecord component.Methods in net.minecraft.core.component.predicates that return types with arguments of type FireworkExplosion.ShapeModifier and TypeMethodDescriptionFireworkExplosionPredicate.FireworkPredicate.shape()Returns the value of theshaperecord component.Constructor parameters in net.minecraft.core.component.predicates with type arguments of type FireworkExplosion.ShapeModifierConstructorDescriptionFireworkPredicate(Optional<FireworkExplosion.Shape> shape, Optional<Boolean> twinkle, Optional<Boolean> trail) Creates an instance of aFireworkPredicaterecord class. -
Uses of FireworkExplosion.Shape in net.minecraft.world.item.component
Subclasses with type arguments of type FireworkExplosion.Shape in net.minecraft.world.item.componentFields in net.minecraft.world.item.component declared as FireworkExplosion.ShapeModifier and TypeFieldDescriptionprivate final FireworkExplosion.ShapeFireworkExplosion.shapeThe field for theshaperecord 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_IDstatic final com.mojang.serialization.Codec<FireworkExplosion.Shape> FireworkExplosion.Shape.CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, FireworkExplosion.Shape> FireworkExplosion.Shape.STREAM_CODECMethods in net.minecraft.world.item.component that return FireworkExplosion.ShapeModifier and TypeMethodDescriptionstatic FireworkExplosion.ShapeFireworkExplosion.Shape.byId(int id) FireworkExplosion.shape()Returns the value of theshaperecord component.static FireworkExplosion.ShapeReturns 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 aFireworkExplosionrecord 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 final Map<FireworkExplosion.Shape, Ingredient> FireworkStarRecipe.shapesMethods in net.minecraft.world.item.crafting that return FireworkExplosion.ShapeConstructor parameters in net.minecraft.world.item.crafting with type arguments of type FireworkExplosion.ShapeModifierConstructorDescriptionFireworkStarRecipe(Map<FireworkExplosion.Shape, Ingredient> shapes, Ingredient trail, Ingredient twinkle, Ingredient fuel, Ingredient dye, ItemStackTemplate result) -
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.shapeConstructor parameters in net.minecraft.world.level.storage.loot.functions with type arguments of type FireworkExplosion.ShapeModifierConstructorDescriptionSetFireworkExplosionFunction(List<LootItemCondition> predicates, Optional<FireworkExplosion.Shape> shape, Optional<it.unimi.dsi.fastutil.ints.IntList> colors, Optional<it.unimi.dsi.fastutil.ints.IntList> fadeColors, Optional<Boolean> hasTrail, Optional<Boolean> hasTwinkle) -
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.factoriesMethods in net.neoforged.neoforge.client with parameters of type FireworkExplosion.ShapeModifier and TypeMethodDescriptionstatic @Nullable FireworkShapeFactoryRegistry.FactoryFireworkShapeFactoryRegistry.get(FireworkExplosion.Shape shape) static voidFireworkShapeFactoryRegistry.register(FireworkExplosion.Shape shape, FireworkShapeFactoryRegistry.Factory factory)