4

What spawn code do I need to use to spawn pine wood block in multiplayer? On some website I saw something like 17-1 (17 for the sapling, and 1 for pine since 1 is the type of a sapling).. But when I try spawning 17-1, i get the "There's no item with id 17-1" message. Oh and I tried googleing, but can't find the code anywhere.. Hints? Thank you.

(using up-to-date Minecraft 1.7)

4
  • Tried "17:1"? Colon is what's typically used.
    – badp
    Jul 3, 2011 at 17:28
  • yes, I tried 17-1, 17:1, 17.1 and 17,1 and none worked.. :S
    – tkit
    Jul 3, 2011 at 17:30
  • 2
    please don't change the topic from wood to sapling again.. I want a wooden block, not a sapling. thank you.
    – tkit
    Jul 3, 2011 at 18:39
  • 1
    People were changing the title because you said "sapling" in the question. I've fixed it for you. Jun 24, 2013 at 23:24

4 Answers 4

4

Vanilla support for this has been added. The syntax is:

/give <playername> <data-value> [amount] [damage-value]

Note that if you specify a damage value, you must specify an amount.

So for this specific case, you would use:

/give <your-name> 6 <how-much-you-want> 1
10

You can't spawn things with special data attached in the base game, such as pine saplings or colored wool.

You need a mod, like bukkit.

Then, the command would be /give BlueRaja 6:1 64

(image of saplings)

2
  • I installed bukkit, and I still can't get neither 6:1 nor 17:1... that's strange.. I guess?
    – tkit
    Jul 3, 2011 at 18:45
  • 3
    @pootzko: you'll need to install essentials for bukkit - see here
    – user8949
    Jul 4, 2011 at 8:31
1

Update

Ok, I've actually set up a server on my machine and tested this, it appears that with a vanilla Minecraft server the suffices for different types of sapling do not work, so you can only spawn 'plain' saplings.

(Old Answer)

From the wiki it appears to be 6. Try 6:1.

3
  • nope, I still get the same "There's no item with id x" message..
    – tkit
    Jul 3, 2011 at 17:32
  • @pootzko You need a number, space, dash, space, number, for example /give bob 17 - 2. However this won't work with a quantity as well, it will only give 1
    – user27708
    Jun 17, 2012 at 7:20
  • @Dan - well, I don't really need this any more at all since now one can simply use creative mode.. =)
    – tkit
    Jun 17, 2012 at 14:43
-2

I've had this problem too but I got it to work.

/give [your name] 17 64 1

The Damage Value is the second part of the ID after the colon :

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .