Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding GalaxySpace documentation #584

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
20 changes: 20 additions & 0 deletions docs/1.12/content/Mods/GalaxySpace/Assembly_Machine
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Assembly Machine

## Package
`mods.galaxyspace`

## Addition

```zenscript
//mods.galaxyspace.addAssemblyRecipe(IItemStack Output, IItemStack Input...);

mods.galaxyspace.addAssemblyRecipe(<minecraft:iron_block>, <minecraft:iron:ingot>, <minecraft:iron:ingot>, <minecraft:iron:ingot>,<minecraft:iron:ingot>, <minecraft:iron:ingot>, <minecraft:iron:ingot>, <minecraft:iron:ingot>, <minecraft:iron:ingot>, <minecraft:iron:ingot>);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have the wrong item name for these

Suggested change
mods.galaxyspace.addAssemblyRecipe(<minecraft:iron_block>, <minecraft:iron:ingot>, <minecraft:iron:ingot>, <minecraft:iron:ingot>,<minecraft:iron:ingot>, <minecraft:iron:ingot>, <minecraft:iron:ingot>, <minecraft:iron:ingot>, <minecraft:iron:ingot>, <minecraft:iron:ingot>);
mods.galaxyspace.addAssemblyRecipe(<minecraft:iron_block>, <minecraft:iron_ingot>, <minecraft:iron_ingot>, <minecraft:iron_ingot>, <minecraft:iron_ingot>, <minecraft:iron_ingot>, <minecraft:iron_ingot>, <minecraft:iron_ingot>, <minecraft:iron_ingot>, <minecraft:iron_ingot>);

```

## Removal

```zenscript
//mods.galaxyspace.removeAssemblyRecipe(IItemStack Output);

mods.galaxyspace.removeAssemblyRecipe(<galaxyspace:gs_basic:35>);
```
20 changes: 20 additions & 0 deletions docs/1.12/content/Mods/GalaxySpace/Fuel_Generator
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Fuel Generator

## Package
`mods.galaxyspace`

## Addition

```zenscript
//mods.galaxyspace.addFuelGeneratorRecipe(ILiquidStack input, int burn_time, float energy);

mods.galaxyspace.addFuelGeneratorRecipe(<liquid:lava>, 100, 10000);
```

## Removal

```zenscript
//mods.galaxyspace.removeFuelGeneratorRecipe(ILiquidStack input);

mods.galaxyspace.removeFuelGeneratorRecipe(<liquid:fuel>);
```
20 changes: 20 additions & 0 deletions docs/1.12/content/Mods/GalaxySpace/Gas_Generator
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Gas Generator

## Package
`mods.galaxyspace`

## Addition

```zenscript
//mods.galaxyspace.addGasGeneratorRecipe(ILiquidStack input, int burn_time, float energy, int drain_amount);

mods.galaxyspace.addGasGeneratorRecipe(<liquid:oxygen>, 10, 20, 1);
```

## Removal

```zenscript
//mods.galaxyspace.removeGasGeneratorRecipe(ILiquidStack input);

mods.galaxyspace.removeGasGeneratorRecipe(<liquid:hydrogen>);
```
20 changes: 20 additions & 0 deletions docs/1.12/content/Mods/GalaxySpace/Hydroponic_Farm
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Hydroponic Farm

## Package
`mods.galaxyspace`

## Addition

```zenscript
//mods.galaxyspace.addHydroponicFarmRecipe(IItemStack seed input, IItemStack output, IItemStack secondary product, int secondary changes, int stages, IBlock block, boolean product random, boolean secondary product random);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think there should be spaces for these parameter names

Suggested change
//mods.galaxyspace.addHydroponicFarmRecipe(IItemStack seed input, IItemStack output, IItemStack secondary product, int secondary changes, int stages, IBlock block, boolean product random, boolean secondary product random);
//mods.galaxyspace.addHydroponicFarmRecipe(IItemStack seed_input, IItemStack output, IItemStack secondary_product, int secondary_changes, int stages, IBlock block, boolean product_random, boolean secondary_product_random);


mods.galaxyspace.addHydroponicFarmRecipe(<minecraft:brown_mushroom>, <minecraft:brown_mushroom>, <minecraft:brown_mushroom>, 100, 100, <minecraft:brown_mushroom>, true, true);
```

## Removal

```zenscript
//mods.galaxyspace.removeHydroponicFarmRecipe(IItemStack seed input);

mods.galaxyspace.removeHydroponicFarmRecipe(<minecraft:wheat_seeds>);
```
12 changes: 12 additions & 0 deletions docs/1.12/content/Mods/GalaxySpace/Liquid_Collector
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Liquid Collector

## Package
`mods.galaxyspace`

## Addition

```zenscript
//mods.galaxyspace.addLiquidExtractorRecipe(IBlock, ILiquidStack output);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the name of the IBlock parameter?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure actually, all I know is that it's the block that needs to be below the machine for this "recipe" to work.


mods.galaxyspace.addLiquidExtractorRecipe(<minecraft:magma>, <liquid:lava>);
```
20 changes: 20 additions & 0 deletions docs/1.12/content/Mods/GalaxySpace/Rocket_Assembly_Machine
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Rocket Assembly Machine

## Package
`mods.galaxyspace`

## Addition

```zenscript
//mods.galaxyspace.addRocketAssemblyRecipe(IItemStack output, IItemStack... inputs);

mods.galaxyspace.addRocketAssemblyRecipe(<minecraft:iron_block>, <minecraft:iron:ingot>, <minecraft:iron:ingot>, <minecraft:iron:ingot>,<minecraft:iron:ingot>, <minecraft:iron:ingot>, <minecraft:iron:ingot>, <minecraft:iron:ingot>, <minecraft:iron:ingot>, <minecraft:iron:ingot>);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
mods.galaxyspace.addRocketAssemblyRecipe(<minecraft:iron_block>, <minecraft:iron:ingot>, <minecraft:iron:ingot>, <minecraft:iron:ingot>,<minecraft:iron:ingot>, <minecraft:iron:ingot>, <minecraft:iron:ingot>, <minecraft:iron:ingot>, <minecraft:iron:ingot>, <minecraft:iron:ingot>);
mods.galaxyspace.addRocketAssemblyRecipe(<minecraft:iron_block>, <minecraft:iron_ingot>, <minecraft:iron_ingot>, <minecraft:iron_ingot>, <minecraft:iron_ingot>, <minecraft:iron_ingot>, <minecraft:iron_ingot>, <minecraft:iron_ingot>, <minecraft:iron_ingot>, <minecraft:iron_ingot>);

```

## Removal

```zenscript
//mods.galaxyspace.removeRocketAssemblyRecipe(IItemStack output);

mods.galaxyspace.removeRocketAssemblyRecipe(<galacticraftplanets:rocket_t3>);
```
20 changes: 20 additions & 0 deletions docs/1.12/content/Mods/GalaxySpace/Universal_Recycler
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Universal Recycler

## Package
`mods.galaxyspace`

## Addition

```zenscript
//mods.galaxyspace.addRecyclerRecipe(IItemStack input, IItemStack output, optional IItemStack output, ILiquidStack output, int chances);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please use different parameter names for each parameter, also optional parameters can only go at the end, are the last 2 parameters also optional?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My bad, I thought the method supported adding outputs to the secondary slot of the machine, but it did not, I must've forgotten to remove that.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okay, the parameter names still need to be unique


mods.galaxyspace.addRecyclerRecipe(<minecraft:stone:5>, <minecraft:cobblestone>, <liquid:water> * 10, 100);
```

## Removal

```zenscript
//mods.galaxyspace.removeRecyclerRecipe(IItemStack input);

mods.galaxyspace.removeRecyclerRecipe(<galaxyspace:gs_basic:3>);
```