How do I use /setblock to put down a flower pot with an Oxeye Daisy in it?

How do I use /setblock to put down a flower pot with an Oxeye Daisy in it? - From above closeup decorative fragrant peony flowers of pink color cultivated in pot at home

I've been working a lot with DataValues and Entity IDs, doing mostly stuff with the /summon command, but i'm getting more into learning how to manipulate the world with Essentials and the Minecraft base commands. I'm trying to place a flowerpot with an Oxeye Daisy (or any flower) in it, but I can only seem to spawn in empty pots, or ones with dandelions, poppies or saplings. How do I put one down with /setblock?



Best Answer

The command to spawn in a flower pot with an Oxeye Daisy at your feet is:

/setblock ~ ~ ~ flower_pot 0 destroy {Item:38,Data:8}

A flower pot's plant is stored in an associated tile entity, which is described by the {stuff in curly braces}.

An Oxeye Daisy is block 38 with a data value of 8. Block 38 encompasses all one-block flowers except for Dandelions (which are 37 for historical reasons). Check the wiki for a hopefully up-to-date list on all the different values.

Planting other supported items works pretty much the same. For example, an Acacia Sapling would be:

{Item:6,Data:4}



Pictures about "How do I use /setblock to put down a flower pot with an Oxeye Daisy in it?"

How do I use /setblock to put down a flower pot with an Oxeye Daisy in it? - Hand Putting Books on Shelf
How do I use /setblock to put down a flower pot with an Oxeye Daisy in it? - White Daisy Flower With Water Dew
How do I use /setblock to put down a flower pot with an Oxeye Daisy in it? - Smiling woman planting flower in pot



How do you use Setblock?

How to Enter the Command
  • Open the Chat Window. The easiest way to run a command in Minecraft is within the chat window.
  • Type the Command. In this example, we will replace a block with birch planks using the following command: /setblock ~1 ~0 ~1 planks 2.


  • How do you put things in a flower pot in Minecraft?

    Steps to Use a Flower Pot
  • Place the Flower Pot. Once you have built a shelter, you might want to add some style to your home by adding potted plants. You can plant any type of flower, sapling, mushroom, or cactus in a flower pot. ...
  • Add a Plant. Next, select the plant in your hotbar that you want to put in your flower pot.


  • What are all the items you can put in a flower pot in Minecraft?

    Usage. A flower pot can be used to hold mushrooms, fungi, and various plants. Plants that can be placed in a pot include any one block high flowers, saplings, ferns, dead bushes, cacti, bamboo, azaleas, mangrove propagule\u200c [upcoming:JE1.19] and roots.



    Set block/fill command tutorial for Minecraft PE




    Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

    Images: Dids, Karolina Grabowska, Susanne Jutzeler, suju-foto, Gary Barnes