Skip to content

Commit 50ccb0f

Browse files
IgneaalisСтепан Королев
andauthored
[docs] Move recipeModifier GTRecipeTypeBuilder to MultiblockMachineBuilder (#3895)
Co-authored-by: Степан Королев <s.korolev@orbis3.com>
1 parent f972d85 commit 50ccb0f

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

docs/content/Modpacks/Other-Topics/Custom-Machines.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ GTCEuStartupEvents.registry('gtceu:machine', event => {
6565
.rotationState(RotationState.NON_Y_AXIS)
6666
.appearanceBlock(GTBlocks.CASING_STEEL_SOLID)
6767
.recipeTypes(['test_recipe_type_1', 'test_recipe_type_2'])
68+
.recipeModifiers([GTRecipeModifiers.PARALLEL_HATCH, ELECTRIC_OVERCLOCK.apply(PERFECT_OVERCLOCK)]) // (2)
6869
.pattern(definition => FactoryBlockPattern.start()
6970
.aisle('CCC', 'GGG', 'CCC')
7071
.aisle('CCC', 'GDG', 'CSC')
@@ -86,7 +87,7 @@ GTCEuStartupEvents.registry('gtceu:machine', event => {
8687

8788

8889
1. You can add tooltips to your multiblock controllers that show up when you mouseover them. Each separate call of ```.tooltips()``` will add a separate line to the controller's tooltip. ```Component.translatable()``` reads entries from .json lang files placed in ```kubejs/assets/gtceu/lang``` or supplied via a standalone resource pack. The ```Component``` class is autoloaded by KubeJS at compile time; it doesn't need to be manually loaded.
89-
90+
2. If electric and/or multiblock machines can process your custom recipe type, ```.recipeModifiers()``` will allow you to fine-tune the behaviour of these machine when running recipes of your custom recipe type. ```GTRecipeModifiers.PARALLEL_HATCH``` will enable Multiblock Machines to parallelize recipes of your custom type via an optional Parallel Hatch, while ```ELECTRIC_OVERCLOCK.apply(PERFECT_OVERCLOCK)```will define how your recipes overclock in electric machines and multiblocks.
9091

9192
### Shape Info
9293

docs/content/Modpacks/Other-Topics/Custom-Recipe-Types.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,16 @@ title: Custom Recipe Type
1111
GTCEuStartupEvents.registry('gtceu:recipe_type', event => {
1212
event.create('test_recipe_type')
1313
.category('test')
14-
.recipeModifiers([GTRecipeModifiers.PARALLEL_HATCH, GTRecipeModifiers.ELECTRIC_OVERCLOCK.apply(OverclockingLogic.PERFECT_OVERCLOCK)]) // (1)
1514
.setEUIO('in')
16-
.setMaxIOSize(3, 3, 3, 3) // (2)
15+
.setMaxIOSize(3, 3, 3, 3) // (1)
1716
.setSlotOverlay(false, false, GuiTextures.SOLIDIFIER_OVERLAY)
18-
.setProgressBar(GuiTextures.PROGRESS_BAR_ARROW, FillDirection.LEFT_TO_RIGHT) // (3)
17+
.setProgressBar(GuiTextures.PROGRESS_BAR_ARROW, FillDirection.LEFT_TO_RIGHT) // (2)
1918
.setSound(GTSoundEntries.COOLING)
2019
})
2120
```
2221

23-
1. If electric and/or multiblock machines can process your custom recipe type, ```.recipeModifiers()``` will allow you to fine-tune the behaviour of these machine when running recipes of your custom recipe type. ```GTRecipeModifiers.PARALLEL_HATCH``` will enable Multiblock Machines to parallelize recipes of your custom type via an optional Parallel Hatch, while ```GTRecipeModifiers.ELECTRIC_OVERCLOCK```will define how your recipes overclock in electric machines and multiblocks.
24-
2. Max Item Inputs, Max Item Outputs, Max Fluid Inputs, Max Fluid Outputs
25-
3. A list of available ```GuiTextures``` and ```FillDirection```s can be found in the GTCEu Modern Github, or in the .jar file.
22+
1. Max Item Inputs, Max Item Outputs, Max Fluid Inputs, Max Fluid Outputs
23+
2. A list of available ```GuiTextures``` and ```FillDirection```s can be found in the GTCEu Modern Github, or in the .jar file.
2624

2725

2826
```js title="test_kinetic_recipe_type.js"

0 commit comments

Comments
 (0)