Skip to content

Commit

Permalink
Minor Documentation Fixes (#206)
Browse files Browse the repository at this point in the history
* change vitepress builder link location

* ensure one and only one period on relevant lines

* prevent empty strings crashing

* change examples println to log.info

* update examples

* fix a handful of typos
  • Loading branch information
WaitingIdly authored Jul 23, 2024
1 parent abe8bc6 commit ee9c7ad
Show file tree
Hide file tree
Showing 46 changed files with 83 additions and 77 deletions.
2 changes: 1 addition & 1 deletion examples/postInit/actuallyadditions.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Auto generated groovyscript example file
// MODS_LOADED: actuallyadditions

println 'mod \'actuallyadditions\' detected, running script'
log.info 'mod \'actuallyadditions\' detected, running script'

// Atomic Reconstructor:
// The Atomic Reconstructor is a block which uses energy to convert a block or item in front of it into other items.
Expand Down
2 changes: 1 addition & 1 deletion examples/postInit/advancedmortars.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Auto generated groovyscript example file
// MODS_LOADED: advancedmortars

println 'mod \'advancedmortars\' detected, running script'
log.info 'mod \'advancedmortars\' detected, running script'

// Mortar:
// Uses any number of specific types of Mortars to convert multiple items into a single output with a possible chance
Expand Down
2 changes: 1 addition & 1 deletion examples/postInit/aether_legacy.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Auto generated groovyscript example file
// MODS_LOADED: aether_legacy

println 'mod \'aether_legacy\' detected, running script'
log.info 'mod \'aether_legacy\' detected, running script'

// Accessory:
// The Aether Accessory system.
Expand Down
2 changes: 1 addition & 1 deletion examples/postInit/alchemistry.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Auto generated groovyscript example file
// MODS_LOADED: alchemistry

println 'mod \'alchemistry\' detected, running script'
log.info 'mod \'alchemistry\' detected, running script'

// Atomizer:
// Converts a non-element into its component elements.
Expand Down
2 changes: 1 addition & 1 deletion examples/postInit/appliedenergistics2.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import appeng.capabilities.Capabilities

println 'mod \'appliedenergistics2\' detected, running script'
log.info 'mod \'appliedenergistics2\' detected, running script'

// P2P Attunement:
// Controls using specific items, any items from a mod, or any items with a Capability to convert a P2P into a specific
Expand Down
2 changes: 1 addition & 1 deletion examples/postInit/arcanearchives.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Auto generated groovyscript example file
// MODS_LOADED: arcanearchives

println 'mod \'arcanearchives\' detected, running script'
log.info 'mod \'arcanearchives\' detected, running script'

// Gem Cutting Table:
// Converts any number of itemstacks into a single output itemstack via selecting the desired output itemstack in the GUI.
Expand Down
2 changes: 1 addition & 1 deletion examples/postInit/astralsorcery.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import hellfirepvp.astralsorcery.common.constellation.MoonPhase
import net.minecraft.util.math.MathHelper

println 'mod \'astralsorcery\' detected, running script'
log.info 'mod \'astralsorcery\' detected, running script'

// Chalice Interaction:
// When two chalices containing different fluids are placed nearby, fluid may be consumed to produce an output itemstack.
Expand Down
2 changes: 1 addition & 1 deletion examples/postInit/avaritia.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Auto generated groovyscript example file
// MODS_LOADED: avaritia

println 'mod \'avaritia\' detected, running script'
log.info 'mod \'avaritia\' detected, running script'

// Compressor:
// Converts any number of a single item into an output itemstack.
Expand Down
2 changes: 1 addition & 1 deletion examples/postInit/betterwithmods.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Auto generated groovyscript example file
// MODS_LOADED: betterwithmods

println 'mod \'betterwithmods\' detected, running script'
log.info 'mod \'betterwithmods\' detected, running script'

// Anvil Crafting:
// Similar to a normal crafting table, but 4x4 instead.
Expand Down
2 changes: 1 addition & 1 deletion examples/postInit/bloodmagic.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Auto generated groovyscript example file
// MODS_LOADED: bloodmagic

println 'mod \'bloodmagic\' detected, running script'
log.info 'mod \'bloodmagic\' detected, running script'

// Alchemy Array:
// Converts two items into an output itemstack by using Arcane Ashes in-world. Has a configurable texture for the
Expand Down
4 changes: 2 additions & 2 deletions examples/postInit/botania.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import net.minecraft.potion.PotionEffect
import net.minecraft.util.text.TextFormatting

println 'mod \'botania\' detected, running script'
log.info 'mod \'botania\' detected, running script'

// Petal Apothecary:
// Converts item inputs into an item output consuming water and a seed.
Expand Down Expand Up @@ -68,7 +68,7 @@ mods.botania.elven_trade.recipeBuilder()


// Magnet:
// Add or remove items from the magnet blacklist
// Add or remove items from the magnet blacklist.


mods.botania.magnet.addToBlacklist(item('minecraft:diamond'))
Expand Down
2 changes: 1 addition & 1 deletion examples/postInit/calculator.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Auto generated groovyscript example file
// MODS_LOADED: calculator

println 'mod \'calculator\' detected, running script'
log.info 'mod \'calculator\' detected, running script'

// Algorithm Separator:
// Converts an input itemstack into two output itemstacks.
Expand Down
4 changes: 2 additions & 2 deletions examples/postInit/chisel.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
// Auto generated groovyscript example file
// MODS_LOADED: chisel

println 'mod \'chisel\' detected, running script'
log.info 'mod \'chisel\' detected, running script'

// Carving:
// Sets a group of items any item can be converted between freely, in world and in a GUI
// Sets a group of items any item can be converted between freely, in world and in a GUI.

// mods.chisel.carving.removeAll()
mods.chisel.carving.removeGroup('blockDiamond')
Expand Down
2 changes: 1 addition & 1 deletion examples/postInit/compactmachines3.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Auto generated groovyscript example file
// MODS_LOADED: compactmachines3

println 'mod \'compactmachines3\' detected, running script'
log.info 'mod \'compactmachines3\' detected, running script'

// Miniaturization:
// Consumes a 3d structure in-world based on keys when an item is thrown into the field.
Expand Down
2 changes: 1 addition & 1 deletion examples/postInit/draconicevolution.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Auto generated groovyscript example file
// MODS_LOADED: draconicevolution

println 'mod \'draconicevolution\' detected, running script'
log.info 'mod \'draconicevolution\' detected, running script'

// Energy Core:
// A multiblock with 8 tiers for storing large amounts of energy.
Expand Down
2 changes: 1 addition & 1 deletion examples/postInit/enderio.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Auto generated groovyscript example file
// MODS_LOADED: enderio

println 'mod \'enderio\' detected, running script'
log.info 'mod \'enderio\' detected, running script'

// Alloy Smelter:
// Convert up to 3 itemstack inputs into an itemstack output, using energy and giving XP. Can be restricted to require a
Expand Down
2 changes: 1 addition & 1 deletion examples/postInit/essentialcraft.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Auto generated groovyscript example file
// MODS_LOADED: essentialcraft

println 'mod \'essentialcraft\' detected, running script'
log.info 'mod \'essentialcraft\' detected, running script'

// Demon Trade:
// Adds an item that can be sold to Demons to obtain Ackronite. Note that each demon that spawns has a random item that it
Expand Down
2 changes: 1 addition & 1 deletion examples/postInit/evilcraft.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Auto generated groovyscript example file
// MODS_LOADED: evilcraft

println 'mod \'evilcraft\' detected, running script'
log.info 'mod \'evilcraft\' detected, running script'

// Blood Infuser:
// Consumes an item, some fluid, and requires a given tier of Promise of Tenacity to produce the output and some experience
Expand Down
2 changes: 1 addition & 1 deletion examples/postInit/extendedcrafting.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Auto generated groovyscript example file
// MODS_LOADED: extendedcrafting

println 'mod \'extendedcrafting\' detected, running script'
log.info 'mod \'extendedcrafting\' detected, running script'

// Combination Crafting:
// Converts one main item and any number of additional items into an output itemstack, with a configurable rf cost and
Expand Down
4 changes: 2 additions & 2 deletions examples/postInit/extrautils2.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import com.rwtema.extrautils2.power.IWorldPowerMultiplier
import com.rwtema.extrautils2.tile.TilePassiveGenerator

println 'mod \'extrautils2\' detected, running script'
log.info 'mod \'extrautils2\' detected, running script'

// Crusher:
// Converts an input itemstack into an output itemstack with a chance of an additional itemstack output, consuming energy.
Expand Down Expand Up @@ -98,7 +98,7 @@ mods.extrautils2.generator.recipeBuilder()


// Grid Power Generators:
// Passively produces Grid Power into the Owner's GP network
// Passively produces Grid Power into the Owner's GP network.

mods.extrautils2.grid_power_passive_generator.setBasePower(resource('generators:creative'), 5f)
mods.extrautils2.grid_power_passive_generator.setBasePower(resource('generators:player_wind_up'), 100f)
Expand Down
2 changes: 1 addition & 1 deletion examples/postInit/immersiveengineering.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Auto generated groovyscript example file
// MODS_LOADED: immersiveengineering

println 'mod \'immersiveengineering\' detected, running script'
log.info 'mod \'immersiveengineering\' detected, running script'

// Alloy Kiln:
// Converts two input itemstacks into an output itemstack, consuming fuel (based on burn time).
Expand Down
2 changes: 1 addition & 1 deletion examples/postInit/immersivepetroleum.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Auto generated groovyscript example file
// MODS_LOADED: immersivepetroleum

println 'mod \'immersivepetroleum\' detected, running script'
log.info 'mod \'immersivepetroleum\' detected, running script'

// Distillation Tower:
// Converts an input fluidstack into any number of output fluidstacks and any number of output itemstacks, with each
Expand Down
2 changes: 1 addition & 1 deletion examples/postInit/industrialforegoing.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import net.minecraft.potion.PotionEffect

println 'mod \'industrialforegoing\' detected, running script'
log.info 'mod \'industrialforegoing\' detected, running script'

// Bioreactor:
// Converts an input item into Biofuel, with the amount of Biofuel generated being based on the number of concurrent
Expand Down
2 changes: 1 addition & 1 deletion examples/postInit/inspirations.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Auto generated groovyscript example file
// MODS_LOADED: inspirations

println 'mod \'inspirations\' detected, running script'
log.info 'mod \'inspirations\' detected, running script'

// Anvil Smashing:
// Converts a Block or IBlockState into an IBlockState when an anvil falls on top of it (from any height).
Expand Down
2 changes: 1 addition & 1 deletion examples/postInit/integrateddynamics.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Auto generated groovyscript example file
// MODS_LOADED: integrateddynamics

println 'mod \'integrateddynamics\' detected, running script'
log.info 'mod \'integrateddynamics\' detected, running script'

// Drying Basin:
// Takes either an item or fluid input and gives either an item or fluid output after a duration.
Expand Down
4 changes: 2 additions & 2 deletions examples/postInit/jei.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

import mezz.jei.api.ingredients.VanillaTypes

println 'mod \'jei\' detected, running script'
log.info 'mod \'jei\' detected, running script'

// Category Catalysts:
// Modify the items shown on the left of JEI Categories which indicate where the recipe takes place
// Modify the items shown on the left of JEI Categories which indicate where the recipe takes place.

mods.jei.catalyst.remove('minecraft.smelting', item('minecraft:furnace'))
// mods.jei.catalyst.removeByType('minecraft.anvil')
Expand Down
2 changes: 1 addition & 1 deletion examples/postInit/mekanism.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Auto generated groovyscript example file
// MODS_LOADED: mekanism

println 'mod \'mekanism\' detected, running script'
log.info 'mod \'mekanism\' detected, running script'

// Infusion:
// Add new infusion types and itemstacks to those types.
Expand Down
2 changes: 1 addition & 1 deletion examples/postInit/naturesaura.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Auto generated groovyscript example file
// MODS_LOADED: naturesaura

println 'mod \'naturesaura\' detected, running script'
log.info 'mod \'naturesaura\' detected, running script'

// Natural Altar Infusion:
// Converts an input itemstack into an itemstack in a multiblock structure, with an optional catalyst block, costing aura
Expand Down
2 changes: 1 addition & 1 deletion examples/postInit/pneumaticcraft.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Auto generated groovyscript example file
// MODS_LOADED: pneumaticcraft

println 'mod \'pneumaticcraft\' detected, running script'
log.info 'mod \'pneumaticcraft\' detected, running script'

// Amadron:
// Uses an Amadron Tablet and linked inventories in world to trade via drones.
Expand Down
2 changes: 1 addition & 1 deletion examples/postInit/prodigytech.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Auto generated groovyscript example file
// MODS_LOADED: prodigytech

println 'mod \'prodigytech\' detected, running script'
log.info 'mod \'prodigytech\' detected, running script'

// Atomic Reshaper:
// Uses Hot Air and Primordium to convert items. Can have a weighted random based output.
Expand Down
2 changes: 1 addition & 1 deletion examples/postInit/projecte.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Auto generated groovyscript example file
// MODS_LOADED: projecte

println 'mod \'projecte\' detected, running script'
log.info 'mod \'projecte\' detected, running script'

// Entity Randomizer:
// Converts an entity on the list into a random other entity on the list when a projectile fired from the Philosopher's
Expand Down
Loading

0 comments on commit ee9c7ad

Please sign in to comment.