Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add RenderPrimitive opposite to hide (show) #1808

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DragonDev1906
Copy link

Adding the "Show" RenderPrimitive, with which a list of blocks can be defined, and all other blocks are hidden.
As described in #1776 this was previously possible but this should make it easier and be more performant because the list of blocks is smaller.

Example config (only show ores):

renders["normalrender"] = {
    "world": "Test12985",
    "title": "Normal Render of Testworld",
    "rendermode": [Base(), EdgeLines(), Show(blocks=[14, 15, 16, 21, 56, 73, 129, 153])],
    ]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant