Talk:Commands/Archive 3

Proper uses for the not function in target selectors
Does anyone have some sort of complete list of valid uses for the not function for the target selectors? It doesn't seem to ever work for any selectors that use numbers, such as @a[score_test=!1], as far as I can tell, but it does work with team names and player names, such as for @a[name=!name], @a[team=!RedRobins], or @e[type=!Player]

Is it completely restricted to selectors that aren't numbers? Kavukamaritalk 06:28, 2 January 2015 (UTC)
 * It's only available for string-based parameters, being limited to those you've listed. Skylinerw (talk) 14:36, 2 January 2015 (UTC)

Not accurate /kill description
The wiki page says the following about the kill command :

"On success, inflicts 1000 ((heart) × 500) void damage to targets "

To test that, I gave myself Health Boost 255 and healed myself completely, so I had 1044 hp, or 522 hearts (I checked it with the scoreboard), then used the /kill command.

Instead of putting me to 44hp, I died instantly.

This is what sould be expected from a "kill" command, but isn't what the page says.

I also noticed that /kill ignore absorbtion hearts, putting you at 0 normal heart without removing any of them (wich kills you anyway).

Tested on 1.8.1 in SinglePlayer. --77.205.214.83 21:12, 14 January 2015 (UTC)


 * Looks like this was changed in 1.6; instead of 1000 damage, it now does Float.MAX_VALUE, roughly 3.4 x 1038. -- Orthotopetalk 20:59, 14 January 2015 (UTC)

Achievement info
Just wondering when the "take" option was added to achievement. I'm in 1.7.10 and "/achievement give" is the only option. Was expecting to find it in the history section at least. WildBluntHickok (talk) 14:27, 19 January 2015 (UTC)

Inputting multiple commands at once.
Hi, so I have been playing around with the fill and set block commands to make relatively complex structures (like houses and castles) that can be made entirely by typing commands and so can be shared with friends and easily recreated in different worlds. However, this gets really laborious when they start to get complicated because every command has to be entered separately - this takes loads of time and has too much room for error in my liking. Is there a way to copy and paste a whole load of commands at once? Is there a notation I can use to separate them? or is there a mod that allows you to do this? Please let me know - I am bored to death of "ctrl c, open text, ctrl v, enter, ....." repeat til you're sick :(

Thank you!!! –Preceding unsigned comment was added by DragonzFriend (talk • contribs) at 16:36, 26 January 2015 (UTC). Please sign your posts with


 * Pressing and  while in chat allows to scroll the chat’s input history, including commands, and these can be sent/run again with . In other words, press  then  to repeat last text written in chat.
 * Running multiple commands at once requires multiple command blocks synced to a redstone circuit, or a bunch of other players, as long as they and you run the commands simultaneously.
 * Please sign your comments with . LauraFi added the “Preceding unsigned comment...” message using a template called AutoUnsigned. I may explain it later.
 * I’m Nick the Red37, f.k.a. Naista2002  16:53, 26 January 2015 (UTC)


 * thanks for your answer but I guess I wasn't very clear before, I was meaning that I want to copy and paste MULTIPLE DIFFERENT written commands from OUTSIDE minecraft (e.g. a text file) into ANY minecraft world and the issue I'm having at the moment is that this all has to be done one command at a time, which takes a long time when there are 50+ commands. I want to paste and enter them all in one go - do you want me to give an example?
 * Sorry for not signing before,
 * DragonzFriend (talk) 17:00, 26 January 2015 (UTC)
 * I don’t think it is possible in Minecraft at all. And, it is generally better to indent comments on talk pages. — I’m Nick the Red37, f.k.a. Naista2002  17:04, 26 January 2015 (UTC)


 * Ok :( thanks for your help :( DragonzFriend (talk) 17:06, 26 January 2015 (UTC)

Give Command May Not Work as Described
I'd make an edit on the main page myself, but I'm pretty bad with server commands and I wanted to make sure I was correct about this. The "Give" command's "item" parameter says it must be a valid item ID or block ID and gives the example "256" or "minecraft:iron_shovel". Is the former example still valid? In the past I could use give and use the numerical item ID, but now Minecraft seems to not accept numbers and require minecraft:iron_shovel instead. Alex3me0 (talk) 18:44, 20 February 2015 (UTC)


 * the former example is outdated, I've updated the page appropriately. – KnightMiner  (t·c) 18:52, 20 February 2015 (UTC)

Redo Table
The table is very bulky, missing command-block information, and poorly formatted. Here's an idea on how to change it:

Combine Op Only and Multiplayer Only into Restrictions. Combine Blocks, Players, Entities, and World into Alters.

Restrictions column:

Operator Multiplayer No command blocks

If some of these restrictions don't apply for a command, use only the rows for the relevant restrictions. If none of these apply, type None.

Colors:


 * None - White with black text
 * Operator - Cyan with cyan text
 * Multiplayer - Magenta with magenta text
 * No command blocks - Yellow with yellow text
 * Operator and Multiplayer - Blue with blue text
 * Operator and No command blocks - Green with green text
 * Multiplayer and No command blocks - Red with red text
 * Operator, Multiplayer, and No command blocks - Black with white text

Of course, the cell color should be lighter than the text itself except for white and black cells.

Alters:

Blocks Players Entities World

Only include the relevant ones. If it doesn't alter any blocks, write None.

Colors:


 * White if None
 * Orange if Blocks
 * Magenta if Players
 * Light blue if Entities
 * Yellow if World
 * Lime if Blocks and Players
 * Pink if Blocks and Entities
 * Gray if Blocks and World
 * Light gray if Players and Entities
 * Cyan if Players and World
 * Purple if Entities and World
 * Blue if Blocks, Players, and Entities
 * Brown if Blocks, Players, and World
 * Green if Blocks, Entities, and World
 * Red if Players, Entities, and World
 * Black if Blocks, Players, Entities, and World

Wool colors (go figure) and same text color rules as Restrictions. 108.216.23.232 00:10, 28 March 2015 (UTC)


 * The table is a summary, it does not need to list command block restrictions as there are exceptions to the rule of "if multiplayer, no command blocks".
 * Combining restrictions might make sense, though having two columns state a little text compared to a lot of text in a single column is not needed – KnightMiner  t/c 02:47, 28 March 2015 (UTC)


 * The problem with combining things into a single column is that it makes it impossible to quickly sort by any one trait so that you quickly get all the commands which affect, say, Players, to the top of the table. That's mostly what i use the table for, personally. &mdash;munin &middot; Grid_Book_and_Quill.png Grid_Stone_Pickaxe.png &middot; 15:33, 28 March 2015 (UTC)