Skip to content

Commit 6068fb9

Browse files
authored
note steam fallback (#337)
1 parent a1c51ee commit 6068fb9

File tree

2 files changed

+3
-1
lines changed
  • src/main
    • java/com/cleanroommc/groovyscript/compat/mods/thermalexpansion/dynamo
    • resources/assets/groovyscript/lang

2 files changed

+3
-1
lines changed

src/main/java/com/cleanroommc/groovyscript/compat/mods/thermalexpansion/dynamo/Steam.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import cofh.core.inventory.ComparableItemStack;
44
import com.cleanroommc.groovyscript.api.GroovyBlacklist;
55
import com.cleanroommc.groovyscript.api.IIngredient;
6+
import com.cleanroommc.groovyscript.api.documentation.annotations.Admonition;
67
import com.cleanroommc.groovyscript.api.documentation.annotations.Example;
78
import com.cleanroommc.groovyscript.api.documentation.annotations.MethodDescription;
89
import com.cleanroommc.groovyscript.api.documentation.annotations.RegistryDescription;
@@ -14,7 +15,7 @@
1415

1516
import java.util.Objects;
1617

17-
@RegistryDescription
18+
@RegistryDescription(admonition = @Admonition(value = "groovyscript.wiki.thermalexpansion.steam.note0", type = Admonition.Type.INFO))
1819
public class Steam extends VirtualizedRegistry<Steam.SteamRecipe> {
1920

2021
@Override

src/main/resources/assets/groovyscript/lang/en_us.lang

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2965,6 +2965,7 @@ groovyscript.wiki.thermalexpansion.smelter.chance.value=Sets the chance the seco
29652965

29662966
groovyscript.wiki.thermalexpansion.steam.title=Steam Dynamo
29672967
groovyscript.wiki.thermalexpansion.steam.description=Converts an input itemstack into power, taking time based on the power.
2968+
groovyscript.wiki.thermalexpansion.steam.note0=If no energy is provided from an itemstack, the furnace fuel burn time will be checked, with the time in ticks being multiplied by 10 to calculate the energy output and if the energy is over 3000 the itemstack will be a valid fuel.
29682969
groovyscript.wiki.thermalexpansion.steam.add=Adds recipes in the format `itemStack`, `energy`
29692970
groovyscript.wiki.thermalexpansion.steam.removeByInput=Removes all recipes with given IIngredient
29702971

0 commit comments

Comments
 (0)