From 1833cdadb5872c6f5c5178fd3fc11290f6d1f52e Mon Sep 17 00:00:00 2001 From: marston Date: Thu, 11 Jan 2024 14:00:37 -0500 Subject: [PATCH] fixing modifiers list --- MODIFIERS.md | 121 ++++++++++-------- .../java/dev/marston/randomloot/GenWiki.java | 5 +- 2 files changed, 74 insertions(+), 52 deletions(-) diff --git a/MODIFIERS.md b/MODIFIERS.md index 3f57373..a68bac3 100644 --- a/MODIFIERS.md +++ b/MODIFIERS.md @@ -2,72 +2,93 @@ This is a full list of modifiers in the game and a description of what they do. ## Breakers These effects are applied when breaking blocks. -### Explosive -id: `explode` | crafting: `minecraft:tnt` -Upon breaking a block (allowed by tool type), the current block position will explode causing damage to surrounding blocks. ### Magnetic -id: `attracting` | crafting: `minecraft:iron_block` -Upon breaking a block (allowed by tool type), all items at that block's position will teleport to you. +**id:** `attracting` | **crafting:** `minecraft:iron_block` + +**Decription:** Upon breaking a block (allowed by tool type), all items at that block's position will teleport to you. ### Learning -id: `learning` | crafting: `minecraft:book` -After breaking 10 blocks as allowed by this tool, gain 3 experience points. +**id:** `learning` | **crafting:** `minecraft:book` + +**Decription:** After breaking 10 blocks as allowed by this tool, gain 3 experience points. ### Veiny -id: `veiny` | crafting: `minecraft:diamond_pickaxe` -Breaking any block while crouching will cause all blocks of the same type adjacent to it to break up to 5 in each direction. +**id:** `veiny` | **crafting:** `minecraft:diamond_pickaxe` + +**Decription:** Breaking any block while crouching will cause all blocks of the same type adjacent to it to break up to 5 in each direction. +### Explosive +**id:** `explode` | **crafting:** `minecraft:tnt` + +**Decription:** Upon breaking a block (allowed by tool type), the current block position will explode causing damage to surrounding blocks. ## Holders These effects are applied when holding the tool. +### Appley +**id:** `absorption` | **crafting:** `minecraft:golden_apple` + +**Decription:** While holding the tool, get the absorption effect. ### Tomb Raider -id: `spawner` | crafting: `minecraft:mossy_cobblestone` -While holding the spawners around you will glow. +**id:** `spawner` | **crafting:** `minecraft:mossy_cobblestone` + +**Decription:** While holding the spawners around you will glow. +### Rainy +**id:** `rainy` | **crafting:** `minecraft:cauldron` + +**Decription:** While holding the tool in the rain, mine faster! ### Filling -id: `filling` | crafting: `minecraft:cake` -While holding the tool, get the saturation effect. -### Detecting -id: `detecting` | crafting: `minecraft:spyglass` -While holding the tool, ores around you will glow. -### Appley -id: `absorption` | crafting: `minecraft:golden_apple` -While holding the tool, get the absorption effect. +**id:** `filling` | **crafting:** `minecraft:cake` + +**Decription:** While holding the tool, get the saturation effect. ### Hasty -id: `hasty` | crafting: `minecraft:sugar` -While holding the tool, get the Haste effect. -### Rainy -id: `rainy` | crafting: `minecraft:cauldron` -While holding the tool in the rain, mine faster! +**id:** `hasty` | **crafting:** `minecraft:sugar` + +**Decription:** While holding the tool, get the Haste effect. +### Detecting +**id:** `detecting` | **crafting:** `minecraft:spyglass` + +**Decription:** While holding the tool, ores around you will glow. ## Users These effects are applied when right clicking. ### Spelunking -id: `torch_place` | crafting: `minecraft:glowstone` -Right clicking on the top of a block with the tool in hand will place a torch and use 10 durability points. +**id:** `torch_place` | **crafting:** `minecraft:glowstone` + +**Decription:** Right clicking on the top of a block with the tool in hand will place a torch and use 10 durability points. ### Fire Starter -id: `fire_place` | crafting: `minecraft:flint_and_steel` -Right clicking on the top of a block while crouching with the tool in hand will start a fire and use 2 durability points. +**id:** `fire_place` | **crafting:** `minecraft:flint_and_steel` + +**Decription:** Right clicking on the top of a block while crouching with the tool in hand will start a fire and use 2 durability points. ### Heartha's Grace -id: `dirt_place` | crafting: `minecraft:dirt` -Right clicking on the top of a block with the tool in hand will place a dirt block and use 1 durability points. +**id:** `dirt_place` | **crafting:** `minecraft:dirt` + +**Decription:** Right clicking on the top of a block with the tool in hand will place a dirt block and use 1 durability points. ## Hurters These effects are applied when hurting enemies. +### Blinding +**id:** `blinding` | **crafting:** `minecraft:carrot` + +**Decription:** When attacking with tool, apply the blindness effect to the target. +### Charged +**id:** `charged` | **crafting:** `minecraft:lightning_rod` + +**Decription:** After 7 seconds, hitting and enemy will summon a lightning bolt and empty the charge meter. ### Critical -id: `critical` | crafting: `minecraft:ghast_tear` -Always critically strikes enemy. +**id:** `critical` | **crafting:** `minecraft:ghast_tear` + +**Decription:** Always critically strikes enemy. ### Dexterous -id: `combo` | crafting: `minecraft:chorus_fruit` -Hitting enemies within 2 seconds after hitting them deals an extra 25% damage. -### Charged -id: `charged` | crafting: `minecraft:lightning_rod` -After 7 seconds, hitting and enemy will summon a lightning bolt and empty the charge meter. -### Flaming -id: `flaming` | crafting: `minecraft:blaze_rod` -Sets enemy on fire for 2 seconds. +**id:** `combo` | **crafting:** `minecraft:chorus_fruit` + +**Decription:** Hitting enemies within 2 seconds after hitting them deals an extra 25% damage. +### Withering +**id:** `wither` | **crafting:** `minecraft:wither_rose` + +**Decription:** When attacking with tool, apply the wither effect to the target. ### Necrotic -id: `necrotic` | crafting: `minecraft:wither_skeleton_skull` -Heals 10% of damage dealt to target. +**id:** `necrotic` | **crafting:** `minecraft:wither_skeleton_skull` + +**Decription:** Heals 10% of damage dealt to target. ### Poisonous -id: `poison` | crafting: `minecraft:poisonous_potato` -When attacking with tool, apply the poison effect to the target. -### Withering -id: `wither` | crafting: `minecraft:wither_rose` -When attacking with tool, apply the wither effect to the target. -### Blinding -id: `blinding` | crafting: `minecraft:carrot` -When attacking with tool, apply the blindness effect to the target. +**id:** `poison` | **crafting:** `minecraft:poisonous_potato` + +**Decription:** When attacking with tool, apply the poison effect to the target. +### Flaming +**id:** `flaming` | **crafting:** `minecraft:blaze_rod` + +**Decription:** Sets enemy on fire for 2 seconds. diff --git a/src/main/java/dev/marston/randomloot/GenWiki.java b/src/main/java/dev/marston/randomloot/GenWiki.java index 69f2df8..9864827 100644 --- a/src/main/java/dev/marston/randomloot/GenWiki.java +++ b/src/main/java/dev/marston/randomloot/GenWiki.java @@ -27,8 +27,9 @@ private static void writeMod(Modifier m, FileWriter f) throws IOException { String tag = m.tagName(); String recipe = readRecipe(tag); write("### " + m.name(), f); - write("id: `" + tag + "` | crafting: `" + recipe + "`", f); - write(m.description(), f); + write("**id:** `" + tag + "` | **crafting:** `" + recipe + "`", f); + write("", f); + write("**Decription:** " + m.description(), f); } private static void writeMods(Set mods, FileWriter f) throws IOException {