Minecraft Blogs / Tutorial

How to use custom trees and objects in Worldpainter

  • 25,467 views, 30 today
  • 46
  • 29
  • 24
lentebriesje avatar lentebriesje
Site Moderator
Level 87 : Elite Terraformer
3,878
In this tutorial you will learn how to use Worldpainter to place custom trees and other objects. This tutorial is written as a series of questions that are answered. The questions are ordered from basic to advanced as judged by the author and grouped by theme.

There's no one best way to read this tutorial and questions don't necessarily follow each other chronologically .

Screenshots in this tutorial were made using Worldpainter version 2.4.1, the most recent version at the time of writing this tutorial.

About



If you are going to learn only one thing about Worldpainter, let it be custom object layers. Even the most mundane terrain looks custom with a nice range of custom objects. With the variety and quality of objects publicly shared you can stand on the shoulders of giants and "instantly" transform terrain.

Getting started



Where to find the custom object layer option in Worldpainter





Custom object layers can be found by clicking on the [+] ( 1 ) button in the layers tab. In the drop down menu that unfolds click on [Add a custom object layer...] ( 2 )




How to use custom trees and objects in Worldpainter







Downloads



Where to find objects that work with worldpainter





To make it easy I created a collection of tree repositories and miscellaneous objects.

Tree repository collections
Miscellanious repository collections




Where to find all the models and layers shown in this tutorial





Worldpainter Layers (Mangroves, Icebergs, Coral)







Creating layers



How to add objects to layers





Click on the button showing the lego block with the small green plus sign ( 1 )





How to use custom trees and objects in Worldpainter





Select the objects to add to the layer and click on [Open].


Notes: You can use objects using .schematic and .bo2 file extensions. By keeping CTRL pressed you can select multiple objects at once and open them all together.





How to use custom trees and objects in Worldpainter






How to import a layer





The import layer option ( 2 ) can be found by clicking on the [+] ( 1 ) button in the layers tab.









Select and open the .layer file ( 1 ) you wish to open











How to export a layer





Click with your right mouse button on the layer you wish to export ( 1 ). In the drop down menu click on export layer to file [/bgcolor]( 2 ). Name the layer appropriately and save.











How to remove objects from layers






Select the object you want to remove by clicking on it. Now click on the button showing the lego block with the small red stop sign ( 1 ) to remove the object












How to change object frequency






Option ( 1 ): Double click the name in the object menu
Option ( 2 ): Select one or more objects and click on the [button] with the lego block and the pencil. Note: keep CTRL pressed when you want to select multiple objects.











Adjust the relative frequency by adjusting the percentage in field ( 1 )












Note: how often an object spawns is a simple calculation. Spawn frequency = relative frequency of the object divided by the sum of the relative frequency of all objects in the layer.




How to change layer density





By adjusting the value at ( 1 ) you change the density. I suggest you base the tree sparseness on the most dense you want your forest to be. Pay attention to "one per X blocks at 100%" or use the visualer at the right hand side of the window.











Use ( 1 ) and ( 2 ) to adjust the preview window. The settings I advise can be seen below.










How to make objects float on the surface of water or lava





In the edit object menu you select the "on water" and/or "on lava" checkboxes ( 1 ). Deselect "on solid land".

Notes: objects that are set for "on water" and/or "on lava" can not penetrate the soil beneath. You can use the offset settings to make objects sink only in the water.
You can edit this setting for multiple objects at once by selecting multiple objects in the layer menu.













Discussion


BO2 objects versus schematic objects

Schematic is the most common file format to share parts of maps. Most powertools support this file format, e.g.: worldpainter, world edit, voxelsniper, mcedit. It's easy to use and highly accessible. For the purpose of Worldpainter it's exactly the same as the less common bo2 files except for a few things.

Difference 1: BO2 objects can have negative block offsets. This means that a BO2 object can include underground blocks without putting in the offset manually. The use of BO2 for Worldpainter was popularized by tree repository creators who included roots in their trees and make their use as easy as possible. It makes things easier, but doesn't provide anything unique.
Difference 2: BO2's can include air blocks. E.g. you could make an object for a submarine that doesn't fill with water if placed. Wheras it would fill with water if placed as schematic file.
Difference 3: BO2's aren't commonly supported by tools. The tools to create BO2's are poorly supported and can require knowledge of command prompt and scripts.

Conclusion: BO2's make life easier but in most cases don't add value over schematics. For sake of ease of experimentation the suggested file format to use in nearly all cases is the .schematic file format.



F.A.Q. / Trouble shooting


How to fix floating trees






Select the object in the layer to fix and click on the button with the pencil ( 1 )











Most objects will be centered on a lowest point. By pressing on [Auto] ( 1 ) Worldpainter will adjust the object centering based on the lowest block. Adjust it manually afterwards to make sure it's center by clicking on the offset coordinates ( 2 )













The small box outline is the block that's used for placement. The tree in the preview was created with roots. By adjusting the values in the boxes ( 2 ) top left we can center it.














Specific layers




How to create a mangroves layer





General knowledge about layers and placement is assumed at this point. Anything unclear, please refer to other parts of this tutorial before you ask.




Mangrove trees live on the coast, near or in shallow salty coastal waters. A prerequisite is appropriate tree objects and careful placement. See the download section for a plug-and-play layer to import. The appropriate spawn settings are "on solid land" and "under water" ( 1 ).









The objects are placed on the ground underneath the water. So the height of the objects stem determines the maximum depth at which you should place the trees. For the tree below that is three blocks seen from the ground level ( A ).









Placement is best done with a brush with filter settings. Apply the layer from water level minus maximum tree depth till water level plus maximum tree depth.










How to create an iceberg layer





Icebergs aren't complex. Make sure the model settings are limited to spawn "on water" ( 1 ). You run into trouble when the negative offset of the iceberg is so great it touches the ground. The bottom of the iceberg will not pierce the ground, consider this when making models and placing them. If your aim is reality and you make icebergs that are 80% below water, it will not spawn.











How to create a coral reef layer





Coral reefs in Minecraft are notorious. The water visibility is very poor, and the rendering of water on edges of non opaque blocks is too. Further more water blocks light and destroys plants. There are various methods of making coral reefs, and this is not the authors' favourite method but the only one using object layers.




To ensure coral properly meets up with the ocean bottom select both spawn "on solid land" and "under water" ( 1 ). To prevent coral from poking out of the water pay attention to placement. Since the light piercing of water in Minecraft is really low, a depth beyond 5 blocks will make it impossible to distinguish any colour.












Comments


Feel free to ask questions in the comments, and feel free to answer questions in the comments. The aim of this post is to create a knowledge base for those starting out using Worldpainter to learn from.
Tags

Create an account or sign in to comment.

1
01/30/2021 7:50 pm
Level 6 : Apprentice Explorer
coastredwoods1254
coastredwoods1254 avatar
i need help, weres any iceberg resptories, i try using the layers, but it does not show the icebergs, help
1
07/25/2018 10:56 pm
Level 1 : New Crafter
Darkshooter86
Darkshooter86 avatar
So im using the Fantasy Tree repository found here (See https://www.planetminecraft.com/project/fantasy-tree-repository/) and World painter will not let me preview the Bo2 files to pick out what kind of trees i want to use. from the selection. any help would be appreciated.
1
03/07/2018 8:02 am
Level 1 : New Miner
Crozelle
Crozelle avatar
Can anyone tell me how to create a custom object layer with my own custom trees?
1
01/04/2018 9:24 am
Level 1 : New Crafter
Nicholasgrad
Nicholasgrad avatar
Hi Lentebriesje,

I've got a question. I'm making a terrain with worldpainter and I want to use different terrains. I know how to add a custom terrain with the "normal" blocks. But I want to use blocks of a mod. To be more specific, the conquest reforged mod.
Do you know how to add these kind of blocks? Do they have their own schematics, and if they do, how do I get those? I think the only thing I need is the file of a block, so I can import it in worldpainter.

I would be really pleased if you could answer my question.

p.s. great post, I like your work!
1
01/05/2018 2:23 pm
Level 87 : Elite Terraformer
lentebriesje
lentebriesje avatar
For support of conquest terraforming i highly suggest to go to the conquest reforged discord chat. That's because of how the resource pack works with block id's and values. For the results you desire you should consult someone more experienced with this particular resource pack, because i'm unaware of the details, but aware that the details are important in this case. Sorry i couldn't be of more help. Good luck!
1
09/23/2017 7:55 pm
Level 19 : Journeyman Architect
GrayMysterious
GrayMysterious avatar
I have a question; if I already painted a layer of trees with certain settings (i.e. a high density), and I go back and edit those settings (make the trees more dense) before I merge/export the changes, will they be applied to the layer that currently exists or will I have to repaint it?
1
09/30/2017 4:01 am
Level 87 : Elite Terraformer
lentebriesje
lentebriesje avatar
Your change will be applied to the layer. So you don't need to repaint it.
1
10/01/2017 12:02 am
Level 19 : Journeyman Architect
GrayMysterious
GrayMysterious avatar
thanks
1
04/03/2017 2:16 pm
Level 1 : New Miner
bysGamerYT
bysGamerYT avatar
Ty :D
1
02/23/2017 4:05 am
Level 18 : Journeyman Miner
The Wandmaker
The Wandmaker avatar
Great post, my friend. :)
Planet Minecraft

Website

© 2010 - 2021
www.planetminecraft.com

Welcome