Snippet: dontask

Written in Ruby and posted on Nov 27, 2011 at 23:10 by apoc
   1  ::RECIPES = {
   2  'paper' => {
   3    :amount => 3,
   4    :ingredients => {
   5      'reed' => 3,
   6    }
   7  },
   8  
   9  'book' => {
  10    :amount => 1,
  11    :ingredients => {
  12      'paper' => 3,
  13    }
  14  },
  15  
  16  'fence' => {
  17    :amount => 2,
  18    :ingredients => {
  19      'stick' => 6,
  20    }
  21  },
  22  
  23  'netherFence' => {
  24    :amount => 6,
  25    :ingredients => {
  26      'netherBrick' => 6,
  27    }
  28  },
  29  
  30  'fenceGate' => {
  31    :amount => 1,
  32    :ingredients => {
  33      'planks' => 2,
  34      'stick' => 4,
  35    }
  36  },
  37  
  38  'jukebox' => {
  39    :amount => 1,
  40    :ingredients => {
  41      'diamond' => 1,
  42      'planks' => 8,
  43    }
  44  },
  45  
  46  'music' => {
  47    :amount => 1,
  48    :ingredients => {
  49      'redstone' => 1,
  50      'planks' => 8,
  51    }
  52  },
  53  
  54  'bookShelf' => {
  55    :amount => 1,
  56    :ingredients => {
  57      'book' => 3,
  58      'planks' => 6,
  59    }
  60  },
  61  
  62  'blockSnow' => {
  63    :amount => 1,
  64    :ingredients => {
  65      'snowball' => 4,
  66    }
  67  },
  68  
  69  'blockClay' => {
  70    :amount => 1,
  71    :ingredients => {
  72      'clay' => 4,
  73    }
  74  },
  75  
  76  'brick' => {
  77    :amount => 1,
  78    :ingredients => {
  79      'brick' => 4,
  80    }
  81  },
  82  
  83  'glowStone' => {
  84    :amount => 1,
  85    :ingredients => {
  86      'lightStoneDust' => 4,
  87    }
  88  },
  89  
  90  'cloth' => {
  91    :amount => 1,
  92    :ingredients => {
  93      'silk' => 4,
  94    }
  95  },
  96  
  97  'tnt' => {
  98    :amount => 1,
  99    :ingredients => {
 100      'gunpowder' => 5,
 101      'sand' => 4,
 102    }
 103  },
 104  
 105  'stairSingle' => {
 106    :amount => 3,
 107    :ingredients => {
 108      'cobblestone' => 3,
 109    }
 110  },
 111  
 112  'stairSingle' => {
 113    :amount => 3,
 114    :ingredients => {
 115      'stone' => 3,
 116    }
 117  },
 118  
 119  'stairSingle' => {
 120    :amount => 3,
 121    :ingredients => {
 122      'sandStone' => 3,
 123    }
 124  },
 125  
 126  'stairSingle' => {
 127    :amount => 3,
 128    :ingredients => {
 129      'planks' => 3,
 130    }
 131  },
 132  
 133  'stairSingle' => {
 134    :amount => 3,
 135    :ingredients => {
 136      'brick' => 3,
 137    }
 138  },
 139  
 140  'stairSingle' => {
 141    :amount => 3,
 142    :ingredients => {
 143      'stoneBrick' => 3,
 144    }
 145  },
 146  
 147  'ladder' => {
 148    :amount => 2,
 149    :ingredients => {
 150      'stick' => 7,
 151    }
 152  },
 153  
 154  'doorWood' => {
 155    :amount => 1,
 156    :ingredients => {
 157      'planks' => 6,
 158    }
 159  },
 160  
 161  'trapdoor' => {
 162    :amount => 2,
 163    :ingredients => {
 164      'planks' => 6,
 165    }
 166  },
 167  
 168  'doorSteel' => {
 169    :amount => 1,
 170    :ingredients => {
 171      'ingotIron' => 6,
 172    }
 173  },
 174  
 175  'sign' => {
 176    :amount => 1,
 177    :ingredients => {
 178      'planks' => 6,
 179      'stick' => 1,
 180    }
 181  },
 182  
 183  'cake' => {
 184    :amount => 1,
 185    :ingredients => {
 186      'egg' => 1,
 187      'sugar' => 2,
 188      'wheat' => 3,
 189      'bucketMilk' => 3,
 190    }
 191  },
 192  
 193  'sugar' => {
 194    :amount => 1,
 195    :ingredients => {
 196      'reed' => 1,
 197    }
 198  },
 199  
 200  'planks' => {
 201    :amount => 4,
 202    :ingredients => {
 203      'wood' => 1,
 204    }
 205  },
 206  
 207  'stick' => {
 208    :amount => 4,
 209    :ingredients => {
 210      'planks' => 2,
 211    }
 212  },
 213  
 214  'torchWood' => {
 215    :amount => 4,
 216    :ingredients => {
 217      'coal' => 1,
 218      'stick' => 1,
 219    }
 220  },
 221  
 222  'torchWood' => {
 223    :amount => 4,
 224    :ingredients => {
 225      'stick' => 1,
 226    }
 227  },
 228  
 229  'bowlEmpty' => {
 230    :amount => 4,
 231    :ingredients => {
 232      'planks' => 3,
 233    }
 234  },
 235  
 236  'glassBottle' => {
 237    :amount => 3,
 238    :ingredients => {
 239      'glass' => 3,
 240    }
 241  },
 242  
 243  'rail' => {
 244    :amount => 16,
 245    :ingredients => {
 246      'ingotIron' => 6,
 247      'stick' => 1,
 248    }
 249  },
 250  
 251  'railPowered' => {
 252    :amount => 6,
 253    :ingredients => {
 254      'ingotGold' => 6,
 255      'redstone' => 1,
 256      'stick' => 1,
 257    }
 258  },
 259  
 260  'railDetector' => {
 261    :amount => 6,
 262    :ingredients => {
 263      'pressurePlateStone' => 1,
 264      'redstone' => 1,
 265      'ingotIron' => 6,
 266    }
 267  },
 268  
 269  'minecartEmpty' => {
 270    :amount => 1,
 271    :ingredients => {
 272      'ingotIron' => 5,
 273    }
 274  },
 275  
 276  'cauldron' => {
 277    :amount => 1,
 278    :ingredients => {
 279      'ingotIron' => 7,
 280    }
 281  },
 282  
 283  'brewingStand' => {
 284    :amount => 1,
 285    :ingredients => {
 286      'blazeRod' => 1,
 287      'cobblestone' => 3,
 288    }
 289  },
 290  
 291  'pumpkinLantern' => {
 292    :amount => 1,
 293    :ingredients => {
 294      'pumpkin' => 1,
 295      'torchWood' => 1,
 296    }
 297  },
 298  
 299  'minecartCrate' => {
 300    :amount => 1,
 301    :ingredients => {
 302      'minecartEmpty' => 1,
 303      'chest' => 1,
 304    }
 305  },
 306  
 307  'minecartPowered' => {
 308    :amount => 1,
 309    :ingredients => {
 310      'minecartEmpty' => 1,
 311      'stoneOvenIdle' => 1,
 312    }
 313  },
 314  
 315  'boat' => {
 316    :amount => 1,
 317    :ingredients => {
 318      'planks' => 5,
 319    }
 320  },
 321  
 322  'bucketEmpty' => {
 323    :amount => 1,
 324    :ingredients => {
 325      'ingotIron' => 3,
 326    }
 327  },
 328  
 329  'flintAndSteel' => {
 330    :amount => 1,
 331    :ingredients => {
 332      'ingotIron' => 1,
 333      'flint' => 1,
 334    }
 335  },
 336  
 337  'bread' => {
 338    :amount => 1,
 339    :ingredients => {
 340      'wheat' => 3,
 341    }
 342  },
 343  
 344  'stairCompactPlanks' => {
 345    :amount => 4,
 346    :ingredients => {
 347      'planks' => 6,
 348    }
 349  },
 350  
 351  'fishingRod' => {
 352    :amount => 1,
 353    :ingredients => {
 354      'silk' => 2,
 355      'stick' => 3,
 356    }
 357  },
 358  
 359  'stairCompactCobblestone' => {
 360    :amount => 4,
 361    :ingredients => {
 362      'cobblestone' => 6,
 363    }
 364  },
 365  
 366  'stairsBrick' => {
 367    :amount => 4,
 368    :ingredients => {
 369      'brick' => 6,
 370    }
 371  },
 372  
 373  'stairsStoneBrickSmooth' => {
 374    :amount => 4,
 375    :ingredients => {
 376      'stoneBrick' => 6,
 377    }
 378  },
 379  
 380  'stairsNetherBrick' => {
 381    :amount => 4,
 382    :ingredients => {
 383      'netherBrick' => 6,
 384    }
 385  },
 386  
 387  'painting' => {
 388    :amount => 1,
 389    :ingredients => {
 390      'cloth' => 1,
 391      'stick' => 8,
 392    }
 393  },
 394  
 395  'appleGold' => {
 396    :amount => 1,
 397    :ingredients => {
 398      'appleRed' => 1,
 399      'blockGold' => 8,
 400    }
 401  },
 402  
 403  'lever' => {
 404    :amount => 1,
 405    :ingredients => {
 406      'cobblestone' => 1,
 407      'stick' => 1,
 408    }
 409  },
 410  
 411  'torchRedstoneActive' => {
 412    :amount => 1,
 413    :ingredients => {
 414      'redstone' => 1,
 415      'stick' => 1,
 416    }
 417  },
 418  
 419  'redstoneRepeater' => {
 420    :amount => 1,
 421    :ingredients => {
 422      'stone' => 3,
 423      'redstone' => 1,
 424      'torchRedstoneActive' => 2,
 425    }
 426  },
 427  
 428  'pocketSundial' => {
 429    :amount => 1,
 430    :ingredients => {
 431      'ingotGold' => 4,
 432      'redstone' => 1,
 433    }
 434  },
 435  
 436  'compass' => {
 437    :amount => 1,
 438    :ingredients => {
 439      'redstone' => 1,
 440      'ingotIron' => 4,
 441    }
 442  },
 443  
 444  'map' => {
 445    :amount => 1,
 446    :ingredients => {
 447      'paper' => 8,
 448      'compass' => 1,
 449    }
 450  },
 451  
 452  'button' => {
 453    :amount => 1,
 454    :ingredients => {
 455      'stone' => 2,
 456    }
 457  },
 458  
 459  'pressurePlateStone' => {
 460    :amount => 1,
 461    :ingredients => {
 462      'stone' => 2,
 463    }
 464  },
 465  
 466  'pressurePlatePlanks' => {
 467    :amount => 1,
 468    :ingredients => {
 469      'planks' => 2,
 470    }
 471  },
 472  
 473  'dispenser' => {
 474    :amount => 1,
 475    :ingredients => {
 476      'redstone' => 1,
 477      'bow' => 1,
 478      'cobblestone' => 7,
 479    }
 480  },
 481  
 482  'pistonBase' => {
 483    :amount => 1,
 484    :ingredients => {
 485      'redstone' => 1,
 486      'ingotIron' => 1,
 487      'cobblestone' => 4,
 488      'planks' => 3,
 489    }
 490  },
 491  
 492  'pistonStickyBase' => {
 493    :amount => 1,
 494    :ingredients => {
 495      'pistonBase' => 1,
 496      'slimeBall' => 1,
 497    }
 498  },
 499  
 500  'bed' => {
 501    :amount => 1,
 502    :ingredients => {
 503      'cloth' => 3,
 504      'planks' => 3,
 505    }
 506  },
 507  
 508  'enchantmentTable' => {
 509    :amount => 1,
 510    :ingredients => {
 511      'book' => 1,
 512      'obsidian' => 4,
 513      'diamond' => 2,
 514    }
 515  },
 516  
 517  }