Advertisement
Guest User

Untitled

a guest
Sep 24th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.33 KB | None | 0 0
  1. Random rand = new Random();
  2.         int x = rand.nextInt(3);
  3.        
  4.         ItemStack itemstack = new ItemStack(SoulDust, 1);
  5.         ItemStack itemstack1 = new ItemStack(SoulDust, 2);
  6.         ItemStack itemstack2 = new ItemStack(SoulDust, 3);
  7.         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