mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-05 16:49:39 +00:00
SPIGOT-5877: Add scaffolding for custom dimensions and biomes
This commit is contained in:
parent
ccccb62537
commit
b302317a95
2 changed files with 10 additions and 2 deletions
|
@ -2430,7 +2430,11 @@ public interface World extends PluginMessageRecipient, Metadatable {
|
||||||
/**
|
/**
|
||||||
* Represents the "end" map
|
* Represents the "end" map
|
||||||
*/
|
*/
|
||||||
THE_END(1);
|
THE_END(1),
|
||||||
|
/**
|
||||||
|
* Represents a custom dimension
|
||||||
|
*/
|
||||||
|
CUSTOM(-999);
|
||||||
|
|
||||||
private final int id;
|
private final int id;
|
||||||
private static final Map<Integer, Environment> lookup = new HashMap<Integer, Environment>();
|
private static final Map<Integer, Environment> lookup = new HashMap<Integer, Environment>();
|
||||||
|
|
|
@ -87,7 +87,11 @@ public enum Biome implements Keyed {
|
||||||
SOUL_SAND_VALLEY,
|
SOUL_SAND_VALLEY,
|
||||||
CRIMSON_FOREST,
|
CRIMSON_FOREST,
|
||||||
WARPED_FOREST,
|
WARPED_FOREST,
|
||||||
BASALT_DELTAS;
|
BASALT_DELTAS,
|
||||||
|
/**
|
||||||
|
* Represents a custom Biome
|
||||||
|
*/
|
||||||
|
CUSTOM;
|
||||||
|
|
||||||
private final NamespacedKey key;
|
private final NamespacedKey key;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue