Search in sources :

Example 1 with BiomeChange3D

use of com.sk89q.worldedit.history.change.BiomeChange3D in project FastAsyncWorldEdit by IntellectualSites.

the class ChangeSetExtent method setBiome.

@Override
public boolean setBiome(BlockVector3 position, BiomeType biome) {
    BiomeType previous = getBiome(position);
    changeSet.add(new BiomeChange3D(position, previous, biome));
    return super.setBiome(position, biome);
}
Also used : BiomeType(com.sk89q.worldedit.world.biome.BiomeType) BiomeChange3D(com.sk89q.worldedit.history.change.BiomeChange3D)

Aggregations

BiomeChange3D (com.sk89q.worldedit.history.change.BiomeChange3D)1 BiomeType (com.sk89q.worldedit.world.biome.BiomeType)1