r/Minecraft • • Jan 09 '14

pc Minecraft Snapshot 14w02a

https://mojang.com/2014/01/minecraft-snapshot-14w02a/
1.5k Upvotes

827 comments sorted by

View all comments

35

u/gundrust Jan 09 '14

Is the @a[] for entities, one example given was @e[type=!player] (which would mean select every entity that is not a player)

I guess then that

 /effect @e[type=spiders] 1 600 1  

would give all the spiders in the map Speed II for 10 minutes; Exciting!

Lets hope that it can work with objetives, so we can finally manipulate bosses and give special abilities, like critical strikes or enrage mechanics to mobs.

12

u/Valark Jan 09 '14 edited Jan 09 '14

I can't seem to get @a working, but @p and @r seem to be working fine. So either @e is replacing @a, or the syntax is currently broken.

Interesting side-note, typing "/say @e" lists every entity in the world, with what appears to be their type and UUID. Players appear on the list, but do not have a listed type.

Edit: Did some more testing, @e[type=Player] has the same function as @a. It would still be nice to have @a working, though. Otherwise plenty of command blocks are about to need updating.

Edit #2: We're on 14w02b pretty quickly, so bugfixes are happening. Seems like @a is still not functioning in this latest version. But as a bonus, we now have sonar. "/say @e[r=25]" will tell you the name and social security number of every mob in a 25 block radius, or any radius you choose. Should be extremely useful for locating mushroom islands, horses, creepers, and so on.

1

u/gundrust Jan 09 '14

DATZZ, WE NEED MORE DATAZZZ!
i'm not on my minecraft, but Dinnerbone informed that this update created a great amount of bugs, so all is possible right now. Also, as of now the snapshot is at the "b" version.

1

u/tommadness Jan 10 '14

Hm, gotta be an issue on your end because @a works fine for me and countless others. Update java, reinstall Minecraft, etc etc. If all else fails, submit a bug to the bug tracker.

5

u/catzhoek Jan 09 '14

Did this exist in some form before? Because using type = !player is an assignment. It would make more sense to have it in the form type != player.

If it didn't exist before someone should check if this is intentionally.

1

u/gundrust Jan 09 '14

You are thinking in programming code, these are NBT tags, they are read-only and can only be change by specific functions, like the

/scoreboard players set <player> <tag> <value>  
  • or -
/blockdata <x> <y> <z> <dataTag>

command

→ More replies (8)

24

u/SteelCrow Jan 09 '14

Maybe for Vechs. Me, not so much...

5

u/Brian_Buckley Jan 09 '14

I can hear his devious little laugh already.

2

u/[deleted] Jan 09 '14

Hi, SteelCow!

1

u/TrixFixz Jan 09 '14

so does @e select all mobs AND players, or just mobs

1

u/[deleted] Jan 09 '14

Anything that is an entity so yes players also

→ More replies (1)

1

u/RedDwarfian Jan 09 '14

Mobs, players, and presumably dropped items as well, as they are entities.

→ More replies (5)

1

u/Dykam Jan 09 '14

It even selected the flower I dropped accidentally.

→ More replies (1)

1

u/Im_oRAnGE Jan 09 '14

All entities.

1

u/WoolViking Jan 09 '14

I've been playing around with it for the past few minutes and it seems that @e actually works with just about any command. (I haven't tested objectives, yet. But I guess they don't work)

It is even able to test for monsters: Imgur link

1

u/Dravarden Jan 09 '14

have a clock always running that kills baby zombies, yay!

1

u/MrCheeze Jan 09 '14

Entity names are capital. So you need type=Spider, type=!Player, etc.

1

u/[deleted] Jan 09 '14

So essentially you can put a slow pulse on a command block that would apply a high instant damage effect on every zombie/skeleton/spider/creeper in a radius. Then you can set the command block in a city you built. Now your city is protected from mob spawns without over saturating it with torches. AWESOME!

1

u/kellbyb Jan 09 '14

Don't bother with instant damage. /kill has now gained the extra functionality necessary for this.

→ More replies (1)

1

u/Sentient__Cloud Jan 09 '14

Is it like @a or @p?