Jump to content

  • Curse Sites
Become a Premium Member! Help
Latest News Article

Spawn Custom Entities Via Console!


  • Please log in to reply
9 replies to this topic

#1

JacobGuy7800

Posted 20 November 2012 - 05:59 PM

EDIT: Under request of lord epicness1324 (who I know is a supreme deity on MCF) I have added an amount field, and made everything generally more intuitive.

Are you tired of using MCEdit and switching programs and doing a whole bunch of stuff JUST to spawn a mob cage with enderdragons in it? Well, That's minecraft first world problems, but there's a (supposed) solution.

Say hello to /entity or /e. It's an incredibly long command, but would be useful for map makers and tinkernuts like me. (I don't own that website.) How would this work, you ask? Well, here.

The fields in {'s are optional and the fields in ['s are required.

/entity [savegame/network ID] {amount} {type of spawner, egg, cage.} {mob type, colour or whatnot} {location}

If no spawning type is entered, the entity will be spawned directly.

So a final command would look like:

/entity pig 5 1337 64 80085

It would instantly spawn 5 pigs at said coordinates. (Would not work if coordinates are too far away)

/entity fallingsand cage 119 0 64 0

Would make a mob cage that spawns falling sand which turns into an end portal, and place it at the spawn point.

/entity ozelot egg

Would just give you a "Spawn Ocelot" egg.

Locations are not applicable for egg requests.

Also, If a location is not entered on a mob cage request you just receive the block in your hotbar/inventory.

If a location is not entered on an inst request, it spawns the mob where you are pointing.

Locations can also be entered as rand, which spawns the entities randomly near the player, within normal conditions such as spawning in a solid block, and obeying entitywalls. What are entitywalls?

/entitywall [location 1] to [location 2]

so...

/entitywall 70 64 70 to 80 74 80

would make entities not be able to spawn in between said location 1, and said location 2 unless console or egg-spawned.

entityhole is entitywall in reverse, and requires gamerule domobspawning to be false. Entices ONLY spawn in the specified area(s).

This would be useful for mapmakers as entities would not spawn in bonus areas and whatnot unless spawned by console or egg.

And this all works in command blocks.

Tip: Just attach a clock to a command block for a sequence of spawning.

Please tell me if you like the idea!
Are you keeping up with the IBM? Well it's not going to be keeping up with you anytime soon.

Register or log in to remove.

#2

Mranth0ny62
  • Location: calais, france
  • Minecraft: anth0ny62

Posted 20 November 2012 - 06:07 PM

I love it, support !

View PostJacobGuy7800, on 20 November 2012 - 05:59 PM, said:

And this all works in command blocks.

it would be so usefull to make wireless redstone :D

\/ CLICK ON THE BANNER! QUICK! \/
Posted Image


#3

JacobGuy7800

Posted 20 November 2012 - 06:25 PM

View PostMranth0ny62, on 20 November 2012 - 06:07 PM, said:

I love it, support !

it would be so usefull to make wireless redstone Posted Image

Wireless redstone, good idea. I never though of using it for that, but you could use a command block to spawn falling sand on a pressure plate, any distance away. Nice.
Are you keeping up with the IBM? Well it's not going to be keeping up with you anytime soon.

#4

Brinjal66
  • Minecraft: Brinjal66

Posted 20 November 2012 - 07:20 PM

A nice idea, but too complicated. I would rather see mojang make an official minecraft nbt editor!
In the meantime I suggest you check out this: http://www.minecraft...pty-spawn-eggs/
Which allows the editing of spawners e.t.c. in a much more user friendly way.
Posted Image

#5

JacobGuy7800

Posted 20 November 2012 - 07:48 PM

View PostBrinjal66, on 20 November 2012 - 07:20 PM, said:

A nice idea, but too complicated. I would rather see mojang make an official minecraft nbt editor!
In the meantime I suggest you check out this: http://www.minecraft...pty-spawn-eggs/
Which allows the editing of spawners e.t.c. in a much more user friendly way.

Nice, but this is about instantly spawning mobs, and getting mob cages, and falling/dropped item entities more than animals. You could use it in many ways, such as Mranth0ny62's suggestion of making wireless redstone with it.
Are you keeping up with the IBM? Well it's not going to be keeping up with you anytime soon.

#6

Brinjal66
  • Minecraft: Brinjal66

Posted 20 November 2012 - 07:58 PM

View PostJacobGuy7800, on 20 November 2012 - 07:48 PM, said:

Nice, but this is about instantly spawning mobs, and getting mob cages, and falling/dropped item entities more than animals. You could use it in many ways, such as Mranth0ny62's suggestion of making wireless redstone with it.
My idea could do both of those. Just open an NBT editor and change the data of the custom spawn egg, which is easier than the complicated system currently used to edit spawners (as far as I know, not very familiar with it)
Posted Image

#7

JacobGuy7800

Posted 20 November 2012 - 08:43 PM

View PostBrinjal66, on 20 November 2012 - 07:58 PM, said:

My idea could do both of those. Just open an NBT editor and change the data of the custom spawn egg, which is easier than the complicated system currently used to edit spawners (as far as I know, not very familiar with it)

/entitywall, /entityhole, and command blocks.
Are you keeping up with the IBM? Well it's not going to be keeping up with you anytime soon.

#8

Epicness1324

Posted 20 November 2012 - 11:13 PM

It would just be easier if it was /spawn *entity* *amount* *Optional co-ordinates*
Posted Image
I am ninja'd far too often.

#9

JacobGuy7800

Posted 21 November 2012 - 01:49 AM

View PostEpicness1324, on 20 November 2012 - 11:13 PM, said:

It would just be easier if it was /spawn *entity* *amount* *Optional co-ordinates*

I'm adding an amount field, spawning mechanic field won't be reqiured.
Are you keeping up with the IBM? Well it's not going to be keeping up with you anytime soon.

#10

Brinjal66
  • Minecraft: Brinjal66

Posted 21 November 2012 - 04:42 PM

View PostJacobGuy7800, on 20 November 2012 - 08:43 PM, said:

/entitywall, /entityhole, and command blocks.
If I want an "entitywall" or "entityhole" I just turn off natural mob spawning and replace it with spawners. Then I control where mobs spawn. As for the command block thing, I use dispensers.
Posted Image