Add -e/-b/-m flags to //stack and //move, to match copy and paste.

Fixes WORLDEDIT-3935.
This commit is contained in:
wizjany
2019-08-03 12:59:24 -04:00
parent a1465c02ed
commit e25a6d21cd
7 changed files with 253 additions and 19 deletions

View File

@ -19,13 +19,15 @@
package com.sk89q.worldedit.world.biome;
import com.sk89q.worldedit.function.pattern.BiomePattern;
import com.sk89q.worldedit.math.BlockVector2;
import com.sk89q.worldedit.registry.Keyed;
import com.sk89q.worldedit.registry.NamespacedRegistry;
/**
* All the types of biomes in the game.
*/
public class BiomeType implements Keyed {
public class BiomeType implements Keyed, BiomePattern {
public static final NamespacedRegistry<BiomeType> REGISTRY = new NamespacedRegistry<>("biome type");
@ -59,4 +61,9 @@ public class BiomeType implements Keyed {
public boolean equals(Object obj) {
return obj instanceof BiomeType && this.id.equals(((BiomeType) obj).id);
}
@Override
public BiomeType apply(BlockVector2 position) {
return this;
}
}