mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
Stupid Piston
This commit is contained in:
parent
dfa3f457d6
commit
6cb2d7cd5c
@ -94,17 +94,17 @@ public class GenerationCommands {
|
||||
@Logging(PLACEMENT)
|
||||
@Confirm(Confirm.Processor.REGION)
|
||||
public void caves(Actor actor, LocalSession session, EditSession editSession, @Selection Region region,
|
||||
@Arg(name = "size", desc = "TODO", def = "8") int size,
|
||||
@Arg(name = "frequency", desc = "TODO", def = "40") int frequency,
|
||||
@Arg(name = "rarity", desc = "TODO", def = "7") int rarity,
|
||||
@Arg(name = "minY", desc = "TODO", def = "8") int minY,
|
||||
@Arg(name = "maxY", desc = "TODO", def = "127") int maxY,
|
||||
@Arg(name = "systemFrequency", desc = "TODO", def = "1") int systemFrequency,
|
||||
@Arg(name = "individualRarity", desc = "TODO", def = "25") int individualRarity,
|
||||
@Arg(name = "pocketChance", desc = "TODO", def = "0") int pocketChance,
|
||||
@Arg(name = "pocketMin", desc = "TODO", def = "0") int pocketMin,
|
||||
@Arg(name = "pocketMax", desc = "TODO", def = "3") int pocketMax) throws WorldEditException {
|
||||
CavesGen gen = new CavesGen(size, frequency, rarity, minY, maxY, systemFrequency, individualRarity, pocketChance, pocketMin, pocketMax);
|
||||
@Arg(name = "size", desc = "TODO", def = "8") int sizeOpt,
|
||||
@Arg(name = "frequency", desc = "TODO", def = "40") int frequencyOpt,
|
||||
@Arg(name = "rarity", desc = "TODO", def = "7") int rarityOpt,
|
||||
@Arg(name = "minY", desc = "TODO", def = "8") int minYOpt,
|
||||
@Arg(name = "maxY", desc = "TODO", def = "127") int maxYOpt,
|
||||
@Arg(name = "systemFrequency", desc = "TODO", def = "1") int systemFrequencyOpt,
|
||||
@Arg(name = "individualRarity", desc = "TODO", def = "25") int individualRarityOpt,
|
||||
@Arg(name = "pocketChance", desc = "TODO", def = "0") int pocketChanceOpt,
|
||||
@Arg(name = "pocketMin", desc = "TODO", def = "0") int pocketMinOpt,
|
||||
@Arg(name = "pocketMax", desc = "TODO", def = "3") int pocketMaxOpt) throws WorldEditException {
|
||||
CavesGen gen = new CavesGen(sizeOpt, frequencyOpt, rarityOpt, minYOpt, maxYOpt, systemFrequencyOpt, individualRarityOpt, pocketChanceOpt, pocketMinOpt, pocketMaxOpt);
|
||||
editSession.generate(region, gen);
|
||||
actor.print(Caption.of("fawe.worldedit.visitor.visitor.block" , editSession.getBlockChangeCount()));
|
||||
}
|
||||
|
@ -277,7 +277,8 @@ public class HistorySubCommands {
|
||||
@CommandPermissions("worldedit.history.find")
|
||||
public synchronized void find(Player player, World world, RollbackDatabase database, Arguments arguments,
|
||||
@ArgFlag(name = 'u', desc = "String user") UUID other,
|
||||
@ArgFlag(name = 'r', def = "0", desc = "radius") int radius,
|
||||
@ArgFlag(name = 'r', def = "0", desc = "radius")
|
||||
@Range(from = 0, to = Integer.MAX_VALUE) int radius,
|
||||
@ArgFlag(name = 't', desc = "Time e.g. 20s", def = "0")
|
||||
@Time long timeDiff,
|
||||
@ArgFlag(name = 'p', desc = "Page to view.", def = "1") int page) throws WorldEditException {
|
||||
|
Loading…
Reference in New Issue
Block a user