Package com.sk89q.worldedit.extent.world
Class BiomeQuirkExtent
java.lang.Object
com.sk89q.worldedit.extent.AbstractDelegateExtent
com.sk89q.worldedit.extent.world.BiomeQuirkExtent
- All Implemented Interfaces:
Extent
,InputExtent
,OutputExtent
Handles quirks when placing biomes.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
setBiome
(BlockVector3 position, BiomeType biome) Set the biome.Methods inherited from class com.sk89q.worldedit.extent.AbstractDelegateExtent
commit, commitBefore, createEntity, fullySupports3DBiomes, getBiome, getBlock, getEntities, getEntities, getExtent, getFullBlock, getMaximumPoint, getMinimumPoint, setBlock
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.sk89q.worldedit.extent.InputExtent
getBiome
Methods inherited from interface com.sk89q.worldedit.extent.OutputExtent
setBiome
-
Constructor Details
-
BiomeQuirkExtent
Create a new instance.- Parameters:
extent
- the extent
-
-
Method Details
-
setBiome
Description copied from interface:OutputExtent
Set the biome.As implementation varies per Minecraft version, this may set more than this position's biome. On versions prior to 1.15, this will set the entire column. On later versions it will set the 4x4x4 cube.
- Specified by:
setBiome
in interfaceOutputExtent
- Overrides:
setBiome
in classAbstractDelegateExtent
- Parameters:
position
- the (x, y, z) location to set the biome atbiome
- the biome to set to- Returns:
- true if the biome was successfully set (return value may not be accurate)
-