Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Random rand = new Random();
- int x = rand.nextInt(3);
- ItemStack itemstack = new ItemStack(SoulDust, 1);
- ItemStack itemstack1 = new ItemStack(SoulDust, 2);
- ItemStack itemstack2 = new ItemStack(SoulDust, 3);
- ModLoader.AddSmelting(Block.slowSand.blockID, x == 0 ? itemstack : x == 1 ? itemstack1 : x == 2 ? itemstack2 : null);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement