Commit c12b5b2
committed
Add a means for Processing Arrays to access getMachineTierForRecipe
- Change method access from protected to public in AbstractRecipeLogic
- Add getter in WorkableTieredMetaTileEntity (common superclass) to get
this from the workable, so that Processing Arrays can use it in SoG.
- Refactor test that no longer needs reflection1 parent 90c22f3 commit c12b5b2
4 files changed
Lines changed: 10 additions & 13 deletions
File tree
- src
- main/java/gregtech
- api
- capability/impl
- metatileentity
- common/metatileentities/electric
- test/java/gregtech/api/capability/impl
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
442 | 442 | | |
443 | 443 | | |
444 | 444 | | |
445 | | - | |
| 445 | + | |
446 | 446 | | |
447 | 447 | | |
448 | 448 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
139 | 144 | | |
140 | 145 | | |
141 | 146 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
Lines changed: 3 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
| |||
317 | 316 | | |
318 | 317 | | |
319 | 318 | | |
320 | | - | |
321 | | - | |
322 | | - | |
323 | | - | |
| 319 | + | |
324 | 320 | | |
325 | 321 | | |
326 | 322 | | |
| |||
351 | 347 | | |
352 | 348 | | |
353 | 349 | | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | | - | |
358 | 350 | | |
359 | 351 | | |
360 | 352 | | |
361 | | - | |
362 | | - | |
| 353 | + | |
| 354 | + | |
363 | 355 | | |
364 | 356 | | |
365 | 357 | | |
| |||
0 commit comments