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

Expose shape generation to plugins? #4356

Open
autumnontape opened this issue Jul 30, 2019 · 2 comments

Comments

@autumnontape
Copy link

@autumnontape autumnontape commented Jul 30, 2019

As far as I can tell, if a world generation plugin wants to use the default composition generator and custom terrain shapes, it can only provide the shapes through height data. This obviously makes it impossible to produce overhangs and the like.

It would be nice if shape data were included in cChunkDesc, and methods added to the Lua API to manipulate that data and disable default shape generation, similar to how it's done for biomes and height.

I can write a PR for this if it sounds like a good idea.

@madmaxoft

This comment has been minimized.

Copy link
Member

@madmaxoft madmaxoft commented Jul 30, 2019

This is something we keep in mind that we want to do, but there are things that would be better done first. It'd be better to rewrite for 1.13+ compatibility first, because with that rewrite, much of the data internals will change. That would break this API, too, and would be more difficult than without this API.

@madmaxoft

This comment has been minimized.

Copy link
Member

@madmaxoft madmaxoft commented Jul 30, 2019

What might be even better would be to allow plugins to register their own biome, shape and finisher generators, which could then be used directly in the configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.