@@ -0,0 +1,812 @@
+package boq.utils.misc;%0A%0Aimport java.util.Random;%0A%0Aimport net.minecraft.entity.item.EntityItem;%0Aimport net.minecraft.item.ItemStack;%0Aimport net.minecraft.util.Vec3;%0Aimport net.minecraft.world.World;%0A%0Apublic class Utils %7B%0A    public static final Random RANDOM = new Random();%0A%0A    public static void dropItem(World world, Vec3 vec, ItemStack is) %7B%0A        dropItem(world, vec.xCoord, vec.yCoord, vec.zCoord, is);%0A    %7D%0A%0A    public static void dropItem(World world, double x, double y, double z, ItemStack is) %7B%0A        EntityItem item = new EntityItem(world, x, y, z, is.copy());%0A        double f3 = 0.05;%0A        item.motionX = RANDOM.nextGaussian() * f3;%0A        item.motionY = RANDOM.nextGaussian() * f3 + 0.2;%0A        item.motionZ = RANDOM.nextGaussian() * f3;%0A        world.spawnEntityInWorld(item);%0A    %7D%0A%7D%0A

Drop item utility