Class ExpandFireworkExplosion
java.lang.Object
com.blamejared.crafttweaker.natives.item.component.ExpandFireworkExplosion
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncolors(net.minecraft.world.item.component.FireworkExplosion internal) Gets the colors of the FireworkExplosion.fadeColors(net.minecraft.world.item.component.FireworkExplosion internal) Gets the fade colors of the FireworkExplosion.static booleanhasTrail(net.minecraft.world.item.component.FireworkExplosion internal) Gets whether the FireworkExplosion has a trail.static booleanhasTwinkle(net.minecraft.world.item.component.FireworkExplosion internal) Gets whether the FireworkExplosion has twinkle.static net.minecraft.world.item.component.FireworkExplosionof(net.minecraft.world.item.component.FireworkExplosion.Shape shape, List<Integer> colors, List<Integer> fadeColors, boolean hasTrail, boolean hasTwinkle) Creates a new FireworkExplosion with the given shape, colors, fade colors, whether it has a trail, and whether it has twinkle.static net.minecraft.world.item.component.FireworkExplosion.Shapeshape(net.minecraft.world.item.component.FireworkExplosion internal) Gets the shape of the FireworkExplosion.static net.minecraft.world.item.component.FireworkExplosionwithFadeColors(net.minecraft.world.item.component.FireworkExplosion internal, List<Integer> colors) Sets the fade colors of the FireworkExplosion.
-
Constructor Details
-
ExpandFireworkExplosion
public ExpandFireworkExplosion()
-
-
Method Details
-
of
public static net.minecraft.world.item.component.FireworkExplosion of(net.minecraft.world.item.component.FireworkExplosion.Shape shape, List<Integer> colors, List<Integer> fadeColors, boolean hasTrail, boolean hasTwinkle) Creates a new FireworkExplosion with the given shape, colors, fade colors, whether it has a trail, and whether it has twinkle.- Parameters:
shape- The shape of the FireworkExplosion.colors- The colors of the FireworkExplosion.fadeColors- The fade colors of the FireworkExplosion.hasTrail- Whether the FireworkExplosion has a trail.hasTwinkle- Whether the FireworkExplosion has twinkle.- Returns:
- The new FireworkExplosion.
-
fadeColors
public static List<Integer> fadeColors(net.minecraft.world.item.component.FireworkExplosion internal) Gets the fade colors of the FireworkExplosion.- Returns:
- The fade colors of the FireworkExplosion.
-
withFadeColors
public static net.minecraft.world.item.component.FireworkExplosion withFadeColors(net.minecraft.world.item.component.FireworkExplosion internal, List<Integer> colors) Sets the fade colors of the FireworkExplosion.- Parameters:
colors- The fade colors of the FireworkExplosion.- Returns:
- The FireworkExplosion with the new fade colors.
-
hasTrail
public static boolean hasTrail(net.minecraft.world.item.component.FireworkExplosion internal) Gets whether the FireworkExplosion has a trail.- Returns:
- Whether the FireworkExplosion has a trail.
-
colors
Gets the colors of the FireworkExplosion.- Returns:
- The colors of the FireworkExplosion.
-
hasTwinkle
public static boolean hasTwinkle(net.minecraft.world.item.component.FireworkExplosion internal) Gets whether the FireworkExplosion has twinkle.- Returns:
- Whether the FireworkExplosion has twinkle.
-
shape
public static net.minecraft.world.item.component.FireworkExplosion.Shape shape(net.minecraft.world.item.component.FireworkExplosion internal) Gets the shape of the FireworkExplosion.- Returns:
- The shape of the FireworkExplosion.
-