Skip to content

Commit

Permalink
Some utils
Browse files Browse the repository at this point in the history
  • Loading branch information
LTHCTheMaster committed Sep 23, 2021
1 parent 4b710de commit 10cd4dc
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 12 deletions.
15 changes: 13 additions & 2 deletions assets/minecraft/lang/fr_fr.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"LTHC Table": "Table LTHC",
"Air Fisher": "Pêcheur dans l'Air",
"LTHC.Utils was succesfully uninstalled": "LTHC.Utils a été désinstallé avec succés",

"[Book] kaometicolinuriam": "[Livre] kaometicolinuriam",
"[Book] Universal Mana": "[Livre] Mana Universel",
Expand Down Expand Up @@ -64,9 +65,19 @@
"Have a magic level 3 or greater, and 2500+ mana for the best magic": "Ayez un niveau magique de 3 ou +, et 2500+ mana pour la MAGIE",
"By the ice's power, you can slow your enemies": "Par le pouvoir du givre, vous pouvez ralentir vos enemies",
"The Ice!": "Le Givre!",
"Water Power": "Povir de l'Eau",
"Water Power": "Pouvoir de l'Eau",
"Now you cannot config some properties of LTHC's Magic And Spells Universe": "Maintenant tu ne peux plus configurer certaines propriétés de LTHC's Magic And Spells Universe",
"Now you can config some properties of LTHC's Magic And Spells Universe": "Maintenant tu peux configurer certaines propriétés de LTHC's Magic And Spells Universe",
"The Anger of God is comming on this world": "La Colère de Dieu arrive sur ce monde",
" \"lmasu\" owned entities were cleared": " entités \"lmasu\" ont été éliminées"
" \"lmasu\" owned entities were cleared": " entités \"lmasu\" ont été éliminées",
"was loaded": "est chargé",
"Thanks for use this datapack of magic": "Merci d'utiliser ce datapack de magie",
"You can claim guide books with ": "vous pouvez obtenir les livres d'aide avec ",
"Author: LTHC, Credits: Thanks to ": "Auteur: LTHC, Crédits: Merci au ",
"DataWorld discord": "discord DataWorld",
" for help": " pour l'aide",
"Github link: ": "Lien Github: ",
"click here": "clic ici",
"\n __ __ __\n\u263a Enjoy magic \u263a": "\n __ __ __\n\u263a Aime la magie \u263a",
"LTHC's Magic And Spells Universe was succesfully uninstalled": "LTHC's Magic And Spells Universe a été désinstallé avec succés"
}
1 change: 1 addition & 0 deletions data/lthc.giver/functions/lthc.utils/air_fisher.mcfunction
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
give @s glow_item_frame{display:{Name:'{"translate":"Air Fisher","color":"#2BE3FF","bold":false,"italic":false,"underlined":false}'},CustomModelData:27102,EntityTag:{Tags:["lthc.utils.air_fisher"],Silent:1b,Item:{id:"minecraft:glow_item_frame",Count:1b,tag:{CustomModelData:27102}},Invulnerable:1b,Invisible:1b,Fixed:1b}} 1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
give @s book{display:{Name:'{"text":"LTHC Guide Book","color":"#B663FF","bold":false,"italic":false,"underlined":false}'},CustomModelData:27103,lthc.utils.guide_book:true} 1
1 change: 1 addition & 0 deletions data/lthc.giver/functions/lthc.utils/lthc_table.mcfunction
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
give @s glow_item_frame{display:{Name:'{"translate":"LTHC Table","color":"#03FF35","bold":false,"italic":false,"underlined":false}'},CustomModelData:27101,EntityTag:{Tags:["lthc.utils.crafter"],Silent:1b,Item:{id:"minecraft:glow_item_frame",Count:1b,tag:{CustomModelData:27101}},Invulnerable:1b,Invisible:1b,Fixed:1b}} 1
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"text": "Hey!! \n ",
"extra": [
{
"text": "Utils 1.3 Version \n "
"text": "Utils 1.4 Version \n "
}
]
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
setblock ~ ~ ~ dropper{CustomName:'{"translate":"Air Fisher","color":"#2DE3FF","bold":false,"italic":false,"underlined":false}'} replace
execute positioned ^ ^ ^0.5 align xyz run summon armor_stand ~ ~ ~ {Fire:1000000,Small:1b,Marker:1b,Invisible:1b,NoBasePlate:1b,Tags:["lthc.utils.air_fisher"],ArmorItems:[{},{},{},{id:"minecraft:glow_item_frame",Count:1b,tag:{CustomModelData:27102}}]}
kill @s
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
setblock ~ ~ ~ dropper{CustomName:'{"translate":"LTHC Table","color":"#03FF35","bold":false,"italic":false,"underlined":false}'} replace
execute positioned ^ ^ ^0.5 align xyz run summon armor_stand ~ ~ ~ {Fire:1000000,Small:1b,Marker:1b,Invisible:1b,NoBasePlate:1b,Tags:["lthc.utils.crafter"],ArmorItems:[{},{},{},{id:"minecraft:glow_item_frame",Count:1b,tag:{CustomModelData:27101}}]}
kill @s
4 changes: 2 additions & 2 deletions data/lthc.utils/functions/custom_blocks/main.mcfunction
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# LTHC Table
execute as @e[type=glow_item_frame,tag=lthc.utils.crafter] at @s run function lthc.utils:custom_blocks/lthc_table/place
execute as @e[type=armor_stand,tag=lthc.utils.crafter] at @s unless block ~ ~ ~ dropper run function lthc.utils:custom_blocks/lthc_table/remove
execute as @e[type=glow_item_frame,tag=lthc.utils.crafter] at @s unless block ~ ~ ~ dropper run function lthc.utils:custom_blocks/lthc_table/remove

# Air Fisher
execute as @e[type=glow_item_frame,tag=lthc.utils.air_fisher] at @s run function lthc.utils:custom_blocks/air_fisher/place
execute as @e[type=armor_stand,tag=lthc.utils.air_fisher] at @s unless block ~ ~ ~ dropper run function lthc.utils:custom_blocks/air_fisher/remove
execute as @e[type=glow_item_frame,tag=lthc.utils.air_fisher] at @s unless block ~ ~ ~ dropper run function lthc.utils:custom_blocks/air_fisher/remove
9 changes: 6 additions & 3 deletions data/lthc.utils/functions/uninstall.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,15 @@ scoreboard objectives remove lthc.utils_booky
scoreboard objectives remove lthc.utils_page
scoreboard objectives remove lthcutils.ls

schedule clear lthc.utils:custom_craft/main
schedule clear lthc.utils:custom_craft/channel0/main
schedule clear lthc.utils:custom_craft/channel1/main
schedule clear lthc.utils:tick

function #lthc.utils:uninstall/uninstall

datapack disable "file/lthc.utils_dp_1.3v"
datapack disable "file/lthc.utils_dp_1.3v.zip"
tellraw @a [{"translate":"LTHC.Utils was succesfully uninstalled","bold":true,"underlined":true,"color":"#FFFF00"}]

datapack disable "file/lthc.utils_dp_1.4v"
datapack disable "file/lthc.utils_dp_1.4v.zip"
datapack disable "file/lthc.utils_dp"
datapack disable "file/lthc.utils_dp.zip"

0 comments on commit 10cd4dc

Please sign in to comment.