Class FireworkUtils

java.lang.Object
com.minecolonies.api.util.FireworkUtils

public final class FireworkUtils extends Object
Utility class for summoning in fireworks.
  • Method Details

    • spawnFireworksAtAABBCorners

      public static void spawnFireworksAtAABBCorners(net.minecraft.util.Tuple<net.minecraft.core.BlockPos,net.minecraft.core.BlockPos> realaabb, net.minecraft.world.level.Level world, int explosionLevel)
      Spawns in a given number of fireworks at the corners of a given AABB in a given world
      Parameters:
      realaabb - AABB of the building
      world - which world to spawn it in from
      explosionLevel - how many fireworks to spawn in each corner