Added a ##tag parser Pattern. gives a random combination using the blocks from the tag with an equal distribution.

This commit is contained in:
Matthew Miller
2019-01-31 22:27:41 +10:00
committed by IronApollo
parent 2bae161e5c
commit 4a8931a55a
4 changed files with 70 additions and 2 deletions

View File

@ -47,7 +47,7 @@ public class PatternCommands extends MethodCommands {
public PatternCommands(WorldEdit worldEdit) {
super(worldEdit);
}
@Command(
aliases = {"#existing", "#*", "*", ".*"},
desc = "Use the block that is already there",
@ -268,7 +268,7 @@ public class PatternCommands extends MethodCommands {
min = 1,
max = 1
)
public Pattern data(Actor actor, LocalSession session, Extent extent, BaseBiome biome) {
public Pattern biome(Actor actor, LocalSession session, Extent extent, BaseBiome biome) {
return new BiomePattern(extent, biome);
}