How to recreate the Life Steal SMP with commands Minecraft(BEDROCK)

Описание к видео How to recreate the Life Steal SMP with commands Minecraft(BEDROCK)

So I decided to make a lide steal command in bedrock edition of minecraft because it hasnt been done before from what i have found. also i didt show it in the video but make sure to have a ticking area around the commands
Make sure keep inventory is off and immediate respawn is on

REMADE VERSION AS SOME COMMANDS ARE OUT OF DATE:
   • How to recreate the Life Steal SMP RE...  

Commands in order shown in video
Tags:
/scoreboard objectives add deaths dummy Deaths
/scoreboard objectives setdisplay sidebar countheart
/scoreboard players set yourname deaths 0
/scoreboard players add @a Kills 0
/scoreboard objectives add Kills dummy Kills
/scoreboard objectives add countheart dummy

Give/take(killitem)
/give @p bedrock 1 0 {"item_lock":{"mode":"lock_in_inventory"}}
/clear @a bedrock 0 1

Kill finder command:
/execute @e[type=item, name="bedrock"] ~~~ scoreboard players add @p [r=50] Kills 1
/execute @a[scores={Kills=1}] ~~~ scoreboard players add @s countheart 1
/execute @a[scores={Kills=1}] ~~~ scoreboard players remove @s Kills 1
/kill @e[type=item,name=bedrock]

Death finder command
scoreboard players add @a[l=0,lm=0] deaths 1
xp 1l @a[l=0]
/scoreboard players remove @p countheart 1

Heart adder:
/clear @p nether_star 0 0
/tag @p add checkme
/setblock ~2 ~-1 ~ redstone_block
/clear @p[tag=checkme] nether_star 0 1
/scoreboard players add @p countheart 1
/tag @p remove checkme
/setblock ~-3 ~1 ~ air

Health booster:
/scoreboard players test @p countheart 4 200
/effect @p health_boost 1000000 1 true

/scoreboard players test @p countheart 6 200
/effect @p health_boost 1000000 2 true
(you will need to add some more unless you only want up to 6 hearts)

Crafting commands:
/testforblocks ~ ~1 ~ ~ ~1 ~ ~ ~ ~-1
/clone ~ ~1 ~ ~ ~1 ~ ~ ~ ~-2

Комментарии

Информация по комментариям в разработке