pmmp / PocketMine-MP

A server software for Minecraft: Bedrock Edition in PHP
https://pmmp.io
GNU Lesser General Public License v3.0
3.26k stars 1.54k forks source link

Implement Tiles in World Generator Population #3909

Open benda95280 opened 3 years ago

benda95280 commented 3 years ago

Description

Implement Tiles in World Generator Population ?

Justification

Needed to have better world generator. Currently, we are not able to add Entities or Tiles during World Generation. If tiles can be implemented, world generation can be better :)

Alternative methods

I've try everything to find a way / a workarround, and the only way (after some weeks of research), is to use Block Light to pass data to "ChunkPopulateEvent"

dktapps commented 3 years ago

there's currently far too much entanglement to be able to pull this off because of the dependencies of dependencies of tiles

benda95280 commented 3 years ago

If implemented in fastSerialize() and fastDeserialize(), it's not possible to serialize tiles and unserialize them easily ? (Like blocks or like used in networkSerialize()

dktapps commented 3 years ago

No, because they require a world and things of that nature.

benda95280 commented 3 years ago

Blocks do not need a World too ?

ghost commented 3 years ago

no