File tree Expand file tree Collapse file tree 6 files changed +39
-53
lines changed
java/zzzank/probejs/docs/recipes Expand file tree Collapse file tree 6 files changed +39
-53
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ public class BuiltinRecipeDocs extends ProbeJSPlugin {
24
24
Create ::new ,
25
25
Cucumber ::new ,
26
26
CustomMachinery ::new ,
27
+ DankStorage ::new ,
28
+ ExtendedCrafting ::new ,
27
29
IntegratedDynamics ::new ,
28
30
KubeJS ::new ,
29
31
Minecraft ::new ,
Original file line number Diff line number Diff line change
1
+ package zzzank .probejs .docs .recipes ;
2
+
3
+ import zzzank .probejs .lang .typescript .ScriptDump ;
4
+
5
+ /**
6
+ * @author ZZZank
7
+ */
8
+ class DankStorage extends RecipeDocProvider {
9
+ @ Override
10
+ public void addDocs (ScriptDump scriptDump ) {
11
+ add ("upgrade" , RecipeDocUtil .basicShapedRecipe ());
12
+ }
13
+
14
+ @ Override
15
+ public String namespace () {
16
+ return "dankstorage" ;
17
+ }
18
+ }
Original file line number Diff line number Diff line change
1
+ package zzzank .probejs .docs .recipes ;
2
+
3
+ import zzzank .probejs .lang .typescript .ScriptDump ;
4
+
5
+ /**
6
+ * @author ZZZank
7
+ */
8
+ class ExtendedCrafting extends RecipeDocProvider {
9
+ @ Override
10
+ public void addDocs (ScriptDump scriptDump ) {
11
+ add ("shaped_table" , RecipeDocUtil .basicShapedRecipe ());
12
+ add ("shapeless_table" , RecipeDocUtil .basicShapelessRecipe ());
13
+ }
14
+
15
+ @ Override
16
+ public String namespace () {
17
+ return "extendedcrafting" ;
18
+ }
19
+ }
Original file line number Diff line number Diff line change 1
- /**
2
- * @mod create
3
- * @mod kubejs_create
4
- */
5
- class RecipeHolder extends stub . probejs . RecipeHolder {
6
- /**
7
- * Recipes from Create.
8
- */
9
- readonly create : Document . CreateRecipes ;
10
- }
11
-
12
- ///notes for those who're working on recipe doc:
13
- /// `ItemStackOrFluid[]` or `IngredientOrFluid[]` should not be used anymore
14
- /// because members of used array are fixed, not dynamic
15
- /// use `Types.tuple()`
16
-
17
- /**
18
- * @mod create
19
- * @mod kubejs_create
20
- */
21
- type ItemStackOrFluid = dev . latvian . kubejs . item . ItemStackJS | dev . latvian . kubejs . fluid . FluidStackJS ;
22
- /**
23
- * @mod create
24
- * @mod kubejs_create
25
- */
26
- type IngredientOrFluid = dev . latvian . kubejs . item . ingredient . IngredientJS | dev . latvian . kubejs . fluid . FluidStackJS ;
27
1
28
2
/**
29
3
* @mod create
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments