2014-04-04 22:03:18 +00:00
|
|
|
/*
|
|
|
|
* WorldEdit, a Minecraft world manipulation toolkit
|
|
|
|
* Copyright (C) sk89q <http://www.sk89q.com>
|
|
|
|
* Copyright (C) WorldEdit team and contributors
|
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify it
|
|
|
|
* under the terms of the GNU Lesser General Public License as published by the
|
|
|
|
* Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
|
|
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
|
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
|
|
|
|
* for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2014-07-17 07:21:13 +00:00
|
|
|
package com.sk89q.worldedit.world.registry;
|
2012-03-17 15:35:29 +00:00
|
|
|
|
2014-07-17 07:21:13 +00:00
|
|
|
import com.sk89q.worldedit.world.biome.BiomeData;
|
2019-02-16 07:27:00 +00:00
|
|
|
import com.sk89q.worldedit.world.biome.BiomeType;
|
2012-03-17 15:35:29 +00:00
|
|
|
|
2018-07-30 13:26:06 +00:00
|
|
|
import javax.annotation.Nullable;
|
|
|
|
|
2014-07-17 07:21:13 +00:00
|
|
|
/**
|
|
|
|
* Provides information on biomes.
|
|
|
|
*/
|
|
|
|
public interface BiomeRegistry {
|
2012-03-17 15:35:29 +00:00
|
|
|
|
|
|
|
/**
|
2014-07-17 07:21:13 +00:00
|
|
|
* Get data about a biome.
|
2012-03-17 15:35:29 +00:00
|
|
|
*
|
2014-07-17 07:21:13 +00:00
|
|
|
* @param biome the biome
|
|
|
|
* @return a data object or null if information is not known
|
2012-03-17 15:35:29 +00:00
|
|
|
*/
|
2020-03-24 00:47:30 +00:00
|
|
|
@Deprecated
|
2014-07-17 07:21:13 +00:00
|
|
|
@Nullable
|
2019-02-16 07:27:00 +00:00
|
|
|
BiomeData getData(BiomeType biome);
|
2014-07-17 07:21:13 +00:00
|
|
|
|
2012-03-17 15:35:29 +00:00
|
|
|
}
|