How to Make a Plant in Minecraft (Mod Maker guide)

Learn how to create a custom Plant block that spawns on grass, can be picked up, and grows over time using 9Minecraft Mod Maker right in your web browser.

  1. Open the Studio and Workspace

    Open 9Minecraft Mod Maker directly in your web browser. Since it runs online, there is nothing to install on your computer.

    Open an existing project or create a new workspace supporting NeoForge 26.1.2 or NeoForge 1.21.1 to get started.

  2. Add a Plant Element

    Inside your workspace, click the green plus button to add a new mod element.

    Look in the Blocks & items group and select Plant. Give your new plant a name and proceed to the settings editor.

  3. Choose the Plant Type and Appearance

    Find the Plant type field to pick how your plant behaves. Choose Static for small flowers or grass, Double for tall grass or tall flowers, Growable for plants like sugar cane or cactus, or Sapling if you want it to grow into a tree.

    Set the Plant color on the map to control how it looks on maps; leaving it on Default will use the FOLIAGE color. You can also check Is plant solid if you do not want entities to walk through it, or check Enable custom bounding box to change its shape.

  4. Configure Growth and Special Properties

    If you selected a Growable plant, set the Max. height field so the plant knows how tall it can grow. If you selected a Sapling, configure the Single sapling, Single sapling near flowers, Two by two saplings, and Chance of secondary trees fields to control which trees grow.

    For flower-like plants, you can set a Suspicious stew effect and Suspicious stew duration. If you need your plant to store data like NBT Tags, check Has block entity, or check Force plant ticking if you need it to tick in all cases.

  5. Set Where the Plant Can Be Placed

    Use the Plant placement type field to determine where players and the world generator can put your plant. Keep in mind that static plants can always stay on Dirt, Coarse Dirt, Podzol, Grass, and Farmland, while growable plants can always stay on themselves.

    If you want custom rules, add specific blocks to the Optional list of blocks the plant can be placed/grow on, or attach a procedure to the Placing condition field. Note that using these options will override the standard plant type placement condition.

  6. Adjust World Generation Settings

    To make your plant appear naturally in the world, adjust the Spawn frequency on chunks. Because plants generate in clusters rather than individually, a low value of 4 or less is enough for most purposes. Then set the Patch size to decide the maximum number of plants in a single cluster.

    For static and double plants, you can set the Generation type to Grass to make them generate more often. If your plant belongs in the Nether or underground, check Generate plant at any height so it does not only spawn on the world surface.

  7. Test and Export Your Mod

    Save your Plant element when you are happy with all the fields.

    Click Build & run in the studio to test your new plant in the game. Once everything works the way you want, export your finished mod file to share or play.

Tips

Try it in the Studio All plant fields explained →