From 2ad9842a8b16fb8b60c1e5927f6a95855786a682 Mon Sep 17 00:00:00 2001 From: Waiting Idly <25394029+WaitingIdly@users.noreply.github.com> Date: Mon, 8 Jul 2024 11:54:06 -0700 Subject: [PATCH 1/6] change vitepress builder link location --- .../groovyscript/documentation/format/VitePress.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/cleanroommc/groovyscript/documentation/format/VitePress.java b/src/main/java/com/cleanroommc/groovyscript/documentation/format/VitePress.java index 3d1f31fad..ac8c6ef18 100644 --- a/src/main/java/com/cleanroommc/groovyscript/documentation/format/VitePress.java +++ b/src/main/java/com/cleanroommc/groovyscript/documentation/format/VitePress.java @@ -12,7 +12,7 @@ public class VitePress implements IFormat { @Override public String linkToBuilder() { - return "../../groovy/builder.md"; + return "../../getting_started/builder.md"; } @Override From 229bf2f26432946f60ac5259a92a6d3540f8c32b Mon Sep 17 00:00:00 2001 From: Waiting Idly <25394029+WaitingIdly@users.noreply.github.com> Date: Mon, 8 Jul 2024 11:54:31 -0700 Subject: [PATCH 2/6] ensure one and only one period on relevant lines --- .../com/cleanroommc/groovyscript/documentation/Builder.java | 2 +- .../groovyscript/documentation/Documentation.java | 4 ++++ .../cleanroommc/groovyscript/documentation/Registry.java | 6 +++--- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/cleanroommc/groovyscript/documentation/Builder.java b/src/main/java/com/cleanroommc/groovyscript/documentation/Builder.java index 9035ee13e..2685a2ec0 100644 --- a/src/main/java/com/cleanroommc/groovyscript/documentation/Builder.java +++ b/src/main/java/com/cleanroommc/groovyscript/documentation/Builder.java @@ -418,7 +418,7 @@ private String getFieldTypeInlineCode() { } public String getDescription() { - return "- " + getFieldTypeInlineCode() + Documentation.translate(getLangKey()) + "."; + return "- " + getFieldTypeInlineCode() + Documentation.ensurePeriod(Documentation.translate(getLangKey())); } @Override diff --git a/src/main/java/com/cleanroommc/groovyscript/documentation/Documentation.java b/src/main/java/com/cleanroommc/groovyscript/documentation/Documentation.java index 3c13016ff..ee1c6372e 100644 --- a/src/main/java/com/cleanroommc/groovyscript/documentation/Documentation.java +++ b/src/main/java/com/cleanroommc/groovyscript/documentation/Documentation.java @@ -115,5 +115,9 @@ public static String translate(String translateKey, Object... parameters) { return I18n.format(translateKey, parameters); } + public static String ensurePeriod(String string) { + return string.charAt(string.length() - 1) == '.' ? string : string + "."; + } + } diff --git a/src/main/java/com/cleanroommc/groovyscript/documentation/Registry.java b/src/main/java/com/cleanroommc/groovyscript/documentation/Registry.java index b66f47aae..6e87fed2b 100644 --- a/src/main/java/com/cleanroommc/groovyscript/documentation/Registry.java +++ b/src/main/java/com/cleanroommc/groovyscript/documentation/Registry.java @@ -112,8 +112,8 @@ public String getTitle() { } public String getDescription() { - return Documentation.translate(description.description().isEmpty() ? String.format("%s.description", baseTranslationKey) : description.description()) - .replace("\"", "\\\""); + return Documentation.ensurePeriod(Documentation.translate(description.description().isEmpty() ? String.format("%s.description", baseTranslationKey) : description.description()) + .replace("\"", "\\\"")); } public String exampleBlock() { @@ -170,7 +170,7 @@ private String generateDescription() { .title(note.title()) .hasTitle(note.hasTitle()) .format(note.format()) - .note(Documentation.translate(note.value())) + .note(Documentation.ensurePeriod(Documentation.translate(note.value()))) .generate()); out.append("\n\n"); } From 3fc42d272c3b08367649a83768582c7c0b09e240 Mon Sep 17 00:00:00 2001 From: Waiting Idly <25394029+WaitingIdly@users.noreply.github.com> Date: Mon, 8 Jul 2024 12:43:57 -0700 Subject: [PATCH 3/6] prevent empty strings crashing --- .../cleanroommc/groovyscript/documentation/Documentation.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/cleanroommc/groovyscript/documentation/Documentation.java b/src/main/java/com/cleanroommc/groovyscript/documentation/Documentation.java index ee1c6372e..7909b251a 100644 --- a/src/main/java/com/cleanroommc/groovyscript/documentation/Documentation.java +++ b/src/main/java/com/cleanroommc/groovyscript/documentation/Documentation.java @@ -116,6 +116,7 @@ public static String translate(String translateKey, Object... parameters) { } public static String ensurePeriod(String string) { + if (string.isEmpty()) return ""; return string.charAt(string.length() - 1) == '.' ? string : string + "."; } From 166c5d9a92571efc2f9798f65728ad4a70428bd0 Mon Sep 17 00:00:00 2001 From: Waiting Idly <25394029+WaitingIdly@users.noreply.github.com> Date: Tue, 16 Jul 2024 22:26:05 -0700 Subject: [PATCH 4/6] change examples println to log.info --- .../com/cleanroommc/groovyscript/documentation/Exporter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/cleanroommc/groovyscript/documentation/Exporter.java b/src/main/java/com/cleanroommc/groovyscript/documentation/Exporter.java index 3121d26c4..16b0ae4e8 100644 --- a/src/main/java/com/cleanroommc/groovyscript/documentation/Exporter.java +++ b/src/main/java/com/cleanroommc/groovyscript/documentation/Exporter.java @@ -23,7 +23,7 @@ public class Exporter { private static final String INDEX_FILE_NAME = "index.md"; private static final String NAV_FILE_NAME = "!navigation.md"; - private static final String PRINT_MOD_DETECTED = "println 'mod \\'%s\\' detected, running script'"; + private static final String PRINT_MOD_DETECTED = "log.info 'mod \\'%s\\' detected, running script'"; private static final Pattern CLASS_NAME_PATTERN = Pattern.compile("(?>\\b)(?>[a-zA-Z0-9]+\\.)+([a-zA-Z0-9$]+)"); public static String simpleSignature(Method method) { From 93fe9c8a34d9b82e906865b5fa81b2da03926004 Mon Sep 17 00:00:00 2001 From: Waiting Idly <25394029+WaitingIdly@users.noreply.github.com> Date: Tue, 23 Jul 2024 06:11:26 -0700 Subject: [PATCH 5/6] update examples --- examples/postInit/actuallyadditions.groovy | 2 +- examples/postInit/advancedmortars.groovy | 2 +- examples/postInit/aether_legacy.groovy | 2 +- examples/postInit/alchemistry.groovy | 2 +- examples/postInit/appliedenergistics2.groovy | 2 +- examples/postInit/arcanearchives.groovy | 2 +- examples/postInit/astralsorcery.groovy | 2 +- examples/postInit/avaritia.groovy | 2 +- examples/postInit/betterwithmods.groovy | 2 +- examples/postInit/bloodmagic.groovy | 2 +- examples/postInit/botania.groovy | 4 ++-- examples/postInit/calculator.groovy | 2 +- examples/postInit/chisel.groovy | 4 ++-- examples/postInit/compactmachines3.groovy | 2 +- examples/postInit/draconicevolution.groovy | 2 +- examples/postInit/enderio.groovy | 2 +- examples/postInit/essentialcraft.groovy | 2 +- examples/postInit/evilcraft.groovy | 2 +- examples/postInit/extendedcrafting.groovy | 2 +- examples/postInit/extrautils2.groovy | 4 ++-- examples/postInit/immersiveengineering.groovy | 2 +- examples/postInit/immersivepetroleum.groovy | 2 +- examples/postInit/industrialforegoing.groovy | 2 +- examples/postInit/inspirations.groovy | 2 +- examples/postInit/integrateddynamics.groovy | 2 +- examples/postInit/jei.groovy | 4 ++-- examples/postInit/mekanism.groovy | 2 +- examples/postInit/naturesaura.groovy | 2 +- examples/postInit/pneumaticcraft.groovy | 2 +- examples/postInit/prodigytech.groovy | 2 +- examples/postInit/projecte.groovy | 2 +- examples/postInit/pyrotech.groovy | 24 +++++++++---------- examples/postInit/roots.groovy | 7 +++--- examples/postInit/rustic.groovy | 2 +- examples/postInit/tconstruct.groovy | 2 +- examples/postInit/thaumcraft.groovy | 4 ++-- examples/postInit/thermalexpansion.groovy | 2 +- examples/postInit/threng.groovy | 2 +- examples/postInit/woot.groovy | 4 ++-- 39 files changed, 59 insertions(+), 58 deletions(-) diff --git a/examples/postInit/actuallyadditions.groovy b/examples/postInit/actuallyadditions.groovy index 708092683..a0d2df920 100644 --- a/examples/postInit/actuallyadditions.groovy +++ b/examples/postInit/actuallyadditions.groovy @@ -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. diff --git a/examples/postInit/advancedmortars.groovy b/examples/postInit/advancedmortars.groovy index ee411c385..fc232ba64 100644 --- a/examples/postInit/advancedmortars.groovy +++ b/examples/postInit/advancedmortars.groovy @@ -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 diff --git a/examples/postInit/aether_legacy.groovy b/examples/postInit/aether_legacy.groovy index 5d4bdb7ea..f874048c9 100644 --- a/examples/postInit/aether_legacy.groovy +++ b/examples/postInit/aether_legacy.groovy @@ -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. diff --git a/examples/postInit/alchemistry.groovy b/examples/postInit/alchemistry.groovy index 826e1ba2b..efeaaa61b 100644 --- a/examples/postInit/alchemistry.groovy +++ b/examples/postInit/alchemistry.groovy @@ -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. diff --git a/examples/postInit/appliedenergistics2.groovy b/examples/postInit/appliedenergistics2.groovy index 0db8a35eb..91e12c6c0 100644 --- a/examples/postInit/appliedenergistics2.groovy +++ b/examples/postInit/appliedenergistics2.groovy @@ -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 diff --git a/examples/postInit/arcanearchives.groovy b/examples/postInit/arcanearchives.groovy index 3db0f9439..08c218e4e 100644 --- a/examples/postInit/arcanearchives.groovy +++ b/examples/postInit/arcanearchives.groovy @@ -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. diff --git a/examples/postInit/astralsorcery.groovy b/examples/postInit/astralsorcery.groovy index 7c0ed6796..a05d51176 100644 --- a/examples/postInit/astralsorcery.groovy +++ b/examples/postInit/astralsorcery.groovy @@ -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. diff --git a/examples/postInit/avaritia.groovy b/examples/postInit/avaritia.groovy index c49104b6d..b78adced0 100644 --- a/examples/postInit/avaritia.groovy +++ b/examples/postInit/avaritia.groovy @@ -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. diff --git a/examples/postInit/betterwithmods.groovy b/examples/postInit/betterwithmods.groovy index 3a4b5bc4f..a02511054 100644 --- a/examples/postInit/betterwithmods.groovy +++ b/examples/postInit/betterwithmods.groovy @@ -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. diff --git a/examples/postInit/bloodmagic.groovy b/examples/postInit/bloodmagic.groovy index 900b95491..bf7e93dcc 100644 --- a/examples/postInit/bloodmagic.groovy +++ b/examples/postInit/bloodmagic.groovy @@ -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 diff --git a/examples/postInit/botania.groovy b/examples/postInit/botania.groovy index 05620fb4d..09390c53a 100644 --- a/examples/postInit/botania.groovy +++ b/examples/postInit/botania.groovy @@ -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. @@ -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')) diff --git a/examples/postInit/calculator.groovy b/examples/postInit/calculator.groovy index df129b816..5e6f96a17 100644 --- a/examples/postInit/calculator.groovy +++ b/examples/postInit/calculator.groovy @@ -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. diff --git a/examples/postInit/chisel.groovy b/examples/postInit/chisel.groovy index aa3284ac5..45de7143c 100644 --- a/examples/postInit/chisel.groovy +++ b/examples/postInit/chisel.groovy @@ -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') diff --git a/examples/postInit/compactmachines3.groovy b/examples/postInit/compactmachines3.groovy index de9baf75a..3f9797e14 100644 --- a/examples/postInit/compactmachines3.groovy +++ b/examples/postInit/compactmachines3.groovy @@ -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. diff --git a/examples/postInit/draconicevolution.groovy b/examples/postInit/draconicevolution.groovy index 1c6013f4f..36c0e832a 100644 --- a/examples/postInit/draconicevolution.groovy +++ b/examples/postInit/draconicevolution.groovy @@ -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. diff --git a/examples/postInit/enderio.groovy b/examples/postInit/enderio.groovy index d21f7893d..c3349f9f3 100644 --- a/examples/postInit/enderio.groovy +++ b/examples/postInit/enderio.groovy @@ -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 diff --git a/examples/postInit/essentialcraft.groovy b/examples/postInit/essentialcraft.groovy index 2195fbd3c..0c47a4e35 100644 --- a/examples/postInit/essentialcraft.groovy +++ b/examples/postInit/essentialcraft.groovy @@ -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 diff --git a/examples/postInit/evilcraft.groovy b/examples/postInit/evilcraft.groovy index b89bf9f98..944fa1af0 100644 --- a/examples/postInit/evilcraft.groovy +++ b/examples/postInit/evilcraft.groovy @@ -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 diff --git a/examples/postInit/extendedcrafting.groovy b/examples/postInit/extendedcrafting.groovy index b8c1f2372..6ca8e6c63 100644 --- a/examples/postInit/extendedcrafting.groovy +++ b/examples/postInit/extendedcrafting.groovy @@ -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 diff --git a/examples/postInit/extrautils2.groovy b/examples/postInit/extrautils2.groovy index cdcbf8943..a8d84edcb 100644 --- a/examples/postInit/extrautils2.groovy +++ b/examples/postInit/extrautils2.groovy @@ -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. @@ -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) diff --git a/examples/postInit/immersiveengineering.groovy b/examples/postInit/immersiveengineering.groovy index 10dbf4a68..6a6ee8534 100644 --- a/examples/postInit/immersiveengineering.groovy +++ b/examples/postInit/immersiveengineering.groovy @@ -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). diff --git a/examples/postInit/immersivepetroleum.groovy b/examples/postInit/immersivepetroleum.groovy index 3653c75ce..f1202856b 100644 --- a/examples/postInit/immersivepetroleum.groovy +++ b/examples/postInit/immersivepetroleum.groovy @@ -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 diff --git a/examples/postInit/industrialforegoing.groovy b/examples/postInit/industrialforegoing.groovy index a856e17f7..b43d3e355 100644 --- a/examples/postInit/industrialforegoing.groovy +++ b/examples/postInit/industrialforegoing.groovy @@ -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 diff --git a/examples/postInit/inspirations.groovy b/examples/postInit/inspirations.groovy index e434d54c0..7f5158fc3 100644 --- a/examples/postInit/inspirations.groovy +++ b/examples/postInit/inspirations.groovy @@ -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). diff --git a/examples/postInit/integrateddynamics.groovy b/examples/postInit/integrateddynamics.groovy index 1cebdde96..77d5233f3 100644 --- a/examples/postInit/integrateddynamics.groovy +++ b/examples/postInit/integrateddynamics.groovy @@ -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. diff --git a/examples/postInit/jei.groovy b/examples/postInit/jei.groovy index 764cbaa37..56f88f8c9 100644 --- a/examples/postInit/jei.groovy +++ b/examples/postInit/jei.groovy @@ -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') diff --git a/examples/postInit/mekanism.groovy b/examples/postInit/mekanism.groovy index b46250279..a6402c418 100644 --- a/examples/postInit/mekanism.groovy +++ b/examples/postInit/mekanism.groovy @@ -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. diff --git a/examples/postInit/naturesaura.groovy b/examples/postInit/naturesaura.groovy index 0a180abe9..86c6bd87a 100644 --- a/examples/postInit/naturesaura.groovy +++ b/examples/postInit/naturesaura.groovy @@ -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 diff --git a/examples/postInit/pneumaticcraft.groovy b/examples/postInit/pneumaticcraft.groovy index cd325f03e..c68fd5d28 100644 --- a/examples/postInit/pneumaticcraft.groovy +++ b/examples/postInit/pneumaticcraft.groovy @@ -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. diff --git a/examples/postInit/prodigytech.groovy b/examples/postInit/prodigytech.groovy index 3120c162f..b4224ca57 100644 --- a/examples/postInit/prodigytech.groovy +++ b/examples/postInit/prodigytech.groovy @@ -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. diff --git a/examples/postInit/projecte.groovy b/examples/postInit/projecte.groovy index 57206c2a7..6d1a9c4a9 100644 --- a/examples/postInit/projecte.groovy +++ b/examples/postInit/projecte.groovy @@ -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 diff --git a/examples/postInit/pyrotech.groovy b/examples/postInit/pyrotech.groovy index d3d27228b..c2a304e19 100644 --- a/examples/postInit/pyrotech.groovy +++ b/examples/postInit/pyrotech.groovy @@ -2,10 +2,10 @@ // Auto generated groovyscript example file // MODS_LOADED: pyrotech -println 'mod \'pyrotech\' detected, running script' +log.info 'mod \'pyrotech\' detected, running script' // Anvil: -// When using hammer or pickaxe it can convert items +// When using hammer or pickaxe it can convert items. mods.pyrotech.anvil.removeByOutput(item('minecraft:stone_slab', 3)) // mods.pyrotech.anvil.removeAll() @@ -41,7 +41,7 @@ mods.pyrotech.anvil.recipeBuilder() mods.pyrotech.anvil.add('iron_to_clay', ore('ingotIron') * 5, item('minecraft:clay_ball') * 20, 9, 'granite', 'hammer') // Barrel: -// Over time converts a fluid with four items into a new fluid +// Over time converts a fluid with four items into a new fluid. mods.pyrotech.barrel.removeByOutput(fluid('freckleberry_wine') * 1000) // mods.pyrotech.barrel.removeAll() @@ -58,7 +58,7 @@ mods.pyrotech.barrel.recipeBuilder() mods.pyrotech.barrel.add('iron_dirt_water_to_lava', ore('ingotIron'), ore('ingotIron'), item('minecraft:dirt'), item('minecraft:dirt'), fluid('water'), fluid('lava'), 1000) // Campfire: -// Can cook food +// Can cook food. mods.pyrotech.campfire.removeByInput(item('minecraft:porkchop')) mods.pyrotech.campfire.removeByOutput(item('minecraft:cooked_porkchop')) @@ -75,7 +75,7 @@ mods.pyrotech.campfire.recipeBuilder() mods.pyrotech.campfire.add('apple_to_dirt', item('minecraft:apple'), item('minecraft:dirt'), 1000) // Chopping Block: -// When using a axe it can convert items +// When using a axe it can convert items. mods.pyrotech.chopping_block.removeByInput(item('minecraft:log2')) mods.pyrotech.chopping_block.removeByOutput(item('minecraft:planks', 4)) @@ -93,7 +93,7 @@ mods.pyrotech.chopping_block.recipeBuilder() // Compacting Bin: -// When using a shovel it can convert items +// When using a shovel it can convert items. mods.pyrotech.compacting_bin.removeByInput(item('minecraft:snowball')) mods.pyrotech.compacting_bin.removeByOutput(item('minecraft:bone_block')) @@ -110,7 +110,7 @@ mods.pyrotech.compacting_bin.recipeBuilder() mods.pyrotech.compacting_bin.add('iron_to_clay', ore('ingotIron') * 5, item('minecraft:clay_ball') * 20, 9) // Compost Bin: -// Can convert multiple items into a new one when its full +// Can convert multiple items into a new one when its full. mods.pyrotech.compost_bin.removeByInput(item('minecraft:golden_carrot')) // mods.pyrotech.compost_bin.removeAll() @@ -126,7 +126,7 @@ mods.pyrotech.compost_bin.recipeBuilder() mods.pyrotech.compost_bin.add('iron_to_clay2', ore('ingotIron') * 5, item('minecraft:clay_ball') * 20, 2) // Crude Drying Rack: -// Converts an item over time into a new one +// Converts an item over time into a new one. mods.pyrotech.crude_drying_rack.removeByInput(item('minecraft:wheat')) // mods.pyrotech.crude_drying_rack.removeAll() @@ -142,7 +142,7 @@ mods.pyrotech.crude_drying_rack.recipeBuilder() mods.pyrotech.crude_drying_rack.add('apple_to_dirt', item('minecraft:apple'), item('minecraft:dirt'), 1200) // Drying Rack: -// Converts an item over time into a new one +// Converts an item over time into a new one. mods.pyrotech.drying_rack.removeByInput(item('minecraft:wheat')) // mods.pyrotech.drying_rack.removeAll() @@ -158,7 +158,7 @@ mods.pyrotech.drying_rack.recipeBuilder() mods.pyrotech.drying_rack.add('apple_to_dirt', item('minecraft:apple'), item('minecraft:dirt'), 1200) // Kiln: -// Converts an item into a new one by burning it. Has a chance to fail +// Converts an item into a new one by burning it. Has a chance to fail. mods.pyrotech.kiln.removeByOutput(item('pyrotech:bucket_clay')) // mods.pyrotech.kiln.removeAll() @@ -176,7 +176,7 @@ mods.pyrotech.kiln.recipeBuilder() mods.pyrotech.kiln.add('clay_to_iron', item('minecraft:clay_ball') * 5, item('minecraft:iron_ingot'), 1200, 0.5f, [item('minecraft:dirt'), item('minecraft:cobblestone')]) // Soaking Pot: -// Converts an item into a new one by soaking it in a liquid. Can require a campfire +// Converts an item into a new one by soaking it in a liquid. Can require a campfire. mods.pyrotech.soaking_pot.removeByOutput(item('pyrotech:material', 54)) // mods.pyrotech.soaking_pot.removeAll() @@ -194,7 +194,7 @@ mods.pyrotech.soaking_pot.recipeBuilder() mods.pyrotech.soaking_pot.add('dirt_to_apple', item('minecraft:dirt'), fluid('water'), item('minecraft:apple'), 1200) // Tanning Rack: -// Converts an item over time into a new one +// Converts an item over time into a new one. mods.pyrotech.tanning_rack.removeByInput(item('minecraft:wheat')) // mods.pyrotech.tanning_rack.removeAll() diff --git a/examples/postInit/roots.groovy b/examples/postInit/roots.groovy index eab2bbb2d..3bb57e8ae 100644 --- a/examples/postInit/roots.groovy +++ b/examples/postInit/roots.groovy @@ -2,7 +2,7 @@ // Auto generated groovyscript example file // MODS_LOADED: roots -println 'mod \'roots\' detected, running script' +log.info 'mod \'roots\' detected, running script' // Animal Harvest: // Animal Harvest is a ritual that drops items from nearby mob's based on that mobs loottable without harming the mob. Only @@ -107,8 +107,9 @@ mods.roots.fey_crafter.recipeBuilder() // Flower Generation: -// When running the Flower Growth Ritual, allowed flowers will generate in the area. Additionally, using the spell Growth -// Infusion's Floral Reproduction modifier will duplicate the flower. +// When running the Flower Growth Ritual, allowed flowers will generate in the area if they can be placed on the given soil +// block. Additionally, using the spell Growth Infusion's Floral Reproduction modifier will duplicate the flower, +// regardless of the soil block. mods.roots.flower_generation.removeByFlower(block('minecraft:red_flower')) mods.roots.flower_generation.removeByFlower(block('minecraft:red_flower'), 1) diff --git a/examples/postInit/rustic.groovy b/examples/postInit/rustic.groovy index c18d9bc1a..2312d3aa9 100644 --- a/examples/postInit/rustic.groovy +++ b/examples/postInit/rustic.groovy @@ -4,7 +4,7 @@ import net.minecraft.potion.PotionEffect -println 'mod \'rustic\' detected, running script' +log.info 'mod \'rustic\' detected, running script' // Alchemy Condenser: // Converts some number of input itemstacks and a fluidstack into a single output stack after a time in a small multiblock diff --git a/examples/postInit/tconstruct.groovy b/examples/postInit/tconstruct.groovy index dc7ba6a61..940017974 100644 --- a/examples/postInit/tconstruct.groovy +++ b/examples/postInit/tconstruct.groovy @@ -2,7 +2,7 @@ // Auto generated groovyscript example file // MODS_LOADED: tconstruct -println 'mod \'tconstruct\' detected, running script' +log.info 'mod \'tconstruct\' detected, running script' // Alloying: // Modifies what fluids can be mixed together in the Smeltery. diff --git a/examples/postInit/thaumcraft.groovy b/examples/postInit/thaumcraft.groovy index 670789bb5..129ab7208 100644 --- a/examples/postInit/thaumcraft.groovy +++ b/examples/postInit/thaumcraft.groovy @@ -2,7 +2,7 @@ // Auto generated groovyscript example file // MODS_LOADED: thaumcraft -println 'mod \'thaumcraft\' detected, running script' +log.info 'mod \'thaumcraft\' detected, running script' // Arcane Workbench: // A special crafting table, allowing additional requirements in the form of Vis Crystals, Vis, and having a specific @@ -195,7 +195,7 @@ mods.thaumcraft.smelting_bonus.recipeBuilder() // Warp: -// Determines if holding an item or equipping a piece of armor or a bauble gives warp, and how much warp it gives +// Determines if holding an item or equipping a piece of armor or a bauble gives warp, and how much warp it gives. mods.thaumcraft.warp.removeWarp(item('thaumcraft:void_hoe')) // mods.thaumcraft.warp.removeAll() diff --git a/examples/postInit/thermalexpansion.groovy b/examples/postInit/thermalexpansion.groovy index de2dfec59..449e80ed9 100644 --- a/examples/postInit/thermalexpansion.groovy +++ b/examples/postInit/thermalexpansion.groovy @@ -4,7 +4,7 @@ import cofh.thermalexpansion.util.managers.machine.InsolatorManager -println 'mod \'thermalexpansion\' detected, running script' +log.info 'mod \'thermalexpansion\' detected, running script' // Alchemical Imbuer: // Converts an input fluidstack and input itemstack into an output fluidstack, costing power and taking time based on the diff --git a/examples/postInit/threng.groovy b/examples/postInit/threng.groovy index 46a6cb760..abe450547 100644 --- a/examples/postInit/threng.groovy +++ b/examples/postInit/threng.groovy @@ -2,7 +2,7 @@ // Auto generated groovyscript example file // MODS_LOADED: threng -println 'mod \'threng\' detected, running script' +log.info 'mod \'threng\' detected, running script' // Fluix Aggregation: // Converts up to 3 input itemstacks into an output itemstack. diff --git a/examples/postInit/woot.groovy b/examples/postInit/woot.groovy index 0ec5bea5a..052f4265f 100644 --- a/examples/postInit/woot.groovy +++ b/examples/postInit/woot.groovy @@ -4,7 +4,7 @@ import ipsis.woot.util.WootMobName -println 'mod \'woot\' detected, running script' +log.info 'mod \'woot\' detected, running script' // Drops: // Controls extra drops given by mobs. Chance and Size are both arrays 4 long, containing the values for levels 0/1/2/3 @@ -29,7 +29,7 @@ mods.woot.drops.recipeBuilder() // Mob Config: // Control the default values or mob-specific values for a large number of effects, a full list can be found at // `ipsis.woot.configuration.EnumConfigKey`. A full list can be viewed on -// [Github](https://github.com/Ipsis/Woot/blob/55e88f5a15d66cc987e676d665d20f4afbe008b8/src/main/java/ipsis/woot/configuration/EnumConfigKey.java#L14) +// [Github](https://github.com/Ipsis/Woot/blob/55e88f5a15d66cc987e676d665d20f4afbe008b8/src/main/java/ipsis/woot/configuration/EnumConfigKey.java#L14). mods.woot.mob_config.remove('minecraft:wither_skeleton', 'spawn_units') mods.woot.mob_config.remove('minecraft:wither') From e5ed85e1b551033b4e80a225ef2dc6cae9a9c82a Mon Sep 17 00:00:00 2001 From: Waiting Idly <25394029+WaitingIdly@users.noreply.github.com> Date: Tue, 23 Jul 2024 06:16:05 -0700 Subject: [PATCH 6/6] fix a handful of typos --- .../thermalexpansion/machine/Sawmill.java | 4 ++-- .../assets/groovyscript/lang/en_us.lang | 22 +++++++++---------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/main/java/com/cleanroommc/groovyscript/compat/mods/thermalexpansion/machine/Sawmill.java b/src/main/java/com/cleanroommc/groovyscript/compat/mods/thermalexpansion/machine/Sawmill.java index 66e2da7c3..b22c7a9a0 100644 --- a/src/main/java/com/cleanroommc/groovyscript/compat/mods/thermalexpansion/machine/Sawmill.java +++ b/src/main/java/com/cleanroommc/groovyscript/compat/mods/thermalexpansion/machine/Sawmill.java @@ -43,12 +43,12 @@ public void add(SawmillRecipe recipe) { } @MethodDescription(type = MethodDescription.Type.ADDITION, example = @Example("1000, item('minecraft:obsidian') * 4, item('minecraft:gold_ingot'), item('minecraft:diamond'), 25")) - public SawmillRecipe add(int energy, IIngredient input, ItemStack outputItem, ItemStack secondayOutput, int chance) { + public SawmillRecipe add(int energy, IIngredient input, ItemStack outputItem, ItemStack secondaryOutput, int chance) { return recipeBuilder() .energy(energy) .chance(chance) .input(input) - .output(outputItem, secondayOutput) + .output(outputItem, secondaryOutput) .register(); } diff --git a/src/main/resources/assets/groovyscript/lang/en_us.lang b/src/main/resources/assets/groovyscript/lang/en_us.lang index 5e801f3c5..257000fed 100644 --- a/src/main/resources/assets/groovyscript/lang/en_us.lang +++ b/src/main/resources/assets/groovyscript/lang/en_us.lang @@ -156,16 +156,16 @@ groovyscript.wiki.aether_legacy.accessory.accessoryType.value=Sets the type of a groovyscript.wiki.aether_legacy.enchanter.title=Enchanter groovyscript.wiki.aether_legacy.enchanter.description=Enchanting is a mechanic used to create new items, as well as repair tools, armor, and weapons, using the Altar block. groovyscript.wiki.aether_legacy.enchanter.add=Adds an Enchanting recipe in the format `input`, `output`, `time`. -groovyscript.wiki.aether_legacy.enchanter.time.value=Sets the time the recipe takes to compelte +groovyscript.wiki.aether_legacy.enchanter.time.value=Sets the time the recipe takes to complete groovyscript.wiki.aether_legacy.enchanter_fuel.title=Enchanter Fuel -groovyscript.wiki.aether_legacy.enchanter_fuel.description=By default, the Enchantar (Altar) takes Ambrosium Shards as fuel. Using GroovyScript, custom fuels can be added. +groovyscript.wiki.aether_legacy.enchanter_fuel.description=By default, the Enchanter (Altar) takes Ambrosium Shards as fuel. Using GroovyScript, custom fuels can be added. groovyscript.wiki.aether_legacy.enchanter_fuel.add=Adds an Enchanting fuel in the format `item`, `timeGiven`. groovyscript.wiki.aether_legacy.freezer.title=Freezer groovyscript.wiki.aether_legacy.freezer.description=The Freezer is used to turn certain items into frozen versions. groovyscript.wiki.aether_legacy.freezer.add=Adds a Freezer recipe in the format `input`, `output`, `time`. -groovyscript.wiki.aether_legacy.freezer.time.value=Sets the time the recipe takes to compelte +groovyscript.wiki.aether_legacy.freezer.time.value=Sets the time the recipe takes to complete groovyscript.wiki.aether_legacy.freezer_fuel.title=Freezer groovyscript.wiki.aether_legacy.freezer_fuel.description= By default, the Freezer takes Icestone as fuel. Using GroovyScript, custom fuels can be added. @@ -616,7 +616,7 @@ groovyscript.wiki.botania.pure_daisy.input.required=either an IBlockState or Str groovyscript.wiki.botania.pure_daisy.time.value=Sets the duration the recipe takes to complete groovyscript.wiki.botania.rune_altar.title=Rune Altar -groovyscript.wiki.botania.rune_altar.description=Converts a items inputs into an item ouput at the cost of mana when a Livingrock item is thrown atop the altar and right clicked with a Wand of the Forest. +groovyscript.wiki.botania.rune_altar.description=Converts a items inputs into an item output at the cost of mana when a Livingrock item is thrown atop the altar and right clicked with a Wand of the Forest. groovyscript.wiki.botania.rune_altar.add=Adds recipes in the format `output`, `mana`, `inputs` groovyscript.wiki.botania.rune_altar.input.required=that `input` IIngredients cannot contain Botania's Livingrock Item groovyscript.wiki.botania.rune_altar.mana.value=Sets the mana cost of processing the recipe @@ -923,7 +923,7 @@ groovyscript.wiki.extrautils2.resonator.description=Converts and input itemstack groovyscript.wiki.extrautils2.resonator.energy.value=Sets the total Grid Power required for the recipe in 1/100ths of a single GP (int 1000 = 10 GP) groovyscript.wiki.extrautils2.resonator.ownerTag.value=Sets if the output itemstack should gain an NBT tag attaching the player who placed the Resonator to the itemstack. Notably used for Red Coal, to determine the bonus burn time from Grid Power groovyscript.wiki.extrautils2.resonator.requirementText.value=Sets the text in JEI displaying an additional requirement for the recipe to run -groovyscript.wiki.extrautils2.resonator.shouldProgress.value=Sets the function used to determine if the recipe should run, with the Closure taking 3 paramenters, `TileEntity resonator`, `int frequency`, `ItemStack input` and returning a `boolean` +groovyscript.wiki.extrautils2.resonator.shouldProgress.value=Sets the function used to determine if the recipe should run, with the Closure taking 3 parameters, `TileEntity resonator`, `int frequency`, `ItemStack input` and returning a `boolean` # Immersive Engineering groovyscript.wiki.immersiveengineering.alloy_kiln.title=Alloy Kiln @@ -1117,7 +1117,7 @@ groovyscript.wiki.inspirations.cauldron.dye.value=Sets the dye color fluid requi groovyscript.wiki.inspirations.cauldron.type.value=Sets what type of recipe is being processed groovyscript.wiki.inspirations.cauldron.sound.value=Sets the sound played when the recipe is crafted groovyscript.wiki.inspirations.cauldron.levels.value=Sets the level of fluid in the cauldron, where each bottle is a single level -groovyscript.wiki.inspirations.cauldron.boiling.value=Sets if the cauldon must be boiling, requiring fire or another heat source beneath +groovyscript.wiki.inspirations.cauldron.boiling.value=Sets if the cauldron must be boiling, requiring fire or another heat source beneath groovyscript.wiki.inspirations.cauldron.inputPotion.value=Sets the input potion type groovyscript.wiki.inspirations.cauldron.outputPotion.value=Sets the output potion type groovyscript.wiki.inspirations.cauldron.removeByFluidInput=Removes all recipes with the given fluid input @@ -1245,7 +1245,7 @@ groovyscript.wiki.mekanism.injection_chamber.annotation=Always uses 200 gas groovyscript.wiki.mekanism.injection_chamber.add=Adds recipes in the format `ingredient`, `gasInput`, `output` groovyscript.wiki.mekanism.metallurgic_infuser.title=Metallurgic Infuser -groovyscript.wiki.mekanism.metallurgic_infuser.description=Converts and input itemstack and a varible amount of an infusion type into an output itemstack. +groovyscript.wiki.mekanism.metallurgic_infuser.description=Converts and input itemstack and a variable amount of an infusion type into an output itemstack. groovyscript.wiki.mekanism.metallurgic_infuser.add0=Adds recipes in the format `ingredient`, `infuseType`, `infuseAmount`, `output` groovyscript.wiki.mekanism.metallurgic_infuser.add1=Adds recipes in the format `ingredient`, `infuseType`, `infuseAmount`, `output` groovyscript.wiki.mekanism.metallurgic_infuser.infuse.value=Sets the Infusion type the recipe uses @@ -1517,7 +1517,7 @@ groovyscript.wiki.projecte.entity_randomizer.streamMobs=Iterates through every e groovyscript.wiki.projecte.entity_randomizer.streamPeacefuls=Iterates through every entry in the peacefuls list groovyscript.wiki.projecte.transmutation.title=World Transmutation -groovyscript.wiki.projecte.transmutation.description=Converts an input blockstate into an output blockstate when right-clicked with by a Philosopher's Stone, with the abity to be converted into a different output blockstate when holding shift. +groovyscript.wiki.projecte.transmutation.description=Converts an input blockstate into an output blockstate when right-clicked with by a Philosopher's Stone, with the ability to be converted into a different output blockstate when holding shift. groovyscript.wiki.projecte.transmutation.input.value=Sets the input blockstate groovyscript.wiki.projecte.transmutation.output.value=Sets the normal output blockstate groovyscript.wiki.projecte.transmutation.altOutput.value=Sets the shift output blockstate @@ -1620,7 +1620,7 @@ groovyscript.wiki.roots.predicates.above_or_below.required=that only at most one groovyscript.wiki.roots.predicates.properties.required=that each property must be a valid property of the provided `blockstate` groovyscript.wiki.roots.pyre.title=Pyre -groovyscript.wiki.roots.pyre.description=Converts 5 input items into the ouput after a period of time when the Pyre is lit on fire. +groovyscript.wiki.roots.pyre.description=Converts 5 input items into the output after a period of time when the Pyre is lit on fire. groovyscript.wiki.roots.pyre.burnTime.value=Sets the time in ticks for the recipe to process groovyscript.wiki.roots.pyre.xp.value=Sets the XP given when the recipe finishes in levels groovyscript.wiki.roots.pyre.removeByName=Removes the Pyre recipe with the given name @@ -2002,7 +2002,7 @@ groovyscript.wiki.thermalexpansion.refinery_potion.chance.value=Sets the chance groovyscript.wiki.thermalexpansion.sawmill.title=Sawmill groovyscript.wiki.thermalexpansion.sawmill.description=Converts an input itemstack into an output itemstack and optional output itemstack with a chance, costing power and taking time based on the power cost. groovyscript.wiki.thermalexpansion.sawmill.note0=The valid items and fluid output while the Resin Funnel Augment is installed is controlled by the Arboreal Extractor device. -groovyscript.wiki.thermalexpansion.sawmill.add=Adds recipes in the format `energy`, `input`, `outputItem`, `secondayOutput`, `chance` +groovyscript.wiki.thermalexpansion.sawmill.add=Adds recipes in the format `energy`, `input`, `outputItem`, `secondaryOutput`, `chance` groovyscript.wiki.thermalexpansion.sawmill.chance.value=Sets the chance the second output itemstack is created groovyscript.wiki.thermalexpansion.smelter.title=Induction Smelter @@ -2075,7 +2075,7 @@ groovyscript.wiki.woot.mob_config.removeByEntity=Removes all configuration for t groovyscript.wiki.woot.policy.title=Policy groovyscript.wiki.woot.policy.description=Controls what entities can be farmed for what items via an entity blacklist, mod blacklist, item output blacklist, item output mod blacklist, and a mob whitelist. -groovyscript.wiki.woot.policy.note=If the whitelist contains any entities, any entities not in the whitelist are banned (rendering EntityModBlacklist and EntityBlacklist superflous). GenerateOnlyList contains all entities which cannot be captured via shard, meaning the controller would need to be obtained a different way. +groovyscript.wiki.woot.policy.note=If the whitelist contains any entities, any entities not in the whitelist are banned (rendering EntityModBlacklist and EntityBlacklist superfluous). GenerateOnlyList contains all entities which cannot be captured via shard, meaning the controller would need to be obtained a different way. groovyscript.wiki.woot.policy.addToEntityBlacklist=Prevents the given entity from being captured and spawned groovyscript.wiki.woot.policy.addToEntityModBlacklist=Prevents entities from the given mod from being captured and spawned groovyscript.wiki.woot.policy.addToEntityWhitelist=Prevents all entities not on the list from being spawned, overriding EntityBlacklist and EntityModBlacklist