Take the 2-minute tour ×
Arqade is a question and answer site for passionate videogamers on all platforms. It's 100% free, no registration required.

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)

share|improve this question
    
Tried "17:1"? Colon is what's typically used. –  badp Jul 3 '11 at 17:28
    
yes, I tried 17-1, 17:1, 17.1 and 17,1 and none worked.. :S –  pootzko Jul 3 '11 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. –  pootzko Jul 3 '11 at 18:39
1  
People were changing the title because you said "sapling" in the question. I've fixed it for you. –  SevenSidedDie Jun 24 '13 at 23:24
add comment

4 Answers 4

up vote 4 down vote accepted

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
share|improve this answer
add comment

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)

share|improve this answer
    
I installed bukkit, and I still can't get neither 6:1 nor 17:1... that's strange.. I guess? –  pootzko Jul 3 '11 at 18:45
3  
@pootzko: you'll need to install essentials for bukkit - see here –  user8949 Jul 4 '11 at 8:31
add comment

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.

share|improve this answer
    
nope, I still get the same "There's no item with id x" message.. –  pootzko Jul 3 '11 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 '12 at 7:20
    
@Dan - well, I don't really need this any more at all since now one can simply use creative mode.. =) –  pootzko Jun 17 '12 at 14:43
add comment

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 :

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.