SHARE
TWEET

Untitled

a guest Aug 24th, 2019 137 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. val chestArray = [<minecraft:chest>, <quark:custom_chest>, <quark:custom_chest:1>, <quark:custom_chest:2>, <quark:custom_chest:3>, <quark:custom_chest:4>] as IItemStack[];
  2. val woodArray = [<minecraft:planks>, <minecraft:planks:1>, <minecraft:planks:2>, <minecraft:planks:3>, <minecraft:planks:4>, <minecraft:planks:5>] as IItemStack[];
  3. val nameArray= ["worktable_oak_chest", "worktable_spruce_chest", "worktable_birch_chest", "worktable_jungle_chest", "worktable_acacia_chest", "worktable_darkOak_chest"] as string[];
  4. for chest in chestArray {
  5.     recipes.remove(chest);
  6. }
  7.  
  8. for i, chest in chestArray {
  9.     Worktable.addShaped(NameArray[i], chest, [
  10.     [WoodArray[i], WoodArray[i], WoodArray[i]],
  11.     [WoodArray[i], <minecraft:iron_ingot>, WoodArray[i]],
  12.     [WoodArray[i], WoodArray[i], WoodArray[i]]]);
  13. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top