public class com.thevoxelbox.voxelsniper.config.VoxelSniperConfig extends java.lang.Object
{
private static final com.thevoxelbox.voxelsniper.VoxelSniperPlugin plugin;
private final boolean updateCheckerEnabled;
private final int updateCheckerInterval;
private final boolean messageOnLoginEnabled;
private final boolean persistSessionsOnLogout;
private final com.sk89q.worldedit.world.block.BlockType defaultBlockMaterial;
private final com.sk89q.worldedit.world.block.BlockType defaultReplaceBlockMaterial;
private final int defaultBrushSize;
private final int litesniperMaxBrushSize;
private final java.util.List litesniperRestrictedMaterials;
private final int brushSizeWarningThreshold;
private final int defaultVoxelHeight;
private final int defaultCylinderCenter;
private final java.util.Map brushProperties;
public void <init>(boolean, int, boolean, boolean, com.sk89q.worldedit.world.block.BlockType, com.sk89q.worldedit.world.block.BlockType, int, int, java.util.List, int, int, int, java.util.Map)
{
com.sk89q.worldedit.world.block.BlockType v, v;
com.thevoxelbox.voxelsniper.config.VoxelSniperConfig v;
java.util.List v;
java.util.Map v;
int v, v, v, v, v, v;
boolean v, v, v;
v := @this: com.thevoxelbox.voxelsniper.config.VoxelSniperConfig;
v := @parameter: boolean;
v := @parameter: int;
v := @parameter: boolean;
v := @parameter: boolean;
v := @parameter: com.sk89q.worldedit.world.block.BlockType;
v := @parameter: com.sk89q.worldedit.world.block.BlockType;
v := @parameter: int;
v := @parameter: int;
v := @parameter: java.util.List;
v := @parameter: int;
v := @parameter: int;
v := @parameter: int;
v := @parameter: java.util.Map;
specialinvoke v.<java.lang.Object: void <init>()>();
v.<com.thevoxelbox.voxelsniper.config.VoxelSniperConfig: boolean updateCheckerEnabled> = v;
v.<com.thevoxelbox.voxelsniper.config.VoxelSniperConfig: int updateCheckerInterval> = v;
v.<com.thevoxelbox.voxelsniper.config.VoxelSniperConfig: boolean messageOnLoginEnabled> = v;
v.<com.thevoxelbox.voxelsniper.config.VoxelSniperConfig: boolean persistSessionsOnLogout> = v;
v.<com.thevoxelbox.voxelsniper.config.VoxelSniperConfig: com.sk89q.worldedit.world.block.BlockType defaultBlockMaterial> = v;
v.<com.thevoxelbox.voxelsniper.config.VoxelSniperConfig: com.sk89q.worldedit.world.block.BlockType defaultReplaceBlockMaterial> = v;
v.<com.thevoxelbox.voxelsniper.config.VoxelSniperConfig: int defaultBrushSize> = v;
v.<com.thevoxelbox.voxelsniper.config.VoxelSniperConfig: int litesniperMaxBrushSize> = v;
v.<com.thevoxelbox.voxelsniper.config.VoxelSniperConfig: java.util.List litesniperRestrictedMaterials> = v;
v.<com.thevoxelbox.voxelsniper.config.VoxelSniperConfig: int brushSizeWarningThreshold> = v;
v.<com.thevoxelbox.voxelsniper.config.VoxelSniperConfig: int defaultVoxelHeight> = v;
v.<com.thevoxelbox.voxelsniper.config.VoxelSniperConfig: int defaultCylinderCenter> = v;
v.<com.thevoxelbox.voxelsniper.config.VoxelSniperConfig: java.util.Map brushProperties> = v;
return;
}
public boolean isUpdateCheckerEnabled()
{
com.thevoxelbox.voxelsniper.config.VoxelSniperConfig v;
boolean v;
v := @this: com.thevoxelbox.voxelsniper.config.VoxelSniperConfig;
v = v.<com.thevoxelbox.voxelsniper.config.VoxelSniperConfig: boolean updateCheckerEnabled>;
return v;
}
public int getUpdateCheckerInterval()
{
int v;
com.thevoxelbox.voxelsniper.config.VoxelSniperConfig v;
v := @this: com.thevoxelbox.voxelsniper.config.VoxelSniperConfig;
v = v.<com.thevoxelbox.voxelsniper.config.VoxelSniperConfig: int updateCheckerInterval>;
return v;
}
public boolean isMessageOnLoginEnabled()
{
com.thevoxelbox.voxelsniper.config.VoxelSniperConfig v;
boolean v;
v := @this: com.thevoxelbox.voxelsniper.config.VoxelSniperConfig;
v = v.<com.thevoxelbox.voxelsniper.config.VoxelSniperConfig: boolean messageOnLoginEnabled>;
return v;
}
public boolean arePersistentSessionsEnabled()
{
com.thevoxelbox.voxelsniper.config.VoxelSniperConfig v;
boolean v;
v := @this: com.thevoxelbox.voxelsniper.config.VoxelSniperConfig;
v = v.<com.thevoxelbox.voxelsniper.config.VoxelSniperConfig: boolean persistSessionsOnLogout>;
return v;
}
public com.sk89q.worldedit.world.block.BlockType getDefaultBlockMaterial()
{
com.thevoxelbox.voxelsniper.config.VoxelSniperConfig v;
com.sk89q.worldedit.world.block.BlockType v;
v := @this: com.thevoxelbox.voxelsniper.config.VoxelSniperConfig;
v = v.<com.thevoxelbox.voxelsniper.config.VoxelSniperConfig: com.sk89q.worldedit.world.block.BlockType defaultBlockMaterial>;
return v;
}
public com.sk89q.worldedit.world.block.BlockType getDefaultReplaceBlockMaterial()
{
com.thevoxelbox.voxelsniper.config.VoxelSniperConfig v;
com.sk89q.worldedit.world.block.BlockType v;
v := @this: com.thevoxelbox.voxelsniper.config.VoxelSniperConfig;
v = v.<com.thevoxelbox.voxelsniper.config.VoxelSniperConfig: com.sk89q.worldedit.world.block.BlockType defaultReplaceBlockMaterial>;
return v;
}
public int getDefaultBrushSize()
{
int v;
com.thevoxelbox.voxelsniper.config.VoxelSniperConfig v;
v := @this: com.thevoxelbox.voxelsniper.config.VoxelSniperConfig;
v = v.<com.thevoxelbox.voxelsniper.config.VoxelSniperConfig: int defaultBrushSize>;
return v;
}
public int getLitesniperMaxBrushSize()
{
int v;
com.thevoxelbox.voxelsniper.config.VoxelSniperConfig v;
v := @this: com.thevoxelbox.voxelsniper.config.VoxelSniperConfig;
v = v.<com.thevoxelbox.voxelsniper.config.VoxelSniperConfig: int litesniperMaxBrushSize>;
return v;
}
public java.util.List getLitesniperRestrictedMaterials()
{
com.thevoxelbox.voxelsniper.config.VoxelSniperConfig v;
java.util.List v;
v := @this: com.thevoxelbox.voxelsniper.config.VoxelSniperConfig;
v = v.<com.thevoxelbox.voxelsniper.config.VoxelSniperConfig: java.util.List litesniperRestrictedMaterials>;
return v;
}
public int getBrushSizeWarningThreshold()
{
int v;
com.thevoxelbox.voxelsniper.config.VoxelSniperConfig v;
v := @this: com.thevoxelbox.voxelsniper.config.VoxelSniperConfig;
v = v.<com.thevoxelbox.voxelsniper.config.VoxelSniperConfig: int brushSizeWarningThreshold>;
return v;
}
public int getDefaultVoxelHeight()
{
int v;
com.thevoxelbox.voxelsniper.config.VoxelSniperConfig v;
v := @this: com.thevoxelbox.voxelsniper.config.VoxelSniperConfig;
v = v.<com.thevoxelbox.voxelsniper.config.VoxelSniperConfig: int defaultVoxelHeight>;
return v;
}
public int getDefaultCylinderCenter()
{
int v;
com.thevoxelbox.voxelsniper.config.VoxelSniperConfig v;
v := @this: com.thevoxelbox.voxelsniper.config.VoxelSniperConfig;
v = v.<com.thevoxelbox.voxelsniper.config.VoxelSniperConfig: int defaultCylinderCenter>;
return v;
}
public java.util.Map getBrushProperties()
{
com.thevoxelbox.voxelsniper.config.VoxelSniperConfig v;
java.util.Map v;
v := @this: com.thevoxelbox.voxelsniper.config.VoxelSniperConfig;
v = v.<com.thevoxelbox.voxelsniper.config.VoxelSniperConfig: java.util.Map brushProperties>;
return v;
}
public void saveBrushPropertyToConfig(java.lang.String, java.lang.String, java.lang.Object)
{
com.thevoxelbox.voxelsniper.config.VoxelSniperConfig v;
org.bukkit.configuration.file.FileConfiguration v;
java.lang.Object v;
java.lang.String v, v, v;
com.thevoxelbox.voxelsniper.VoxelSniperPlugin v, v;
v := @this: com.thevoxelbox.voxelsniper.config.VoxelSniperConfig;
v := @parameter: java.lang.String;
v := @parameter: java.lang.String;
v := @parameter: java.lang.Object;
v = <com.thevoxelbox.voxelsniper.config.VoxelSniperConfig: com.thevoxelbox.voxelsniper.VoxelSniperPlugin plugin>;
v = virtualinvoke v.<com.thevoxelbox.voxelsniper.VoxelSniperPlugin: org.bukkit.configuration.file.FileConfiguration getConfig()>();
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String,java.lang.String)>(v, v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("brush-properties.\u.\u0001");
virtualinvoke v.<org.bukkit.configuration.file.FileConfiguration: void set(java.lang.String,java.lang.Object)>(v, v);
v = <com.thevoxelbox.voxelsniper.config.VoxelSniperConfig: com.thevoxelbox.voxelsniper.VoxelSniperPlugin plugin>;
virtualinvoke v.<com.thevoxelbox.voxelsniper.VoxelSniperPlugin: void saveConfig()>();
return;
}
static void <clinit>()
{
com.thevoxelbox.voxelsniper.VoxelSniperPlugin v;
v = <com.thevoxelbox.voxelsniper.VoxelSniperPlugin: com.thevoxelbox.voxelsniper.VoxelSniperPlugin plugin>;
<com.thevoxelbox.voxelsniper.config.VoxelSniperConfig: com.thevoxelbox.voxelsniper.VoxelSniperPlugin plugin> = v;
return;
}
}