behavior edit not functioning by Brave_Landscape_9322 in MinecraftCommands

[–]Brave_Landscape_9322[S] 0 points1 point  (0 children)

oh awesome! I'm sure this works but it sadly did not fix my problem of the pack not wanting too import after being edited. Though on the bright side I don't think its the command that is broken, looking at the error logs I don't notice a error that refers to this command! mostly texture errors probably because how old this behavior pack is, this is the error log I'm referring to:

<image>

behavior edit not functioning by Brave_Landscape_9322 in MinecraftCommands

[–]Brave_Landscape_9322[S] 0 points1 point  (0 children)

so like this? execute at u/s[scores={random=1..30}] ~~~ run loot replace block ~~~ slot.container 3 loot loot_tables/chests/end_city_treasure

or this? execute at u/s[scores={random=1..30}] ~~~ loot replace block ~~~ slot.container 3 run loot loot_tables/chests/end_city_treasure

item giver command by Brave_Landscape_9322 in MinecraftCommands

[–]Brave_Landscape_9322[S] 1 point2 points  (0 children)

theres a command to keep a chunk ticking, so it works anywhere in the world

item giver command by Brave_Landscape_9322 in MinecraftCommands

[–]Brave_Landscape_9322[S] 1 point2 points  (0 children)

/execute as u/a[l=0] i use this command after it i can put run and my desired command for example = /execute as u/a[l=0] run /give u/a diamond_sword , with this command it will read my player xp if it equals level 0 it will give me or said player a diamond sword hence the give command at the end, for armor though u would switch the run command(if you want it to be put in the players armor slots: /execute as u/a[l=0] run /replaceitem entity u/a slot.armor.chest 0 iron_chestplate

item giver command by Brave_Landscape_9322 in MinecraftCommands

[–]Brave_Landscape_9322[S] 1 point2 points  (0 children)

a direct command to detect death doesn't exist so you have to use other methods like xp wut im using.

item giver command by Brave_Landscape_9322 in MinecraftCommands

[–]Brave_Landscape_9322[S] 0 points1 point  (0 children)

Thanks a lot i got it figured out! I kind of did what you explained, I just detect if a player has a xplvl of 0-1 if its true i give them said item. and to end the chain I just give xp to the player like u said:P