Add support for bonus chest configuration in WorldCreator (#12344)

This commit is contained in:
David
2025-04-14 17:24:19 +02:00
committed by GitHub
parent de410d13ef
commit 33e8928f53
5 changed files with 39 additions and 3 deletions
@@ -2870,6 +2870,13 @@ public interface World extends RegionAccessor, WorldInfo, PluginMessageRecipient
*/
public boolean canGenerateStructures();
/**
* Checks if the bonus chest is enabled.
*
* @return {@code true} if the bonus chest is enabled, {@code false} otherwise
*/
boolean hasBonusChest();
/**
* Gets whether the world is hardcore or not.
*