Skip to content

Commit

Permalink
Added "isIgnited" to FusionReactorMultiblockData and fixed a typo in …
Browse files Browse the repository at this point in the history
…OneInputCachedRecipe (#8049)
  • Loading branch information
toddlersizedsharkcage committed Apr 5, 2024
1 parent 2dac808 commit 0826d16
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 6 deletions.
Expand Up @@ -30,7 +30,7 @@
import org.jetbrains.annotations.Nullable;

/**
* Base class to help implement handling of recipes with two inputs.
* Base class to help implement handling of recipes with one input.
*/
@NothingNullByDefault
public class OneInputCachedRecipe<INPUT, OUTPUT, RECIPE extends MekanismRecipe & Predicate<INPUT>> extends CachedRecipe<RECIPE> {
Expand Down
@@ -1,6 +1,6 @@
// 1.20.4 2024-04-01T13:34:23.715519 ComputerHelp: mekanism
// 1.20.4 2024-04-04T20:21:05.3544014 ComputerHelp: mekanism
94b6d2a203a16827e2f54f7489e90159992acdb3 data/mekanism/computer_help/enums.csv
b38b847919651e2a55bc3eb8c719b2d92f76de7a data/mekanism/computer_help/enums.json
b0d0ea50ba3d06cf9b72519f6c333db4c3968696 data/mekanism/computer_help/jekyll.md
e11332cfebf5acd64a3ddc3bb9058d6e28692ec6 data/mekanism/computer_help/methods.csv
6f32727c8756e01ba3cfe454eafde3ca0dd2832a data/mekanism/computer_help/methods.json
03c9d1bfabf36379bcfda75a8431ca230183c635 data/mekanism/computer_help/jekyll.md
3d72ee50a142f8c4ff9b8b1d6c07e31cbda17d79 data/mekanism/computer_help/methods.csv
f2c67736745f50fe7e3c2a8b38a514903448aab7 data/mekanism/computer_help/methods.json
Expand Up @@ -2565,6 +2565,11 @@ methods:
returns:
javaType: int
type: Number (int)
- description: Checks if a reaction is occurring.
methodName: isIgnited
returns:
javaType: boolean
type: boolean
- methodName: setInjectionRate
params:
- javaType: int
Expand Down Expand Up @@ -4579,5 +4584,5 @@ methods:
returns:
javaType: boolean
type: boolean
version: 10.5.13
version: 10.5.14
---
Expand Up @@ -405,6 +405,7 @@ Fusion Reactor Multiblock (formed),getWater,,Table (FluidStack),,false,Get the c
Fusion Reactor Multiblock (formed),getWaterCapacity,,Number (int),,false,Get the capacity of the water tank.
Fusion Reactor Multiblock (formed),getWaterFilledPercentage,,Number (double),,false,Get the filled percentage of the water tank.
Fusion Reactor Multiblock (formed),getWaterNeeded,,Number (int),,false,Get the amount needed to fill the water tank.
Fusion Reactor Multiblock (formed),isIgnited,,boolean,,false,Checks if a reaction is occurring.
Fusion Reactor Multiblock (formed),setInjectionRate,rate: Number (int),,,false,
Fusion Reactor Port,getMode,,boolean,,false,"true -> output, false -> input"
Fusion Reactor Port,setMode,output: boolean,,,false,"true -> output, false -> input"
Expand Down
Expand Up @@ -3529,6 +3529,14 @@
"javaType": "int"
}
},
{
"description": "Checks if a reaction is occurring.",
"methodName": "isIgnited",
"returns": {
"type": "boolean",
"javaType": "boolean"
}
},
{
"methodName": "setInjectionRate",
"params": [
Expand Down
Expand Up @@ -417,6 +417,7 @@ public long getMaxSteam() {
return maxSteam;
}

@ComputerMethod(nameOverride = "isIgnited", methodDescription = "Checks if a reaction is occurring.")
public boolean isBurning() {
return burning;
}
Expand Down

0 comments on commit 0826d16

Please sign in to comment.