118: Portable Auto-Miner. [Minecraft Map Making]
Ep118: An Auto Miner that you can carry around and when placed will mine the stone around it.
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 server I play on and the Discord where I hang out.
Server IP: 51.81.246.145:25588
Discord: https://discord.gg/KNSmPWdnfG
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: YouTube formatting may make some of these wrong. :)
Give Miner Kit:
IUN: give @p emerald_block{display:{Name:'{"text":"Miner Kit"}',Lore:['{"text":"Throw on the floor to unpack."}']},minerKit:1b} 1
Create Miner block:
RUA: execute as @e[nbt={Item:{tag:{minerKit:1b}},OnGround:1b}] at @s run setblock ~ ~ ~ emerald_block replace
CUA: execute as @e[nbt={Item:{tag:{minerKit:1b}},OnGround:1b}] at @s run summon armor_stand ~ ~ ~ {NoGravity:1b,Tags:["minerBlock"],Marker:1b,Invisible:1b}
CUA: execute as @e[nbt={Item:{tag:{minerKit:1b}},OnGround:1b}] at @s run kill @s
Kill lonely miners:
RUA: execute as @e[tag=minerBlock] at @s run execute unless block ~ ~ ~ emerald_block run kill @s
Create Miner item:
RUA: execute as @e[nbt={Item:{id:"minecraft:emerald_block"}},nbt=!{Item:{tag:{minerKit:1b}}}] at @s run give @p emerald_block{display:{Name:'{"text":"Miner Kit"}',Lore:['{"text":"Throw on the floor to unpack."}']},minerKit:1b} 1
CUA: kill @e[nbt={Item:{id:"minecraft:emerald_block"}},nbt=!{Item:{tag:{minerKit:1b}}}]
Mining timer:
RUA: scoreboard players add #minerBlock timer 1
CUA: execute if score #minerBlock timer matches 41.. run scoreboard players set #minerBlock timer 0
CCA: setblock 1 1 1 redstone_block replace
Block checking:
IUN: execute at @e[tag=minerBlock] run execute if block ~1 ~ ~ stone run setblock ~1 ~ ~ air destroy
CUA: execute if block 1 1 1 command_block{SuccessCount:0} run execute at @e[tag=minerBlock] run execute if block ~ ~ ~1 stone run setblock ~ ~ ~1 air destroy
CUA: execute if block ~-1 ~ ~ chain_command_block{SuccessCount:0} run execute if block 1 1 1 command_block{SuccessCount:0} run execute at @e[tag=minerBlock] run execute if block ~-1 ~ ~ stone run setblock ~-1 ~ ~ air destroy
extend as far as needed...
Other Videos By Infernal Device
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.