

“Dealing Damage to Mobs with the /damage Command!”
How to Set Up the Command Blocks

Command entered in the Command Block:
Command Block A1
Block Type: Repeat / Redstone: Always Active
/scoreboard objectives add count dummy
➡️ This allows you to record the number of times the stone has moved.
Command Block A2
Block Type:Chain / Redstone: Always Active
/execute as @e[name="Stone"] at @s if block ~~-1~ air run tp ^^-1^0.5
➡️ This recreates a movement where the stone appears to slide down through the air. Commands A2 and A3 together make the stone fly forward, gliding over the ground.
Command Block A3
Block Type:Chain / Redstone: Always Active
/execute as @e[name="Stone"] at @s unless block ~~-1~ air run tp ^^1^0.5
➡️ This makes the stone appear to jump or fly over the ground. Commands A2 and A3 together make the stone fly forward, gliding over the ground.
Command Block A4
Block Type:Chain / Redstone: Always Active
/execute as @e[name="Stone"] at @s run particle minecraft:mobflame_single ~~~/
➡️ This adds a flame effect to the flying stone.
Command Block C5
Block Type:Chain / Redstone: Always Active
/execute as @e[name="Stone"] at @s run damage @e[family=mob,r=2] 5 fire entity @p
➡️ This makes the fireball damage nearby mobs.
Command Block C6
Block Type:Chain / Redstone: Always Active
/execute as @e[name="Stone"] at @s as @e[family=mob,r=2] at @s run setblock ~~~ fire keep
➡️ This makes the spot where the fireball touches a mob catch fire.
Command Block B1
Block Type: Repeat / Redstone: Always Active
/scoreboard players add @e[name="Stone"] count 1
➡️ This calculates the number of moves or the duration the stone has been moving.
Command Block B2
Block Type:Chain / Redstone: Always Active
/kill @e[name="Stone",scores={count=50..}]
➡️ This prevents the stone from flying forever and automatically stops the process.
Minecraft: Education Edition is a version of Minecraft specifically designed for educational use. It aims to help students develop skills in creative problem-solving, collaboration, and communication. A key feature is the ability to learn programming through tools like MakeCode and Python. It also provides specialized features for the classroom, including teacher management tools, lesson plans, and educational content.
