Package com.sk89q.worldedit.world.biome
Class BiomeType
java.lang.Object
com.sk89q.worldedit.world.biome.BiomeType
- All Implemented Interfaces:
RegistryItem
,BiomePattern
,Keyed
All the types of biomes in the game.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapplyBiome
(BlockVector3 position) Return aBiomeType
for the given position.boolean
getId()
Gets the ID of this biome.int
int
int
hashCode()
void
setInternalId
(int internalId) void
setLegacyId
(int legacyId) toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.sk89q.worldedit.function.pattern.BiomePattern
apply
-
Field Details
-
REGISTRY
-
-
Constructor Details
-
BiomeType
-
-
Method Details
-
getLegacyId
public int getLegacyId() -
setLegacyId
public void setLegacyId(int legacyId) -
setInternalId
public void setInternalId(int internalId) - Specified by:
setInternalId
in interfaceRegistryItem
-
getInternalId
public int getInternalId()- Specified by:
getInternalId
in interfaceRegistryItem
-
getId
Gets the ID of this biome. -
toString
-
hashCode
public int hashCode() -
equals
-
applyBiome
Description copied from interface:BiomePattern
Return aBiomeType
for the given position.- Specified by:
applyBiome
in interfaceBiomePattern
- Parameters:
position
- the position- Returns:
- a biome
-