SPIGOT-5877: Add scaffolding for custom dimensions and biomes

By: Martoph <sager1018@gmail.com>
This commit is contained in:
Bukkit/Spigot
2021-04-11 17:54:45 +10:00
parent e829123b5e
commit 3b841edc7c
2 changed files with 10 additions and 2 deletions

View File

@@ -2430,7 +2430,11 @@ public interface World extends PluginMessageRecipient, Metadatable {
/**
* Represents the "end" map
*/
THE_END(1);
THE_END(1),
/**
* Represents a custom dimension
*/
CUSTOM(-999);
private final int id;
private static final Map<Integer, Environment> lookup = new HashMap<Integer, Environment>();