From aa1fc25f7d7fea9f949c09b6fdd983099d8981ec Mon Sep 17 00:00:00 2001 From: Stoupy51 Date: Tue, 26 Nov 2024 18:31:27 +0100 Subject: [PATCH] =?UTF-8?q?docs:=20=F0=9F=93=9D=20Updated=20README=20links?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.fr.md | 26 +++++++++++++------------- README.md | 26 +++++++++++++------------- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/README.fr.md b/README.fr.md index 95dc06f..c7b1365 100644 --- a/README.fr.md +++ b/README.fr.md @@ -45,9 +45,9 @@ Toutes les 5 secondes, la librairie exécute à l'emplacement de chaque joueur l ### `#smart_ore_generation:v1/denied_dimensions` * 🔍 Ce function tag est appelé lorsque la librairie veut scanner une région. Vous pouvez ajouter quelles dimensions que vous voulez empêcher d'être scannées en ajoutant une fonction à ce tag. * 📝 Pour utiliser ce signal, vous devez ajouter une fonction à la liste de tags située dans `data/smart_ore_generation/tags/function/v1/signals/denied_dimensions.json`. -* 📖 Reportez-vous à ce modèle pour le contenu de la fonction [ici](https://github.com/Stoupy51/SmartOreGeneration/blob/main/build/datapack/data/smart_ore_generation/function/v1.5.0/signals/denied_dimensions.mcfunction). +* 📖 Reportez-vous à ce modèle pour le contenu de la fonction [ici](https://github.com/Stoupy51/SmartOreGeneration/blob/main/build/datapack/data/smart_ore_generation/function/v1.7.0/signals/denied_dimensions.mcfunction). ```mcfunction -#> smart_ore_generation:v1.5.0/signals/denied_dimensions +#> smart_ore_generation:v1.7.0/signals/denied_dimensions # # @within #smart_ore_generation:v1/signals/denied_dimensions # @executed as & at le joueur qui a déclenché le signal @@ -67,9 +67,9 @@ execute if score #authorized smart_ore_generation.data matches 1 if dimension mi ### `#smart_ore_generation:v1/generate_ores` * 🔍 Ce function tag est appelé lorsque la librairie veut générer des minerais dans une région. Vous pouvez ajouter votre propre fonction de génération de minerai à ce tag. * 📝 Pour utiliser ce signal, vous devez ajouter une fonction à la liste de tags située dans `data/smart_ore_generation/tags/function/v1/signals/generate_ores.json`. -* 📖 Référez-vous à ce modèle pour le contenu de la fonction [ici](https://github.com/Stoupy51/SmartOreGeneration/blob/main/build/datapack/data/smart_ore_generation/function/v1.5.0/signals/example/generate_ores.mcfunction) +* 📖 Référez-vous à ce modèle pour le contenu de la fonction [ici](https://github.com/Stoupy51/SmartOreGeneration/blob/main/build/datapack/data/smart_ore_generation/function/v1.7.0/signals/example/generate_ores.mcfunction) ```mcfunction -#> smart_ore_generation:v1.5.0/signals/generate_ores +#> smart_ore_generation:v1.7.0/signals/generate_ores # # @within #smart_ore_generation:v1/signals/generate_ores # @executed as un marker spécial & at une position dont vous ne devriez pas vous soucier @@ -89,19 +89,19 @@ execute if predicate simplenergy:in_overworld run scoreboard players set #dimens # Generate Simplunium Ore (x4) in the overworld only scoreboard players operation #min_height smart_ore_generation.data = _OVERWORLD_BOTTOM smart_ore_generation.data scoreboard players set #max_height smart_ore_generation.data 40 -execute if score #dimension smart_ore_generation.data matches 0 run function smart_ore_generation:v1.5.0/signals/example/simplunium_ore -execute if score #dimension smart_ore_generation.data matches 0 run function smart_ore_generation:v1.5.0/signals/example/simplunium_ore -execute if score #dimension smart_ore_generation.data matches 0 run function smart_ore_generation:v1.5.0/signals/example/simplunium_ore -execute if score #dimension smart_ore_generation.data matches 0 run function smart_ore_generation:v1.5.0/signals/example/simplunium_ore -# Voir le modèle dans le lien pour le contenu de la fonction smart_ore_generation:v1.5.0/signals/example/simplunium_ore.mcfunction +execute if score #dimension smart_ore_generation.data matches 0 run function smart_ore_generation:v1.7.0/signals/example/simplunium_ore +execute if score #dimension smart_ore_generation.data matches 0 run function smart_ore_generation:v1.7.0/signals/example/simplunium_ore +execute if score #dimension smart_ore_generation.data matches 0 run function smart_ore_generation:v1.7.0/signals/example/simplunium_ore +execute if score #dimension smart_ore_generation.data matches 0 run function smart_ore_generation:v1.7.0/signals/example/simplunium_ore +# Voir le modèle dans le lien pour le contenu de la fonction smart_ore_generation:v1.7.0/signals/example/simplunium_ore.mcfunction ``` ### `#smart_ore_generation:v1/post_generation` * 🔍 Ce function tag est appelé lorsque la librairie a fini de générer des minerais dans les régions. Vous pouvez ajouter votre propre fonction de post-génération à ce tag. * 📝 Pour utiliser ce signal, vous devez ajouter une fonction à la liste de tags située dans `data/smart_ore_generation/tags/function/v1/signals/post_generation.json`. -* 📖 Référez-vous à ce modèle pour le contenu de la fonction [ici](https://github.com/Stoupy51/SmartOreGeneration/blob/main/build/datapack/data/smart_ore_generation/function/v1.5.0/signals/example/post_generation.mcfunction) +* 📖 Référez-vous à ce modèle pour le contenu de la fonction [ici](https://github.com/Stoupy51/SmartOreGeneration/blob/main/build/datapack/data/smart_ore_generation/function/v1.7.0/signals/example/post_generation.mcfunction) ```mcfunction -#> smart_ore_generation:v1.5.0/signals/post_generation +#> smart_ore_generation:v1.7.0/signals/post_generation # # @within #smart_ore_generation:v1/signals/post_generation # @executed as none at none (default of a /schedule) @@ -131,9 +131,9 @@ execute if score #generated_deepslate_ore simplenergy.data matches 1 run scorebo ### `#smart_ore_generation:v1/slots/random_position` * 🎲 Ce function tag doit être appelé lorsque vous avez besoin d'une position aléatoire dans la région. -* 📖 Pour utiliser correctement ce slot, voir le modèle [ici](https://github.com/Stoupy51/SmartOreGeneration/blob/main/build/datapack/data/smart_ore_generation/function/v1.5.0/signals/example/simplunium_ore.mcfunction) +* 📖 Pour utiliser correctement ce slot, voir le modèle [ici](https://github.com/Stoupy51/SmartOreGeneration/blob/main/build/datapack/data/smart_ore_generation/function/v1.7.0/signals/example/simplunium_ore.mcfunction) ```mcfunction -#> smart_ore_generation:v1.5.0/signals/example/simplunium_ore +#> smart_ore_generation:v1.7.0/signals/example/simplunium_ore # # @example from SimplEnergy datapack # Exemple de comment trouver une position aléatoire dans une région pour générer un minerai diff --git a/README.md b/README.md index ace7182..6cd6457 100644 --- a/README.md +++ b/README.md @@ -45,9 +45,9 @@ Every 5 seconds, the library run at the location of every player the following s ### `#smart_ore_generation:v1/denied_dimensions` * 🔍 This function tag is called when the library want to scan a region. You can add which dimension you want to deny from being scanned by adding a function to this tag. * 📝 To use this signal, you must add a function to the tag list located in `data/smart_ore_generation/tags/function/v1/signals/denied_dimensions.json`. -* 📖 Refer to this template for the content of the function [here](https://github.com/Stoupy51/SmartOreGeneration/blob/main/build/datapack/data/smart_ore_generation/function/v1.5.0/signals/denied_dimensions.mcfunction). +* 📖 Refer to this template for the content of the function [here](https://github.com/Stoupy51/SmartOreGeneration/blob/main/build/datapack/data/smart_ore_generation/function/v1.7.0/signals/denied_dimensions.mcfunction). ```mcfunction -#> smart_ore_generation:v1.5.0/signals/denied_dimensions +#> smart_ore_generation:v1.7.0/signals/denied_dimensions # # @within #smart_ore_generation:v1/signals/denied_dimensions # @executed as & at the player who triggered the event @@ -67,9 +67,9 @@ execute if score #authorized smart_ore_generation.data matches 1 if dimension mi ### `#smart_ore_generation:v1/generate_ores` * 🔍 This function tag is called when the library want to generate ores in a region. You can add your own ore generation function to this tag. * 📝 To use this signal, you must add a function to the tag list located in `data/smart_ore_generation/tags/function/v1/signals/generate_ores.json`. -* 📖 Refer to this template for the content of the function [here](https://github.com/Stoupy51/SmartOreGeneration/blob/main/build/datapack/data/smart_ore_generation/function/v1.5.0/signals/example/generate_ores.mcfunction) +* 📖 Refer to this template for the content of the function [here](https://github.com/Stoupy51/SmartOreGeneration/blob/main/build/datapack/data/smart_ore_generation/function/v1.7.0/signals/example/generate_ores.mcfunction) ```mcfunction -#> smart_ore_generation:v1.5.0/signals/generate_ores +#> smart_ore_generation:v1.7.0/signals/generate_ores # # @within #smart_ore_generation:v1/signals/generate_ores # @executed as a special marker & at a position you shouldn't care about @@ -89,19 +89,19 @@ execute if predicate simplenergy:in_overworld run scoreboard players set #dimens # Generate Simplunium Ore (x4) in the overworld only scoreboard players operation #min_height smart_ore_generation.data = _OVERWORLD_BOTTOM smart_ore_generation.data scoreboard players set #max_height smart_ore_generation.data 40 -execute if score #dimension smart_ore_generation.data matches 0 run function smart_ore_generation:v1.5.0/signals/example/simplunium_ore -execute if score #dimension smart_ore_generation.data matches 0 run function smart_ore_generation:v1.5.0/signals/example/simplunium_ore -execute if score #dimension smart_ore_generation.data matches 0 run function smart_ore_generation:v1.5.0/signals/example/simplunium_ore -execute if score #dimension smart_ore_generation.data matches 0 run function smart_ore_generation:v1.5.0/signals/example/simplunium_ore -# See the template in the link for the content of the function smart_ore_generation:v1.5.0/signals/example/simplunium_ore.mcfunction +execute if score #dimension smart_ore_generation.data matches 0 run function smart_ore_generation:v1.7.0/signals/example/simplunium_ore +execute if score #dimension smart_ore_generation.data matches 0 run function smart_ore_generation:v1.7.0/signals/example/simplunium_ore +execute if score #dimension smart_ore_generation.data matches 0 run function smart_ore_generation:v1.7.0/signals/example/simplunium_ore +execute if score #dimension smart_ore_generation.data matches 0 run function smart_ore_generation:v1.7.0/signals/example/simplunium_ore +# See the template in the link for the content of the function smart_ore_generation:v1.7.0/signals/example/simplunium_ore.mcfunction ``` ### `#smart_ore_generation:v1/post_generation` * 🔄 This function tag is called when the library has finished generating ores in regions. You can add your own post-generation function to this tag. * 📝 To use this signal, you must add a function to the tag list located in `data/smart_ore_generation/tags/function/v1/signals/post_generation.json`. -* 📖 Refer to this template for the content of the function [here](https://github.com/Stoupy51/SmartOreGeneration/blob/main/build/datapack/data/smart_ore_generation/function/v1.5.0/signals/example/post_generation.mcfunction) +* 📖 Refer to this template for the content of the function [here](https://github.com/Stoupy51/SmartOreGeneration/blob/main/build/datapack/data/smart_ore_generation/function/v1.7.0/signals/example/post_generation.mcfunction) ```mcfunction -#> smart_ore_generation:v1.5.0/signals/post_generation +#> smart_ore_generation:v1.7.0/signals/post_generation # # @within #smart_ore_generation:v1/signals/post_generation # @executed as none at none (default of a /schedule) @@ -130,9 +130,9 @@ execute if score #generated_deepslate_ore simplenergy.data matches 1 run scorebo ## 📤 Slots ### `#smart_ore_generation:v1/slots/random_position` * This function tag should be called when you need a random position in the region. -* To use properly this slot, see the template [here](https://github.com/Stoupy51/SmartOreGeneration/blob/main/build/datapack/data/smart_ore_generation/function/v1.5.0/signals/example/simplunium_ore.mcfunction) +* To use properly this slot, see the template [here](https://github.com/Stoupy51/SmartOreGeneration/blob/main/build/datapack/data/smart_ore_generation/function/v1.7.0/signals/example/simplunium_ore.mcfunction) ```mcfunction -#> smart_ore_generation:v1.5.0/signals/example/simplunium_ore +#> smart_ore_generation:v1.7.0/signals/example/simplunium_ore # # @example from SimplEnergy datapack # Always launch the random position function tag before anything else