Share

Share

Talk:Commands

From Minecraft Wiki
Jump to: navigation, search
Talk Archive

Proper uses for the not function in target selectors[edit]

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[edit]

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[edit]

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.[edit]

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 (talkcontribs) at 16:36, 26 January 2015 (UTC). Please sign your posts with ~~~~

  1. Pressing and while in chat allows to scroll the chat’s input history, including commands, and these can be sent/run again with ↵ Enter. In other words, press then ↵ Enter to repeat last text written in chat.
  2. 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.
  3. 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[edit]

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)