feat: Initialize the Explosion class #428
Your pull request is up to standards!
Codacy found no issues in your code
Annotations
Check warning on line 16 in api/src/main/java/org/allaymc/api/utils/explosion/Explosion.java
codacy-production / Codacy Static Code Analysis
api/src/main/java/org/allaymc/api/utils/explosion/Explosion.java#L16
Avoid unused private fields such as 'sourcePosition'.
Check warning on line 16 in api/src/main/java/org/allaymc/api/utils/explosion/Explosion.java
codacy-production / Codacy Static Code Analysis
api/src/main/java/org/allaymc/api/utils/explosion/Explosion.java#L16
Perhaps 'sourcePosition' could be replaced by a local variable.
Check warning on line 17 in api/src/main/java/org/allaymc/api/utils/explosion/Explosion.java
codacy-production / Codacy Static Code Analysis
api/src/main/java/org/allaymc/api/utils/explosion/Explosion.java#L17
Avoid unused private fields such as 'explosionSourceEntity'.
Check warning on line 17 in api/src/main/java/org/allaymc/api/utils/explosion/Explosion.java
codacy-production / Codacy Static Code Analysis
api/src/main/java/org/allaymc/api/utils/explosion/Explosion.java#L17
Perhaps 'explosionSourceEntity' could be replaced by a local variable.
Check warning on line 18 in api/src/main/java/org/allaymc/api/utils/explosion/Explosion.java
codacy-production / Codacy Static Code Analysis
api/src/main/java/org/allaymc/api/utils/explosion/Explosion.java#L18
Avoid unused private fields such as 'damageSourceEntity'.
Check warning on line 18 in api/src/main/java/org/allaymc/api/utils/explosion/Explosion.java
codacy-production / Codacy Static Code Analysis
api/src/main/java/org/allaymc/api/utils/explosion/Explosion.java#L18
Perhaps 'damageSourceEntity' could be replaced by a local variable.
Check warning on line 20 in api/src/main/java/org/allaymc/api/utils/explosion/Explosion.java
codacy-production / Codacy Static Code Analysis
api/src/main/java/org/allaymc/api/utils/explosion/Explosion.java#L20
Avoid unused private fields such as 'causeFire'.
Check warning on line 20 in api/src/main/java/org/allaymc/api/utils/explosion/Explosion.java
codacy-production / Codacy Static Code Analysis
api/src/main/java/org/allaymc/api/utils/explosion/Explosion.java#L20
Perhaps 'causeFire' could be replaced by a local variable.
Check warning on line 21 in api/src/main/java/org/allaymc/api/utils/explosion/Explosion.java
codacy-production / Codacy Static Code Analysis
api/src/main/java/org/allaymc/api/utils/explosion/Explosion.java#L21
Avoid unused private fields such as 'damageEntity'.
Check warning on line 21 in api/src/main/java/org/allaymc/api/utils/explosion/Explosion.java
codacy-production / Codacy Static Code Analysis
api/src/main/java/org/allaymc/api/utils/explosion/Explosion.java#L21
Perhaps 'damageEntity' could be replaced by a local variable.
Check warning on line 22 in api/src/main/java/org/allaymc/api/utils/explosion/Explosion.java
codacy-production / Codacy Static Code Analysis
api/src/main/java/org/allaymc/api/utils/explosion/Explosion.java#L22
Perhaps 'blockInteraction' could be replaced by a local variable.
Check warning on line 23 in api/src/main/java/org/allaymc/api/utils/explosion/Explosion.java
codacy-production / Codacy Static Code Analysis
api/src/main/java/org/allaymc/api/utils/explosion/Explosion.java#L23
Perhaps 'radius' could be replaced by a local variable.
Check warning on line 25 in api/src/main/java/org/allaymc/api/utils/explosion/Explosion.java
codacy-production / Codacy Static Code Analysis
api/src/main/java/org/allaymc/api/utils/explosion/Explosion.java#L25
Avoid unused private fields such as 'smallExplosionParticles'.
Check warning on line 25 in api/src/main/java/org/allaymc/api/utils/explosion/Explosion.java
codacy-production / Codacy Static Code Analysis
api/src/main/java/org/allaymc/api/utils/explosion/Explosion.java#L25
Perhaps 'smallExplosionParticles' could be replaced by a local variable.
Check warning on line 26 in api/src/main/java/org/allaymc/api/utils/explosion/Explosion.java
codacy-production / Codacy Static Code Analysis
api/src/main/java/org/allaymc/api/utils/explosion/Explosion.java#L26
Avoid unused private fields such as 'largeExplosionParticles'.
Check warning on line 26 in api/src/main/java/org/allaymc/api/utils/explosion/Explosion.java
codacy-production / Codacy Static Code Analysis
api/src/main/java/org/allaymc/api/utils/explosion/Explosion.java#L26
Perhaps 'largeExplosionParticles' could be replaced by a local variable.
Check warning on line 27 in api/src/main/java/org/allaymc/api/utils/explosion/Explosion.java
codacy-production / Codacy Static Code Analysis
api/src/main/java/org/allaymc/api/utils/explosion/Explosion.java#L27
Avoid unused private fields such as 'soundType'.
Check warning on line 27 in api/src/main/java/org/allaymc/api/utils/explosion/Explosion.java
codacy-production / Codacy Static Code Analysis
api/src/main/java/org/allaymc/api/utils/explosion/Explosion.java#L27
Perhaps 'soundType' could be replaced by a local variable.
Check warning on line 30 in api/src/main/java/org/allaymc/api/utils/explosion/Explosion.java
codacy-production / Codacy Static Code Analysis
api/src/main/java/org/allaymc/api/utils/explosion/Explosion.java#L30
Avoid unused private fields such as 'affectedBlocks'.
Check warning on line 31 in api/src/main/java/org/allaymc/api/utils/explosion/Explosion.java
codacy-production / Codacy Static Code Analysis
api/src/main/java/org/allaymc/api/utils/explosion/Explosion.java#L31
Avoid unused private fields such as 'hitPlayers'.
Check warning on line 32 in api/src/main/java/org/allaymc/api/utils/explosion/Explosion.java
codacy-production / Codacy Static Code Analysis
api/src/main/java/org/allaymc/api/utils/explosion/Explosion.java#L32
Avoid unused private fields such as 'yield'.
Check warning on line 32 in api/src/main/java/org/allaymc/api/utils/explosion/Explosion.java
codacy-production / Codacy Static Code Analysis
api/src/main/java/org/allaymc/api/utils/explosion/Explosion.java#L32
Perhaps 'yield' could be replaced by a local variable.
Check warning on line 49 in api/src/main/java/org/allaymc/api/utils/explosion/Explosion.java
codacy-production / Codacy Static Code Analysis
api/src/main/java/org/allaymc/api/utils/explosion/Explosion.java#L49
Avoid long parameter lists.