【Minecraft】How to Make a Custom Sword in 4 commands(Poison Sword)
Автор: Kindred
Загружено: 2021-07-28
Просмотров: 65565
Описание:
Sorry for the Audio. I really don't know why. Also sorry if there are any words mistake. English is not my first language.
Commands:
Custom tag item
/give @p minecraft:iron_sword{Custom:11}
or
/give @p minecraft:iron_sword{Custom:11,display:{Name:'{"text":"Poison Sword","color":"green","italic":false}'}}
Scoreboard
/scoreboard objectives add hit minecraft.custom:minecraft.damage_dealt
Effect
/execute at @a[nbt={SelectedItem:{tag:{Custom:11}}},scores={hit=1..}] run effect give @e[distance=..7,nbt={HurtTime:10s}] minecraft:poison 10 10
You can change any effect you want
e.g.
/execute at @a[nbt={SelectedItem:{tag:{Custom:11}}},scores={hit=1..}] run effect give @e[distance=..7,nbt={HurtTime:10s}] minecraft:wither 10 10
Scoreboard reset
/scoreboard players reset @a hit
Holding effect
/effect give @a[nbt={SelectedItem:{tag:{Custom:11}}}] minecraft:speed 2 2 true
Holding particle
/execute at @a[nbt={SelectedItem:{tag:{Custom:11}}}] run particle minecraft:enchant ~ ~1 ~ 0.5 0.5 0.5 0.1 1 normal @a
BGM:
• 【作業用BGM】hololive music studio - lofi & chi...
#Minecraft
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: