Mining command block command
download it from this address, and then open Ctrl + A to it all
create a scoreboard
/ scoreboard objects add Iname mmy
Step 2:
connect all command blocks to HF Redstone< br />scoreboard players set @e[type=Item] IName 1 {Item:{id:" minecraft:stone" }}
here, my mining object is stone, which can be changed to others. The command means to add 1 to all the fallen stones in the Iname integral version
Step 3:
execute @ E [type = item, score]_ IName=1] ~ ~ ~ setblock ~ ~-1 ~ minecraft:air 2 Destroy
this is to dig down a space (if you use blockdata, you can see if there is bedrock below)
hold the "stone" and press Q, you will find that you are digging. But you will find that your mining machine is too simple.
/ fill ~ 10 ~ 10 ~ 10 ~ - 10 ~ - 10 ~ - 10 air 0 destroy
that is to say, if you destroy a block, you will drop something. Of course, some blocks will not fall, such as water
/Give person item ID quantity - give someone an item, If you don't write the quantity, the quantity will be given by default to 64
/ nickid name - change someone's name ID is the name added to the white list
/ backup - run the backup command
/ fireball - launch a fireball (will destroy the box)
/ healname - treat someone
/ invseaname - view someone's package
/ lingningname - Curse (not filling in the name will strike the place where the mouse points)
/ Mutename - forbid someone
/ ping-pong
/ senname - check the last exit time of someone
/ tpname1name2 - transfer character 1 to character 2
/ tpname - transfer yourself to someone
/ tpherename - transfer someone to yourself
/ tpall - transfer everyone in the server to yourself (big transfer array)
(the above four commands need to Party online, no need for the other party's consent)
/ Unlimited - give yourself unlimited items
/ weatherstorm / Suntime - change the weather, Thunderstorm or sunny day
/ mmoeditnamesknamerank - if the mcrpg plug-in is installed, you can use this command to change someone's skill level. Unarmed archery
[axe
[mining
[repair
/ forestgen - form a forest beside yourself
/ Pumpkins - form a pumpkin forest beside yourself (a pumpkin forest with leaves)
/ snow - look like after snow beside yourself
/ that - melt snow (and ice)
/ Butcher - kill nearby monsters
/ tree - create a tree (tree shape can be filled)
tree shape: big tree ewquoia - Mahogany tallsequoia - tall mahogany
birch - shirt tree random
/ up height - raise yourself to a certain height, Support worldedit with a piece of glass that may be suspended at your feet:
with a wooden axe in hand, left click on the corner and right click on the corner, The box between the two corners is the selection area:
/ / setid - change the selected area into an item (if the item cannot be placed or has no placement point, it will be thrown)
/ / undo - restore the last worldedit action
/ / redo - restore the last / / undo (this instruction may be wrong)
/ / MOVEX - move the area X blocks. When moving, it should face the area and news
/ / movexup - move area up x blocks
/ / movexup - move area down x blocks
replace instruction: / / replacexxxyyy (XXX is the original block, YYY is the replacement block)
instruction / / / (where do you it, Wait a minute, paste will also appear in the same position)
Paste command: / / paste
enter the fence command: / / wallsxxascend - upgrade yourself to the previous platform
bind & lt; Keycode value & gt& lt; Command & gt{ Command keywords} - set one key command
clear - clear console
damage - close or open the damage, that is invincible
descend - move yourself to the next platform
Destroy [all] - destroy the current thing (backpack)
defuse [all] - dismantle the ignited TNT explosive
diff & lt; VALUE>- X
difficulty< VALUE>- Set the difficulty of the game
dropstore - create a locker nearby
* drops - switch the items to drop, and if it's closed, it can't drop anything
PE [all] - things
replicate [all] - things on your hands and throw them out
Expand [range] - set a place to explode (use it carefully in your own home)
extinguish [all] - extinguish all fires around
ext [all] - extinguish fire
fallage - switch high altitude falling damage
firedamage - switch fire damage
fly flight mode
< P > * freeze - strange Objectgive & lt; Items & gt[ Quantity] - give an item
goto & lt; Name & gt- Go to a place
grow [all] - let wheat grow immediately
H [command] - command list / help
heal & lt; HEALTH>- Supplement designated blood
Health & lt; MIN|MAX|INFINITE>- Set health value
help [command] - command list / help
home back to birth point
I & lt; Item code & gt[ Quantity] - brush things
instantmine switch real time mining (mining without delay)
item & lt; Item code | item name & gt[ Quantity] [cost] gives the player items, if not specified, the maximum quantity
itemname - displays the name of the item on hand
itemstack & lt; Item code & gt[ Number] - give players a specified number of items
kill suicide does not explain
jump - blink to where the mouse points to
killnpc [all] - kill all NPCs around or kill all living creatures nearby except yourself
l-x
* light - permanently turn off light
listwaypoints - list all path points
macro & lt; File name & gt{ Parameter} - allow to run macro
maxstack [item ID | item name | all] [quantity] - pile up the largest items
* mobdata - monsters will not hurt you
MSG & lt; News & gt- Add a message to the console
Music [volume] - play music
noclip - through the wall
p - display current coordinates
POS current player coordinates
reach & lt; DISTANCE>- Player to the designated place
Return - transfer to the previous place
REM & lt; NAME>- Delete designated waypoint
removedrops [all] - delete items on the ground
* rename & lt; COMMANDNAME>& lt; NEWNAME>- Modify command name
Duplicate [all] - x
repair [all] - repair current item rability
Reset - restore default settings
S & lt; Name & gt- Sameas/set
search< Key words & gt- Search item name
Set & lt; Name & gt- Mark a path point in this world
setjump [jump | reset] - set the height landing damage of jump and move 1:1
setspawn [& lt; X>& lt; Y>& lt; Z>] Set current position X axis Y axis Z axis
setspeed - set moving speed
span & lt; NAME|ID|random|list>[ [qty] - proce an organism
pawnstack & lt; NAME|ID|random|list>{ Name | ID | random} - proce a combined monster NPC
* superheat [all] - turnsites which are efficient in the other direction form
T & lt; X>& lt; Y>& lt; Z>- Sameas/tele
tele< X>& lt; Y>& lt; Z>- Send to this coordinate
time [set | get | day | night [minute | hour | day [time]]] - set the specified time to get the item
timescale & lt; reset|< TIME1>& lt; TIME2>& gt;- Set a period of time to keep the world in this period forever; Keycode value & gt- Release a command
useportal - Teleport to hell
waterdamage - switch diving damage
World & lt; load|save|seed|new|exit|list>- World intelligence
World load & lt; FILENAME>- Load the specified file
worldsave - save and exit the game
worldseed [seed] - show you how many squares there are in your world
WorldNew [file name] [seed] - create a new map in the specified location
worldexit - exit the game without saving
worldlist - list all the files. You can go here to see the
extension
you are on the console Down /? Or / help will appear all the instructions
as for the random death code is not available, but you can let the command box randomly select players to send to a place to cause a player to die, so as to achieve the purpose of random death (it is invalid to enter kill in the command box)
is there any problem
Step 1: we need to create a scoreboard called ore variable mmy
/ scoreboard objectivesaddoremmy
Step 2: build a command box device
Step 3: enter the command
Second/ scoreboardplayersset@e [type=Item]ore1{Item:{id: minecraft:iron_ Ore}
set the iron ore fraction on the ground to 1
in order to generate ingots in it, set its score to 1
the third/ execute@e [score_ ore=1,score_ ore_ min=1]~~~summonItem~~~{Item:{id:" minecraft:iron_ ingot", C ount:1 ,D amage:0 }}
a well burnt iron ingot is generated by taking the iron ore with fraction of 1 as the center.