bunch of defaults

This commit is contained in:
CocoTheOwner 2021-08-16 23:47:29 +02:00
parent 6d363235a5
commit e3948eb4ba
2 changed files with 9 additions and 9 deletions

View File

@ -82,11 +82,11 @@ public class DecIris implements DecreeExecutor
@Decree(description = "Set aura spins")
public void aura(
@Param(description = "The h color value")
@Param(description = "The h color value", defaultValue = "-20")
int h,
@Param(description = "The s color value")
@Param(description = "The s color value", defaultValue = "7")
int s,
@Param(description = "The b color value")
@Param(description = "The b color value", defaultValue = "8")
int b
) {
IrisSettings.get().getGeneral().setSpinh(h);
@ -135,7 +135,7 @@ public class DecIris implements DecreeExecutor
String pack,
@Param(name = "branch", description = "The branch to download from", defaultValue = "master")
String branch,
@Param(name = "trim", description = "Whether or not to download a trimmed version (do not enable when you're going to edit)")
@Param(name = "trim", description = "Whether or not to download a trimmed version (do not enable when editing)", defaultValue = "false")
boolean trim,
@Param(name = "overwrite", description = "Whether or not to overwrite the pack with the downloaded one", aliases = "force", defaultValue = "false")
boolean overwrite

View File

@ -318,9 +318,9 @@ public class DecStudio implements DecreeExecutor {
@Decree(description = "Find any biome or region", aliases = {"goto", "g"}, origin = DecreeOrigin.PLAYER)
public void find(
@Param(description = "The biome to find")
@Param(description = "The biome to find", contextual = true)
IrisBiome biome,
@Param(description = "The region to find")
@Param(description = "The region to find", contextual = true)
IrisRegion region
){
if (!IrisToolbelt.isIrisWorld(world())){
@ -424,7 +424,7 @@ public class DecStudio implements DecreeExecutor {
@Decree(description = "Package a dimension into a compressed format", aliases = "package")
public void pkg(
@Param(name = "dimension", description = "The dimension pack to compress", contextual = true)
@Param(name = "dimension", description = "The dimension pack to compress", contextual = true, defaultValue = "overworld")
IrisDimension dimension,
@Param(name = "obfuscate", description = "Whether or not to obfuscate the pack", defaultValue = "false")
boolean obfuscate,
@ -436,7 +436,7 @@ public class DecStudio implements DecreeExecutor {
@Decree(description = "Profiles the performance of a dimension", origin = DecreeOrigin.PLAYER)
public void profile(
@Param(description = "The dimension to profile", contextual = true)
@Param(description = "The dimension to profile", contextual = true, defaultValue = "overworld")
IrisDimension dimension
){
File pack = dimension.getLoadFile().getParentFile().getParentFile();
@ -658,7 +658,7 @@ public class DecStudio implements DecreeExecutor {
@Decree(description = "Update your dimension project")
public void update(
@Param(description = "The dimension to update the workspace of", contextual = true)
@Param(description = "The dimension to update the workspace of", contextual = true, defaultValue = "overworld")
IrisDimension dimension
){
if (new IrisProject(dimension.getLoadFile().getParentFile().getParentFile()).updateWorkspace()) {