394: Simple damage test dummy. [Minecraft Map Making]

Subscribers:
3,590
Published on ● Video Link: https://www.youtube.com/watch?v=41iTuBo3zA8



Minecraft
Game:
Minecraft (2011)
Duration: 0:00
212 views
14


Membership:    / @infernaldevice  
Ep394: Inviting my slime friend Bob around so we can repeatedly punch him in the face to see how much damage it does.

00:00 Intro
01:50 Setup
02:20 Create dummy
03:50 Remove dummy
04:20 Controller
08:50 Waffling

Version: 1.21

Command help: GalSergey

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

Check out my collabs on Coppit's channel:    / coppitj  

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

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.

Since angled brackets are not allowed in YouTube descriptions you will have to replace "greater than" and "less than" with the appropriate angled bracket.

Commands used:

Setup:
IUN: scoreboard objectives add health dummy
CUA: scoreboard objectives add previous_health dummy

Summon:
IUN: summon slime ~2 ~ ~ {Tags:["show_damage"], Size:1, NoAI:true, Health:1000f, attributes:[{id:"generic.max_health", base:1000}], DeathLootTable:"empty", Rotation:[180f, 0f]}

Controller:
RUA: execute as @e[type=slime, tag=show_damage] store result score @s health run data get entity @s Health
CUA: execute as @e[type=slime, tag=show_damage, scores={previous_health=0..}] run scoreboard players operation @s previous_health -= @s health
CUA: execute as @e[type=slime, tag=show_damage, scores={previous_health=1..}] run tellraw @p [{"text":"Damage: "}, {"score":{"name":"@s","objective":"previous_health"}}]
CUA: execute as @e[type=slime,tag=show_damage] run scoreboard players operation @s previous_health = @s health
CUA: data merge entity @e[type=slime, tag=show_damage, limit=1] {Health:1000}







Other Statistics

Minecraft Statistics For Infernal Device

At present, Infernal Device has 181,722 views spread across 860 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.