171: Expanded Ep:170 health system. [Minecraft Map Making]

Subscribers:
3,920
Published on ● Video Link: https://www.youtube.com/watch?v=t4bprAk1VDw



Minecraft
Game:
Minecraft (2011)
Duration: 10:50
371 views
13


Ep171: Adding a couple of extra features to the apple health system from Episode: 170.

Java Version: 1.19

Commands, builds and ideas for people making their own Minecraft maps.

Check out my collabs on Coppit's channel: https://www.youtube.com/c/CoppitJ

Join the CoppitCraft server that I play on and the Discord where I hang out.
Server IP: 51.81.246.145:25588
Discord: https://discord.gg/amU84KykEu

The following commands are prefixed with three letters which represent the settings of the command block. E.g IUN: = Impulse Unconditional Needs_Redstone. These prefixes need to be removed if copying the commands.

Commands used:


Add Apple Lore and Apple Base Level:
Objective:
IUN: scoreboard objectives add appleBaseLevel dummy

Replace first two Controller commands with the following:
RUA: execute at @a[scores={death=1..}] run summon item ~ ~ ~ {Tags:["health_apple","init"],Item:{id:"minecraft:apple",Count:1b,tag:{display:{Name:'{"text":"Health Apple"}',Lore:['{"text":"Eat to gain the contained health levels."}','{"text":"Levels: "}']}}}}
CUA: execute as @a[scores={death=1..}] run scoreboard players operation #fakePlayer appleBaseLevel += @s health.copy
CUA: execute as @a[scores={death=1..}] at @s store result entity @e[type=item,tag=health_apple,tag=init,distance=..1,limit=1] Item.tag.health.add short 1 run scoreboard players get #fakePlayer appleBaseLevel
CUA: execute as @a[scores={death=1..},limit=1] run data merge block 39 57 11 {Text1:'[{"text":"Levels: "},{"score":{"name":"#fakePlayer","objective":"appleBaseLevel"}}]'}
CUA: execute as @a[scores={death=1..},limit=1] run data modify entity @e[type=item,tag=health_apple,limit=1,sort=nearest] Item.tag.display.Lore[1] set from block 39 57 11 Text1

Put on the end of the controller:
CUA: scoreboard players set #fakePlayer appleBaseLevel 4







Tags:
minecraft
adventure map
map making
commands
command blocks
1.18
custom commands
redstone
map ideas
map suggesstions
custom maps
1.19



Other Statistics

Minecraft Statistics For Infernal Device

At present, Infernal Device has 182,939 views spread across 869 videos for Minecraft, accounting for over 10 days of watchable video on his channel. This is 94.82% of the total watchable video for Minecraft on Infernal Device's YouTube channel.