[Tutorial] How to use World Renderer [World Renderer]

Started by sumeshi0216 on

Topic category: User side tutorials

Last seen on 11:33, 16. Jul 2024
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[Tutorial] How to use World Renderer [World Renderer]
Sun, 07/07/2024 - 08:26 (edited)

World Renderer allows you to render sky, clouds, weather, etc. However, you will need to learn some things. This is a guide about the plugin.

 

Procedures and Event Triggers

World Renderer has many procedures and event triggers. Here is a list of those

 

Graphics - Compute FOV

It can set FOV. Procedure "Viewport - Set FOV" is available.

 

Graphics - Compute camera angles

It can compute camera angles with yaw, pitch and roll values. Procedure "Viewport - Set camera angles" is available.

 

Graphics - Compute fog color

It can set a fog color. Procedure "Viewport - Set fog color" is available.

 

Graphics - Compute light color

It can set light colors. Procedures in the list "Lighting" are available.

Event trigger "Graphics - Set up dimensions" is also required to make it work.

Here is a guide.

 

Graphics - Render clouds

It can render clouds. Procedures in the list "Clouds" are available.

Event trigger "Graphics - Set up dimensions" is also required to make it work.

Here is a guide.

 

Graphics - Render fog

 It can set a fog distance and shape. Procedure "Viewport - Set fog distance" and "Viewport - Set fog shape" are available.

 

Graphics - Render models

It can render texts, block, item and entity models. Procedures in the list "Model" are available.

 

Graphics - Render overlays

It can render overlays. Procedures in the list "Overlay" are available.

 

Graphics - Render shapes

It can render shapes like triangles, quads, etc. Procedures in the list "Shape" are available.

Here is a guide.

 

Graphics - Render sky

It can render skyboxes, sun, moon, etc. Procedures in the list "Sky" are available.

Event trigger "Graphics - Set up dimensions" is also required to make it work.

Here are guides.

 

Graphics - Render weather

It can render weather like rain and snow. Procedures in the list "Weather" are available.

Event trigger "Graphics - Set up dimensions" is also required to make it work.

Here is a guide.

 

Graphics - Set weather particles and sounds

It can set weather particles and sounds. Procedures in the list "Weather particles and sounds" are available.

Event trigger "Graphics - Set up dimensions" is also required to make it work.

Here is a guide.

 

Graphics - Set up dimensions

It is required to work some event triggers. Procedures in the list "Setup" are available.

Here is a guide.

 


 

Other procedure lists

 

Color

Those procedures can get various colors. They are available on all rendering events.

 

Data

Those procedures can get game/world data. They are available on all rendering events.

 

Others

They are available on all rendering events.

 

Render effects

Those procedures is used for rendering. They are available on the following events only.

  • Graphics - Render clouds
  • Graphics - Render overlays
  • Graphics - Render shapes
  • Graphics - Render sky
  • Graphics - Render weather

 


 

Textures

The procedure allows you to set a texture for rendering. There is the procedure in a procedure list "Graphics procedures - Render effects."

  • ID: It is your mod ID.
  • Name: It is a texture name. ".png" is not necessary. For example, if a texture name is "custom_skybox.png", set a name "custom_skybox".

 

Moreover, you will need to use the procedure before rendering.

 

Textures need to be imported as "Other textures."

 

In order to make sure of your mod ID, open an item "Workspace > Workspace settings" from your workspace, and see the following part.


 

Common Mistakes

If you get errors or bugs, try to check the following.

 

Dimension is not set up

Event trigger "Graphics - Set up dimension" is required to work some event triggers.

 

Use wrong event triggers or procedures

In order to render objects, you will need to use event triggers and procedures properly. See the above.

 

Call procedures from non-rendering events

If this example were run, your Minecraft or the server would be crashed. It is not possible to call procedures and run rendering.

 

Modify game/world data on rendering events

Game/world data modifying should not be run on rendering events. That includes block/entity modifications, NBT setting, etc.

However, it is possible to get data of blocks, entities, NBT, global variables, etc.

Edited by sumeshi0216 on Sun, 07/07/2024 - 08:26
Last seen on 23:49, 16. Jul 2024
Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What is the best way to…
Sat, 05/18/2024 - 20:54

What is the best way to render items on a block? I know that the render model feature works with the player cordinates, but I am wondering if you have a procedure to render it on a block that is nearby the player

Last seen on 11:33, 16. Jul 2024
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Save positions to global…
Wed, 05/22/2024 - 04:44

Save positions to global variables, and render items with the variables. If there are multiple positions, use other plugins like Array Lists.

Last seen on 08:57, 17. Jul 2024
Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
may just dont know how to…
Mon, 05/27/2024 - 04:58

may just dont know how to use array list plugin, but it crashes if i try to render item with

Last seen on 11:33, 16. Jul 2024
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Try to check whether an…
Fri, 05/31/2024 - 04:36

Try to check whether an event trigger "Graphics - Render models" is used.

Last seen on 16:07, 16. Jul 2024
Joined May 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can I use custom textures to…
Fri, 06/14/2024 - 10:11

Can I use custom textures to render mob models? I want to render an entity but with a different texture and it doesn't work.
If this is not possible at the moment, is there a chance that this will be added?

Last seen on 11:33, 16. Jul 2024
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
MCreator can add model…
Sat, 06/15/2024 - 09:27

MCreator can add model layers.

Last seen on 16:07, 16. Jul 2024
Joined May 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yes but I want to use this…
Sat, 06/15/2024 - 11:20

Yes but I want to use this vanilla mob and player. Mcreator does not allow adding layers to the player and vanilla mobs, right?

Last seen on 11:33, 16. Jul 2024
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
World Renderer is not going…
Sun, 06/16/2024 - 01:54

World Renderer is not going to support modifying vanilla entity and player models. Other plugins should be used.

Last seen on 00:59, 17. Jul 2024
Joined Dec 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is there a way to set fog at…
Wed, 07/10/2024 - 04:29

Is there a way to set fog at a certain time of day? I'm hoping to set fog from dusk until dawn if possible. Also is it possible to have a skybox render from dusk to night? I'm trying to get a cool sunset but having no luck. Awesome plugin tbh.

Last seen on 11:33, 16. Jul 2024
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Star level can be used, but…
Wed, 07/10/2024 - 11:28

Star level can be used, but It needs calculation.

Last seen on 00:59, 17. Jul 2024
Joined Dec 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Are you saying star level…
Wed, 07/10/2024 - 14:13

Are you saying star level can be used for the fog? Or just the dusk skybox?


Also, do you have a rough idea what that would be? I’ve followed your star, sun and moon tutorials but I’m not sure how to calculate the time scale. 

Last seen on 11:33, 16. Jul 2024
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Star Level is a value which…
Wed, 07/10/2024 - 14:21

Star Level is a value which is 0.0 during the day and 1.0 at night. It can also be used for RGBA values.

Last seen on 00:59, 17. Jul 2024
Joined Dec 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I see, so theoretically I…
Wed, 07/10/2024 - 14:24

I see, so theoretically I should be able to put the color of the fog and then set the A to Get star level to have fog that only comes at night correct?