Skip to content

ci(CA): Add qodana static analysis #1

ci(CA): Add qodana static analysis

ci(CA): Add qodana static analysis #1

Triggered via pull request January 26, 2026 16:41
Status Success
Total duration 3m 43s
Artifacts

qodana_code_quality.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors, 472 warnings, and 10 notices
Usage of API marked for removal: src/main/java/net/buildtheearth/modules/generator/components/field/FieldScripts.java#L46
'getX()' is deprecated since version 2.11.0 and marked for removal
Usage of API marked for removal: src/main/java/net/buildtheearth/modules/generator/components/field/FieldScripts.java#L45
'getY()' is deprecated since version 2.11.0 and marked for removal
Usage of API marked for removal: src/main/java/net/buildtheearth/modules/generator/components/field/FieldScripts.java#L46
'getY()' is deprecated since version 2.11.0 and marked for removal
Usage of API marked for removal: src/main/java/net/buildtheearth/modules/generator/components/field/FieldScripts.java#L46
'getZ()' is deprecated since version 2.11.0 and marked for removal
Usage of API marked for removal: src/main/java/net/buildtheearth/modules/generator/components/field/FieldScripts.java#L45
'getZ()' is deprecated since version 2.11.0 and marked for removal
Usage of API marked for removal: src/main/java/net/buildtheearth/modules/generator/components/field/FieldScripts.java#L45
'getX()' is deprecated since version 2.11.0 and marked for removal
Usage of API marked for removal: src/main/java/net/buildtheearth/modules/generator/utils/GeneratorUtils.java#L494
'getData()' is deprecated since version 1.6.2 and marked for removal
Usage of API marked for removal: src/main/java/net/buildtheearth/modules/generator/model/GeneratorCollections.java#L63
'load(java.io.File)' is deprecated since version 2.11.1 and marked for removal
C-style array declaration: src/main/java/net/buildtheearth/utils/geo/projection/airocean/Airocean.java#L175
Local variable `v` has C-style array type declaration
C-style array declaration: src/main/java/net/buildtheearth/utils/geo/projection/airocean/Airocean.java#L174
Local variable `vertex` has C-style array type declaration
Constant values: src/main/java/net/buildtheearth/modules/generator/model/Settings.java#L70
Condition `materials == null` is always `false`
Constant values: src/main/java/net/buildtheearth/modules/generator/components/tree/TreeScripts.java#L21
Condition `p.getItemOnCursor() == null` is always `false`
Nullability and data flow problems: src/main/java/net/buildtheearth/modules/generator/utils/GeneratorUtils.java#L250
Method invocation `name` may produce `NullPointerException`
Nullability and data flow problems: src/main/java/net/buildtheearth/utils/GeometricUtils.java#L35
Argument `BuildTeamTools.getInstance().getConfig().getString(ConfigPaths.EARTH_WORLD)` might be null
Nullability and data flow problems: src/main/java/net/buildtheearth/utils/Item.java#L106
Method invocation `setType` may produce `NullPointerException`
Nullability and data flow problems: src/main/java/net/buildtheearth/utils/Config.java#L148
Argument `cfg.getString(place + ".World")` might be null
Nullability and data flow problems: src/main/java/net/buildtheearth/modules/common/components/dependency/DependencyComponent.java#L34
Method invocation `getDescription` may produce `NullPointerException`
Nullability and data flow problems: src/main/java/net/buildtheearth/utils/Item.java#L114
Method invocation `setAmount` may produce `NullPointerException`
Nullability and data flow problems: src/main/java/net/buildtheearth/utils/GeometricUtils.java#L66
Argument `BuildTeamTools.getInstance().getConfig().getString(ConfigPaths.EARTH_WORLD)` might be null
Nullability and data flow problems: src/main/java/net/buildtheearth/utils/Item.java#L112
Method invocation `setAmount` may produce `NullPointerException`
Nullability and data flow problems: src/main/java/net/buildtheearth/modules/generator/components/kml/KmlCommand.java#L383
Argument `XMaterial.COMMAND_BLOCK.parseMaterial()` might be null
'default' not last case in 'switch': src/main/java/net/buildtheearth/utils/CustomHeads.java#L184
'default' branch not last case in 'switch' statement
'default' not last case in 'switch': src/main/java/net/buildtheearth/utils/CustomHeads.java#L166
'default' branch not last case in 'switch' statement
'default' not last case in 'switch': src/main/java/net/buildtheearth/utils/CustomHeads.java#L194
'default' branch not last case in 'switch' statement
'default' not last case in 'switch': src/main/java/net/buildtheearth/utils/CustomHeads.java#L204
'default' branch not last case in 'switch' statement
'default' not last case in 'switch': src/main/java/net/buildtheearth/utils/CustomHeads.java#L148
'default' branch not last case in 'switch' statement
Deprecated API usage: src/main/java/net/buildtheearth/modules/miscellaneous/blockpalettegui/ChoosePaletteMenu.java#L241
'setLore(java.util.@org.jetbrains.annotations.Nullable List)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/modules/miscellaneous/blockpalettegui/ChoosePaletteBlocksMenu.java#L298
'getByKey(org.bukkit.@org.jetbrains.annotations.Nullable NamespacedKey)' is deprecated since version 1.20.3
Deprecated API usage: src/main/java/net/buildtheearth/modules/miscellaneous/blockpalettegui/ChoosePaletteBlocksMenu.java#L91
'setDisplayName(java.lang.@org.jetbrains.annotations.Nullable String)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/utils/Item.java#L323
'setDisplayName(java.lang.@org.jetbrains.annotations.Nullable String)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/utils/Item.java#L190
'setDisplayName(java.lang.@org.jetbrains.annotations.Nullable String)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/utils/Item.java#L178
'ItemStack(org.bukkit.@org.jetbrains.annotations.NotNull Material, int, short)' is deprecated since version 1.20.5
Deprecated API usage: src/main/java/net/buildtheearth/utils/Item.java#L375
'setDisplayName(java.lang.@org.jetbrains.annotations.Nullable String)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/modules/stats/menu/StatsMenu.java#L126
'setLore(java.util.@org.jetbrains.annotations.Nullable List)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/utils/Item.java#L181
'setLore(java.util.@org.jetbrains.annotations.Nullable List)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/utils/Item.java#L234
'setDisplayName(java.lang.@org.jetbrains.annotations.Nullable String)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/modules/navigation/NavUtils.java#L62
'setHoverEvent(net.md_5.bungee.api.chat.HoverEvent)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/utils/Item.java#L281
'setLore(java.util.@org.jetbrains.annotations.Nullable List)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/modules/miscellaneous/blockpalettegui/ChoosePaletteBlocksMenu.java#L302
'getByName(java.lang.@org.jetbrains.annotations.Nullable String)' is deprecated since version 1.13
Deprecated API usage: src/main/java/net/buildtheearth/utils/Item.java#L333
'setType(org.bukkit.@org.jetbrains.annotations.NotNull Material)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/modules/navigation/NavUtils.java#L62
'net.md_5.bungee.api.chat.HoverEvent' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/modules/navigation/NavUtils.java#L60
'net.md_5.bungee.api.chat.TextComponent' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/modules/common/commands/BuildTeamToolsCommand.java#L188
'net.md_5.bungee.api.chat.ComponentBuilder' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/modules/stats/menu/StatsMenu.java#L106
'setLore(java.util.@org.jetbrains.annotations.Nullable List)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/utils/JsonUtils.java#L88
'setLenient(boolean)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/modules/common/commands/BuildTeamToolsCommand.java#L181
'net.md_5.bungee.api.chat.TextComponent' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/utils/Item.java#L235
'setLore(java.util.@org.jetbrains.annotations.Nullable List)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/utils/JsonUtils.java#L82
'setLenient(boolean)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/modules/navigation/NavUtils.java#L61
'ClickEvent(net.md_5.bungee.api.chat.ClickEvent.Action, java.lang.String)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/modules/common/commands/BuildTeamToolsCommand.java#L186
'HoverEvent(net.md_5.bungee.api.chat.HoverEvent.Action, net.md_5.bungee.api.chat.BaseComponent\[\])' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/utils/Item.java#L324
'setOwner(java.lang.@org.jetbrains.annotations.Nullable String)' is deprecated since version 1.12.1
Deprecated API usage: src/main/java/net/buildtheearth/utils/Item.java#L280
'setDisplayName(java.lang.@org.jetbrains.annotations.Nullable String)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/modules/miscellaneous/blockpalettegui/ChoosePaletteBlocksMenu.java#L281
'setDisplayName(java.lang.@org.jetbrains.annotations.Nullable String)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/modules/navigation/NavUtils.java#L61
'net.md_5.bungee.api.chat.ClickEvent.Action' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/utils/Item.java#L295
'setLore(java.util.@org.jetbrains.annotations.Nullable List)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/modules/miscellaneous/blockpalettegui/ChoosePaletteBlocksMenu.java#L285
'setLore(java.util.@org.jetbrains.annotations.Nullable List)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/utils/Item.java#L125
'setDisplayName(java.lang.@org.jetbrains.annotations.Nullable String)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/utils/Item.java#L267
'setDisplayName(java.lang.@org.jetbrains.annotations.Nullable String)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/utils/Item.java#L211
'setLore(java.util.@org.jetbrains.annotations.Nullable List)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/modules/navigation/NavUtils.java#L62
'net.md_5.bungee.api.chat.HoverEvent.Action' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/modules/navigation/NavUtils.java#L62
'net.md_5.bungee.api.chat.ComponentBuilder' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/modules/stats/listeners/StatsListener.java#L45
'org.bukkit.event.player.AsyncPlayerChatEvent' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/utils/Item.java#L171
'setDisplayName(java.lang.@org.jetbrains.annotations.Nullable String)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/utils/Item.java#L356
'setDisplayName(java.lang.@org.jetbrains.annotations.Nullable String)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/modules/common/commands/BuildTeamToolsCommand.java#L184
'net.md_5.bungee.api.chat.ComponentBuilder' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/modules/navigation/NavUtils.java#L60
'net.md_5.bungee.api.chat.TextComponent' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/utils/menus/BookMenu.java#L69
'addPage(java.lang.@org.jetbrains.annotations.NotNull String...)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/modules/navigation/NavUtils.java#L61
'net.md_5.bungee.api.chat.ClickEvent' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/utils/menus/AbstractMenu.java#L144
'setDisplayName(java.lang.@org.jetbrains.annotations.Nullable String)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/utils/Item.java#L180
'setDisplayName(java.lang.@org.jetbrains.annotations.Nullable String)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/utils/Item.java#L325
'setLore(java.util.@org.jetbrains.annotations.Nullable List)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/utils/Item.java#L479
'setLore(java.util.@org.jetbrains.annotations.Nullable List)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/modules/miscellaneous/blockpalettegui/ChoosePaletteBlocksMenu.java#L299
'getByKey(org.bukkit.@org.jetbrains.annotations.Nullable NamespacedKey)' is deprecated since version 1.20.3
Deprecated API usage: src/main/java/net/buildtheearth/utils/Item.java#L128
'setLore(java.util.@org.jetbrains.annotations.Nullable List)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/modules/stats/menu/StatsMenu.java#L120
'setLore(java.util.@org.jetbrains.annotations.Nullable List)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/modules/common/commands/BuildTeamToolsCommand.java#L186
'net.md_5.bungee.api.chat.ComponentBuilder' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/modules/navigation/NavUtils.java#L62
'net.md_5.bungee.api.chat.HoverEvent' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/modules/common/commands/BuildTeamToolsCommand.java#L188
'setHoverEvent(net.md_5.bungee.api.chat.HoverEvent)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/modules/generator/model/Command.java#L97
'sendActionBar(java.lang.String)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/modules/navigation/NavUtils.java#L62
'ComponentBuilder(java.lang.String)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/modules/navigation/NavUtils.java#L37
'org.bukkit.UnsafeValues' is deprecated since version 1.7.2
Deprecated API usage: src/main/java/net/buildtheearth/utils/Item.java#L377
'setLore(java.util.@org.jetbrains.annotations.Nullable List)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/utils/Item.java#L268
'setLore(java.util.@org.jetbrains.annotations.Nullable List)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/modules/navigation/NavUtils.java#L61
'net.md_5.bungee.api.chat.ClickEvent' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/modules/common/commands/BuildTeamToolsCommand.java#L190
'sendMessage(net.md_5.bungee.api.chat.@org.jetbrains.annotations.NotNull BaseComponent)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/modules/miscellaneous/blockpalettegui/CreatePaletteMenu.java#L205
'org.bukkit.event.player.AsyncPlayerChatEvent' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/utils/Item.java#L310
'setOwner(java.lang.@org.jetbrains.annotations.Nullable String)' is deprecated since version 1.12.1
Deprecated API usage: src/main/java/net/buildtheearth/modules/miscellaneous/blockpalettegui/EditPaletteMenu.java#L245
'org.bukkit.event.player.AsyncPlayerChatEvent' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/utils/Item.java#L346
'setDisplayName(java.lang.@org.jetbrains.annotations.Nullable String)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/modules/generator/model/GeneratorCollections.java#L175
'URL(java.lang.String)' is deprecated since version 20
Deprecated API usage: src/main/java/net/buildtheearth/modules/navigation/NavUtils.java#L62
'HoverEvent(net.md_5.bungee.api.chat.HoverEvent.Action, net.md_5.bungee.api.chat.BaseComponent\[\])' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/modules/common/commands/BuildTeamToolsCommand.java#L184
'HoverEvent(net.md_5.bungee.api.chat.HoverEvent.Action, net.md_5.bungee.api.chat.BaseComponent\[\])' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/utils/Item.java#L309
'setDisplayName(java.lang.@org.jetbrains.annotations.Nullable String)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/utils/Item.java#L210
'setDisplayName(java.lang.@org.jetbrains.annotations.Nullable String)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/modules/miscellaneous/blockpalettegui/ChoosePaletteBlocksMenu.java#L301
'getByName(java.lang.@org.jetbrains.annotations.Nullable String)' is deprecated since version 1.13
Deprecated API usage: src/main/java/net/buildtheearth/modules/common/commands/BuildTeamToolsCommand.java#L188
'HoverEvent(net.md_5.bungee.api.chat.HoverEvent.Action, net.md_5.bungee.api.chat.BaseComponent\[\])' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/modules/common/commands/BuildTeamToolsCommand.java#L184
'setHoverEvent(net.md_5.bungee.api.chat.HoverEvent)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/utils/Item.java#L248
'setLore(java.util.@org.jetbrains.annotations.Nullable List)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/modules/generator/model/GeneratorCollections.java#L133
'URL(java.lang.String)' is deprecated since version 20
Deprecated API usage: src/main/java/net/buildtheearth/modules/navigation/NavUtils.java#L37
'getUnsafe()' is deprecated since version 1.7.2
Deprecated API usage: src/main/java/net/buildtheearth/modules/common/commands/BuildTeamToolsCommand.java#L186
'net.md_5.bungee.api.chat.HoverEvent.Action' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/utils/Item.java#L191
'setLore(java.util.@org.jetbrains.annotations.Nullable List)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/modules/miscellaneous/blockpalettegui/ChoosePaletteBlocksMenu.java#L303
'getByName(java.lang.@org.jetbrains.annotations.Nullable String)' is deprecated since version 1.13
Deprecated API usage: src/main/java/net/buildtheearth/utils/Item.java#L222
'setDisplayName(java.lang.@org.jetbrains.annotations.Nullable String)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/modules/navigation/NavUtils.java#L60
'TextComponent(java.lang.String)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/modules/common/commands/BuildTeamToolsCommand.java#L186
'setHoverEvent(net.md_5.bungee.api.chat.HoverEvent)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/modules/generator/model/Command.java#L274
'sendActionBar(java.lang.String)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/modules/navigation/NavUtils.java#L69
'sendMessage(net.md_5.bungee.api.chat.BaseComponent)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/modules/common/commands/BuildTeamToolsCommand.java#L184
'net.md_5.bungee.api.chat.HoverEvent.Action' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/utils/Item.java#L201
'setLore(java.util.@org.jetbrains.annotations.Nullable List)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/utils/Item.java#L106
'setType(org.bukkit.@org.jetbrains.annotations.NotNull Material)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/utils/Item.java#L223
'setLore(java.util.@org.jetbrains.annotations.Nullable List)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/utils/Item.java#L478
'setDisplayName(java.lang.@org.jetbrains.annotations.Nullable String)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/modules/navigation/NavUtils.java#L61
'setClickEvent(net.md_5.bungee.api.chat.ClickEvent)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/utils/Item.java#L294
'setDisplayName(java.lang.@org.jetbrains.annotations.Nullable String)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/modules/miscellaneous/blockpalettegui/BlockPaletteManager.java#L227
'setDisplayName(java.lang.@org.jetbrains.annotations.Nullable String)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/utils/Item.java#L200
'setDisplayName(java.lang.@org.jetbrains.annotations.Nullable String)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/modules/common/commands/BuildTeamToolsCommand.java#L188
'net.md_5.bungee.api.chat.HoverEvent.Action' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/modules/generator/model/Command.java#L99
'sendActionBar(java.lang.String)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/utils/ChatHelper.java#L148
'org.bukkit.ChatColor' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/utils/Item.java#L365
'setLore(java.util.@org.jetbrains.annotations.Nullable List)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/modules/stats/menu/StatsMenu.java#L136
'setLore(java.util.@org.jetbrains.annotations.Nullable List)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/utils/Item.java#L247
'setDisplayName(java.lang.@org.jetbrains.annotations.Nullable String)' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/modules/common/commands/BuildTeamToolsCommand.java#L181
'net.md_5.bungee.api.chat.TextComponent' is deprecated
Deprecated API usage: src/main/java/net/buildtheearth/utils/Item.java#L188
'ItemStack(org.bukkit.@org.jetbrains.annotations.NotNull Material, int, short)' is deprecated since version 1.20.5
Deprecated API usage: src/main/java/net/buildtheearth/modules/miscellaneous/blockpalettegui/ChoosePaletteBlocksMenu.java#L300
'getByKey(org.bukkit.@org.jetbrains.annotations.Nullable NamespacedKey)' is deprecated since version 1.20.3
Result of method call ignored: src/main/java/net/buildtheearth/utils/JsonUtils.java#L130
Result of `JsonReader.nextName()` is ignored
Infinite recursion: src/main/java/net/buildtheearth/modules/generator/utils/GeneratorUtils.java#L186
Method `sendWikiLink()` recurses infinitely, and can only end by throwing an exception
Mismatched query and update of collection: src/main/java/net/buildtheearth/utils/Item.java#L43
Contents of collection `canPlaceItems` are updated, but never queried
Mismatched query and update of collection: src/main/java/net/buildtheearth/utils/Item.java#L42
Contents of collection `canDestroyItems` are updated, but never queried
Redundant type cast: src/main/java/net/buildtheearth/utils/BlockLocation.java#L31
Casting `y` to `double` is redundant
Redundant type cast: src/main/java/net/buildtheearth/utils/BlockLocation.java#L31
Casting `x` to `double` is redundant
Redundant type cast: src/main/java/net/buildtheearth/utils/BlockLocation.java#L31
Casting `z` to `double` is redundant
'size() == 0' can be replaced with 'isEmpty()': src/main/java/net/buildtheearth/modules/generator/GeneratorModule.java#L118
`command.getOperations().size() == 0` can be replaced with 'command.getOperations().isEmpty()'
'size() == 0' can be replaced with 'isEmpty()': src/main/java/net/buildtheearth/modules/stats/StatsModule.java#L96
`communicators.size() == 0` can be replaced with 'communicators.isEmpty()'
'size() == 0' can be replaced with 'isEmpty()': src/main/java/net/buildtheearth/utils/Utils.java#L29
`currentLine.length() > 0` can be replaced with '!currentLine.isEmpty()'
'size() == 0' can be replaced with 'isEmpty()': src/main/java/net/buildtheearth/modules/generator/GeneratorModule.java#L113
`generatorCommands.size() == 0` can be replaced with 'generatorCommands.isEmpty()'
Static initializer references subclass: src/main/java/net/buildtheearth/utils/geo/projection/GeographicProjection.java#L36
Referencing subclass ModifiedAirocean from superclass GeographicProjection initializer might lead to class loading deadlock
Call to 'printStackTrace()': src/main/java/net/buildtheearth/modules/network/model/BuildTeam.java#L162
Call to `printStackTrace()` should probably be replaced with more robust logging
Call to 'printStackTrace()': src/main/java/net/buildtheearth/utils/Config.java#L63
Call to `printStackTrace()` should probably be replaced with more robust logging
Call to 'printStackTrace()': src/main/java/net/buildtheearth/modules/generator/model/GeneratorCollections.java#L265
Call to `printStackTrace()` should probably be replaced with more robust logging
Call to 'printStackTrace()': src/main/java/net/buildtheearth/modules/generator/utils/GeneratorUtils.java#L328
Call to `printStackTrace()` should probably be replaced with more robust logging
Call to 'printStackTrace()': src/main/java/net/buildtheearth/modules/generator/utils/GeneratorUtils.java#L754
Call to `printStackTrace()` should probably be replaced with more robust logging
Call to 'printStackTrace()': src/main/java/net/buildtheearth/modules/navigation/components/warps/menu/WarpEditMenu.java#L158
Call to `printStackTrace()` should probably be replaced with more robust logging
Call to 'printStackTrace()': src/main/java/net/buildtheearth/utils/menus/AbstractMenu.java#L74
Call to `printStackTrace()` should probably be replaced with more robust logging
Call to 'printStackTrace()': src/main/java/net/buildtheearth/modules/generator/utils/GeneratorUtils.java#L351
Call to `printStackTrace()` should probably be replaced with more robust logging
Call to 'printStackTrace()': src/main/java/net/buildtheearth/modules/navigation/components/navigator/NavigatorComponent.java#L58
Call to `printStackTrace()` should probably be replaced with more robust logging
Call to 'printStackTrace()': src/main/java/net/buildtheearth/modules/common/components/updater/UpdaterComponent.java#L257
Call to `printStackTrace()` should probably be replaced with more robust logging
Call to 'printStackTrace()': src/main/java/net/buildtheearth/modules/common/components/updater/UpdaterComponent.java#L186
Call to `printStackTrace()` should probably be replaced with more robust logging
Call to 'printStackTrace()': src/main/java/net/buildtheearth/modules/network/model/BuildTeam.java#L154
Call to `printStackTrace()` should probably be replaced with more robust logging
Call to 'printStackTrace()': src/main/java/net/buildtheearth/modules/common/components/updater/UpdaterComponent.java#L331
Call to `printStackTrace()` should probably be replaced with more robust logging
Call to 'printStackTrace()': src/main/java/net/buildtheearth/modules/common/components/updater/UpdaterComponent.java#L320
Call to `printStackTrace()` should probably be replaced with more robust logging
Call to 'printStackTrace()': src/main/java/net/buildtheearth/modules/network/model/BuildTeam.java#L210
Call to `printStackTrace()` should probably be replaced with more robust logging
Call to 'printStackTrace()': src/main/java/net/buildtheearth/modules/generator/utils/GeneratorUtils.java#L383
Call to `printStackTrace()` should probably be replaced with more robust logging
Call to 'printStackTrace()': src/main/java/net/buildtheearth/utils/Config.java#L73
Call to `printStackTrace()` should probably be replaced with more robust logging
Call to 'printStackTrace()': src/main/java/net/buildtheearth/modules/generator/utils/GeneratorUtils.java#L869
Call to `printStackTrace()` should probably be replaced with more robust logging
Call to 'printStackTrace()': src/main/java/net/buildtheearth/modules/common/components/updater/UpdaterComponent.java#L338
Call to `printStackTrace()` should probably be replaced with more robust logging
Call to 'printStackTrace()': src/main/java/net/buildtheearth/modules/generator/model/GeneratorCollections.java#L159
Call to `printStackTrace()` should probably be replaced with more robust logging
Call to 'printStackTrace()': src/main/java/net/buildtheearth/modules/network/model/BuildTeam.java#L134
Call to `printStackTrace()` should probably be replaced with more robust logging
Call to 'printStackTrace()': src/main/java/net/buildtheearth/modules/generator/utils/GeneratorUtils.java#L426
Call to `printStackTrace()` should probably be replaced with more robust logging
Call to 'printStackTrace()': src/main/java/net/buildtheearth/modules/network/model/BuildTeam.java#L105
Call to `printStackTrace()` should probably be replaced with more robust logging
Call to 'printStackTrace()': src/main/java/net/buildtheearth/modules/generator/model/Command.java#L233
Call to `printStackTrace()` should probably be replaced with more robust logging
Call to 'printStackTrace()': src/main/java/net/buildtheearth/modules/plotsystem/PlotSystemModule.java#L121
Call to `printStackTrace()` should probably be replaced with more robust logging
Call to 'printStackTrace()': src/main/java/net/buildtheearth/modules/generator/model/GeneratorCollections.java#L203
Call to `printStackTrace()` should probably be replaced with more robust logging
Call to 'printStackTrace()': src/main/java/net/buildtheearth/modules/network/model/BuildTeam.java#L186
Call to `printStackTrace()` should probably be replaced with more robust logging
Call to 'printStackTrace()': src/main/java/net/buildtheearth/modules/generator/model/GeneratorCollections.java#L117
Call to `printStackTrace()` should probably be replaced with more robust logging
Call to 'printStackTrace()': src/main/java/net/buildtheearth/modules/network/model/BuildTeam.java#L126
Call to `printStackTrace()` should probably be replaced with more robust logging
Call to 'printStackTrace()': src/main/java/net/buildtheearth/modules/network/model/BuildTeam.java#L81
Call to `printStackTrace()` should probably be replaced with more robust logging
Unchecked warning: src/main/java/net/buildtheearth/modules/stats/model/StatsPlayer.java#L57
Unchecked call to 'put(K, V)' as a member of raw type 'java.util.HashMap'
Unchecked warning: src/main/java/net/buildtheearth/modules/stats/model/StatsServer.java#L53
Unchecked call to 'put(K, V)' as a member of raw type 'java.util.HashMap'
Unchecked warning: src/main/java/net/buildtheearth/modules/network/api/NetworkAPI.java#L320
Unchecked call to 'put(K, V)' as a member of raw type 'java.util.HashMap'
Unchecked warning: src/main/java/net/buildtheearth/modules/stats/model/StatsPlayer.java#L55
Unchecked call to 'put(K, V)' as a member of raw type 'java.util.HashMap'
Unchecked warning: src/main/java/net/buildtheearth/modules/network/api/NetworkAPI.java#L347
Unchecked call to 'add(E)' as a member of raw type 'java.util.ArrayList'
Unchecked warning: src/main/java/net/buildtheearth/modules/network/api/NetworkAPI.java#L332
Unchecked call to 'put(K, V)' as a member of raw type 'java.util.HashMap'
Unchecked warning: src/main/java/net/buildtheearth/modules/network/api/NetworkAPI.java#L38
Unchecked call to 'put(K, V)' as a member of raw type 'java.util.HashMap'
Unchecked warning: src/main/java/net/buildtheearth/modules/stats/StatsModule.java#L128
Unchecked call to 'put(K, V)' as a member of raw type 'java.util.HashMap'
Unused import: src/main/java/net/buildtheearth/modules/generator/components/house/House.java#L3
Unused import `import com.sk89q.worldedit.regions.Region;`
Unused import: src/main/java/net/buildtheearth/modules/generator/GeneratorModule.java#L24
Unused import `import net.buildtheearth.modules.navigation.components.tpll.listeners.TpllListener;`
Unused import: src/main/java/net/buildtheearth/modules/generator/components/road/RoadSettings.java#L4
Unused import `import net.buildtheearth.BuildTeamTools;`
Unused import: src/main/java/net/buildtheearth/modules/generator/utils/GeneratorUtils.java#L41
Unused import `import net.buildtheearth.modules.generator.GeneratorModule;`
Unused import: src/main/java/net/buildtheearth/modules/generator/components/field/FieldSettings.java#L5
Unused import `import net.buildtheearth.utils.Item;`
Unused import: src/main/java/net/buildtheearth/modules/generator/components/road/Road.java#L4
Unused import `import com.sk89q.worldedit.regions.Region;`
Unused import: src/main/java/net/buildtheearth/modules/generator/model/History.java#L14
Unused import `import org.bukkit.NamespacedKey;`
Unused import: src/main/java/net/buildtheearth/modules/generator/components/rail/Rail.java#L4
Unused import `import com.sk89q.worldedit.regions.Region;`
Unused import: src/main/java/net/buildtheearth/modules/generator/GeneratorModule.java#L22
Unused import `import net.buildtheearth.modules.navigation.components.navigator.listeners.NavigatorOpenListener;`
Unused import: src/main/java/net/buildtheearth/modules/generator/model/Settings.java#L11
Unused import `import org.bukkit.TreeType;`
Unused import: src/main/java/net/buildtheearth/modules/generator/GeneratorModule.java#L4
Unused import `import com.sk89q.worldedit.WorldEdit;`
Unused import: src/main/java/net/buildtheearth/modules/generator/GeneratorModule.java#L25
Unused import `import net.buildtheearth.modules.navigation.components.warps.listeners.WarpJoinListener;`
Unused import: src/main/java/net/buildtheearth/modules/generator/GeneratorModule.java#L21
Unused import `import net.buildtheearth.modules.navigation.components.navigator.listeners.NavigatorJoinListener;`
Unused import: src/main/java/net/buildtheearth/modules/generator/components/road/RoadSettings.java#L5
Unused import `import net.buildtheearth.modules.generator.model.Flag;`
Unused import: src/main/java/net/buildtheearth/modules/generator/GeneratorModule.java#L19
Unused import `import net.buildtheearth.modules.generator.model.GeneratorComponent;`
Unused import: src/main/java/net/buildtheearth/utils/menus/BookMenu.java#L8
Unused import `import org.bukkit.Material;`
Unused import: src/main/java/net/buildtheearth/modules/generator/components/road/Road.java#L3
Unused import `import com.sk89q.worldedit.regions.ConvexPolyhedralRegion;`
Unused import: src/main/java/net/buildtheearth/modules/generator/GeneratorModule.java#L23
Unused import `import net.buildtheearth.modules.navigation.components.tpll.listeners.TpllJoinListener;`
Unused import: src/main/java/net/buildtheearth/modules/generator/menu/GeneratorMenu.java#L29
Unused import `import org.bukkit.SoundCategory;`
Unused import: src/main/java/net/buildtheearth/modules/generator/model/Flag.java#L3
Unused import `import lombok.Getter;`
Unused import: src/main/java/net/buildtheearth/modules/generator/components/road/RoadSettings.java#L8
Unused import `import net.buildtheearth.utils.Item;`
Unused import: src/main/java/net/buildtheearth/modules/generator/components/rail/Rail.java#L3
Unused import `import com.sk89q.worldedit.regions.ConvexPolyhedralRegion;`
Unused import: src/main/java/net/buildtheearth/modules/generator/components/field/Field.java#L3
Unused import `import com.sk89q.worldedit.regions.Region;`
Unused import: src/main/java/net/buildtheearth/utils/menus/AbstractMenu.java#L5
Unused import `import net.buildtheearth.utils.ChatHelper;`
Unused import: src/main/java/net/buildtheearth/modules/generator/menu/GeneratorMenu.java#L30
Unused import `import org.bukkit.SoundGroup;`
Redundant local variable: src/main/java/net/buildtheearth/utils/PolygonTools.java#L23
Local variable `rasterizedPoints` is redundant
Unstable API Usage: src/main/java/net/buildtheearth/utils/ChatHelper.java#L34
'getLogger()' is marked unstable with @ApiStatus.Internal
Unstable API Usage: src/main/java/net/buildtheearth/utils/ChatHelper.java#L47
'getLogger()' is marked unstable with @ApiStatus.Internal
Unused assignment: src/main/java/net/buildtheearth/modules/common/components/updater/UpdaterComponent.java#L86
Variable `resultMessage` initializer `""` is redundant
Commented out code: src/main/java/net/buildtheearth/utils/Item.java#L135
Commented out code (15 lines)
Method can be extracted: src/main/java/net/buildtheearth/modules/generator/components/field/FieldScripts.java#L95
It's possible to extract method returning 'directionToUse' from a long surrounding method