(final OreDictMaterial aMat, boolean aIsCobbleTarget, final ItemStack aBlock, final ItemStack aStair, final ItemStack aSlabs, final ItemStack aWalls, final ItemStack aPillar)
| 310 | } |
| 311 | |
| 312 | public static ItemStack stoneshapes(final OreDictMaterial aMat, boolean aIsCobbleTarget, final ItemStack aBlock, final ItemStack aStair, final ItemStack aSlabs, final ItemStack aWalls, final ItemStack aPillar) { |
| 313 | |
| 314 | if (ST.valid(aBlock)) { |
| 315 | if (aMat != null) { |
| 316 | RM.Shredder.addRecipe1(T, 16, 16, aBlock, OP.blockDust.mat(aMat, 1)); |
| 317 | |
| 318 | if (aIsCobbleTarget) { |
| 319 | RM.pack(OP.rockGt.mat(aMat, 4), aBlock); |
| 320 | CR.shaped(aBlock, CR.DEF_NCC, "BB", "BB", 'B', OP.rockGt.dat(aMat)); |
| 321 | } |
| 322 | } |
| 323 | if (ST.valid(aStair)) { |
| 324 | CR.shaped(ST.amount(4, aStair), CR.DEF_NCC_MIR, "sB", "BB", 'B', aBlock); |
| 325 | } |
| 326 | if (ST.valid(aSlabs)) { |
| 327 | CR.shaped(ST.amount(2, aSlabs), CR.DEF_NCC, "sB", 'B', aBlock); |
| 328 | RM.sawing(16, 72, F, 3, aBlock, ST.amount(2, aSlabs)); |
| 329 | } |
| 330 | if (ST.valid(aWalls)) { |
| 331 | CR.shaped(ST.amount(4, aWalls), CR.DEF_NCC, " B ", "BBB", 'B', aBlock); |
| 332 | } |
| 333 | if (ST.valid(aPillar)) { |
| 334 | CR.shaped(ST.amount(2, aPillar), CR.DEF_NCC, " B", " B", 'B', aBlock); |
| 335 | } |
| 336 | } |
| 337 | |
| 338 | if (ST.valid(aStair)) { |
| 339 | CR.remout(aStair); |
| 340 | |
| 341 | if (aMat != null) { |
| 342 | RM.Shredder.addRecipe1(T, 16, 16, aStair, OP.dustSmall.mat(aMat, 27)); |
| 343 | |
| 344 | if (aIsCobbleTarget) { |
| 345 | RM.pack(OP.rockGt.mat(aMat, 3), aStair); |
| 346 | CR.shaped(aStair, CR.DEF_NCC_MIR, " B", "BB", 'B', OP.rockGt.dat(aMat)); |
| 347 | } |
| 348 | } |
| 349 | if (ST.valid(aSlabs)) { |
| 350 | CR.shaped(aSlabs, CR.DEF_NCC, "sB", 'B', aStair); |
| 351 | RM.sawing(16, 72, F, 3, aStair, aSlabs, aMat == null ? NI : OP.dustSmall.mat(aMat, 9)); |
| 352 | } |
| 353 | } |
| 354 | |
| 355 | if (ST.valid(aSlabs)) { |
| 356 | CR.remout(aSlabs); |
| 357 | |
| 358 | if (aMat != null) { |
| 359 | RM.Shredder.addRecipe1(T, 16, 16, aSlabs, OP.dustSmall.mat(aMat, 18)); |
| 360 | |
| 361 | if (aIsCobbleTarget) { |
| 362 | RM.pack(OP.rockGt.mat(aMat, 2), aSlabs); |
| 363 | CR.shaped(aSlabs, CR.DEF_NCC, "BB", 'B', OP.rockGt.dat(aMat)); |
| 364 | } |
| 365 | } |
| 366 | if (ST.valid(aStair)) { |
| 367 | CR.shaped(ST.amount(2, aStair), CR.DEF_NCC_MIR, "sB", "BB", 'B', aSlabs); |
| 368 | } |
| 369 | } |
no test coverage detected