Terra (Fabric/Forge/Paper)

Terra (Fabric/Forge/Paper)

74.2k Downloads

[Bug] Chunk regeneration with Paper do default world regeneration

supermem99 opened this issue ยท 5 comments

commented

Pre-Issue Checklist

  • I have checked that I am on the latest version of Terra.
  • I have searched the github issue tracker for similar issues, including closed ones.
  • I have made sure that this is not a bug with another mod or plugin, and it is Terra that is causing the issue.
  • I have checked that this is an issue with Terra and not an issue with the pack I am using.
  • I have attached a copy of the latest.log file
  • I have filled out and provided all the appropriate information.

Environment

Name regeneration don't work with paper api Value
Terra Version : Terra-bukkit-6.0.0-BETA+0f767c689 Terra-bukkit-6.0.0-BETA+0f767c689
Platform / Platform Version: Paper 1.18.1 #7425 Paper 1.18.1 #7425
Any External Plugins or Mods: No, its still without external plugins, but "Lands" has the regenerate command No, its still without external plugins, but "Lands" has the regenerate command
Terra Packs In Use: [email protected]
Terra Addons In Use: a list of the default packs (cleaninstall with this terra version) a list of the default packs (cleaninstall with this terra version)

Issue Description

'When regenerating a chunk with lands (which use paperapi regenerator), the chunk will be like a default terrain world generator

Steps to reproduce

i claim the chunk
and after unclaiming the chunk should be regenerate as it was before
but it will be a default worldgenerator chunk
(multiverse world has the terra generator configured)

Expected behavior

It should be regenerated like the terra chunk generator

Full stacktrace

Worldgeneration of Terra doesnt work with paper api feature regeneration
commented

You've babbled about this several times and I still have no idea what this means. Can you please explain the issue, in more detail? What are you trying to do?

commented

Screenshot_1
This will be happen if you regenerate a chunk with a command, which were made with the new paper build feature. ->
Screenshot_2

commented

Submit this issue to Paper, that method should be getting the custom generator we define. Somewhere in their implementation the method is erroneously getting the default chunk generator instead of the custom one.

commented

The method for chunk regeneration (which is the only reference I could find to regeneration of chunks), is deprecated in the paper api.

Further, this method is on a bukkit class, indicating that it is not a paper feature but a bukkit one.

Using a simple search, I have found references to it as far back as 2018 (I didn't search for long)

This is a deprecated method which is stated to not work. Open an issue with bukkit if you want this fixed, but do not expect them to fix it.

commented