Class ExpandFireworkExplosion

java.lang.Object
com.blamejared.crafttweaker.natives.item.component.ExpandFireworkExplosion

@ZenRegister public class ExpandFireworkExplosion extends Object
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static List<Integer>
    colors(net.minecraft.world.item.component.FireworkExplosion internal)
    Gets the colors of the FireworkExplosion.
    static List<Integer>
    fadeColors(net.minecraft.world.item.component.FireworkExplosion internal)
    Gets the fade colors of the FireworkExplosion.
    static boolean
    hasTrail(net.minecraft.world.item.component.FireworkExplosion internal)
    Gets whether the FireworkExplosion has a trail.
    static boolean
    hasTwinkle(net.minecraft.world.item.component.FireworkExplosion internal)
    Gets whether the FireworkExplosion has twinkle.
    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.
    static net.minecraft.world.item.component.FireworkExplosion.Shape
    shape(net.minecraft.world.item.component.FireworkExplosion internal)
    Gets the shape of the FireworkExplosion.
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      public static List<Integer> colors(net.minecraft.world.item.component.FireworkExplosion internal)
      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.