Package com.minecolonies.api.util
Class FireworkUtils
java.lang.Object
com.minecolonies.api.util.FireworkUtils
Utility class for summoning in fireworks.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidspawnFireworksAtAABBCorners(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
-
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 buildingworld- which world to spawn it in fromexplosionLevel- how many fireworks to spawn in each corner
-