#how can i create a data pack that enchants something in your inventory every second

1 messages · Page 1 of 1 (latest)

astral grove
fallow duneBOT
#

<@&1201956957406109788>

Someone will come and help soon!

💬 While you wait, take this time to provide more context and details.

✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve

fallow duneBOT
# fallow dune <@&1201956957406109788>

<@&1166082198152159386> <@&1202694677766348840>

🙇 Helpers Arise!

Please note that you still might not immediately get a response since all helpers are human beings and volunteers (and also might be sleeping right now)

astral grove
#

is this good code?

#

COMMANDS

scoreboard players set #b.timer bre.enchant 0

RANDOMLY SELECTING AND APPLYING ENCHANTS ITEMS

item modify entity @s armor.chest ssr_bre:enchant
item modify entity @s armor.feet ssr_bre:enchant
item modify entity @s armor.head ssr_bre:enchant
item modify entity @s armor.legs ssr_bre:enchant

item modify entity @s hotbar.0 ssr_bre:enchant
item modify entity @s hotbar.1 ssr_bre:enchant
item modify entity @s hotbar.2 ssr_bre:enchant
item modify entity @s hotbar.3 ssr_bre:enchant
item modify entity @s hotbar.4 ssr_bre:enchant
item modify entity @s hotbar.5 ssr_bre:enchant
item modify entity @s hotbar.6 ssr_bre:enchant
item modify entity @s hotbar.7 ssr_bre:enchant
item modify entity @s hotbar.8 ssr_bre:enchant

item modify entity @s weapon.offhand ssr_bre:enchant

item modify entity @s inventory.0 ssr_bre:enchant
item modify entity @s inventory.1 ssr_bre:enchant
item modify entity @s inventory.2 ssr_bre:enchant
item modify entity @s inventory.3 ssr_bre:enchant
item modify entity @s inventory.4 ssr_bre:enchant
item modify entity @s inventory.5 ssr_bre:enchant
item modify entity @s inventory.6 ssr_bre:enchant
item modify entity @s inventory.7 ssr_bre:enchant
item modify entity @s inventory.8 ssr_bre:enchant
item modify entity @s inventory.9 ssr_bre:enchant
item modify entity @s inventory.10 ssr_bre:enchant
item modify entity @s inventory.11 ssr_bre:enchant
item modify entity @s inventory.12 ssr_bre:enchant
item modify entity @s inventory.13 ssr_bre:enchant
item modify entity @s inventory.14 ssr_bre:enchant
item modify entity @s inventory.15 ssr_bre:enchant
item modify entity @s inventory.16 ssr_bre:enchant

spare turtle
#

It's not strictly bad, but it doesn't do what you want

hushed gulchBOT
#
AI can't make datapacks

AI generators, such as ChatGPT, Gemini, Claude, and Copilot generally cannot be used to make datapacks. While it might look like it gives you good datapack code, in 90% of cases it will not work. There is not enough information online about datapacks in order for them to be accurate.

If you ask for help with an AI generated datapack, you will likely be asked to start again.

astral grove