Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Initialize the Explosion class #428

Closed
wants to merge 2 commits into from

Merge branch 'AllayMC:master' into master

d243702
Select commit
Loading
Failed to load commit list.
Closed

feat: Initialize the Explosion class #428

Merge branch 'AllayMC:master' into master
d243702
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis succeeded Oct 3, 2024 in 0s

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

See this annotation in the file changed.

@codacy-production 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

See this annotation in the file changed.

@codacy-production 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

See this annotation in the file changed.

@codacy-production 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

See this annotation in the file changed.

@codacy-production 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

See this annotation in the file changed.

@codacy-production 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

See this annotation in the file changed.

@codacy-production 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

See this annotation in the file changed.

@codacy-production 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

See this annotation in the file changed.

@codacy-production 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

See this annotation in the file changed.

@codacy-production 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

See this annotation in the file changed.

@codacy-production 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

See this annotation in the file changed.

@codacy-production 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

See this annotation in the file changed.

@codacy-production 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

See this annotation in the file changed.

@codacy-production 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

See this annotation in the file changed.

@codacy-production 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

See this annotation in the file changed.

@codacy-production 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

See this annotation in the file changed.

@codacy-production 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

See this annotation in the file changed.

@codacy-production 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

See this annotation in the file changed.

@codacy-production 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

See this annotation in the file changed.

@codacy-production 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

See this annotation in the file changed.

@codacy-production 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

See this annotation in the file changed.

@codacy-production 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

See this annotation in the file changed.

@codacy-production 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

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

api/src/main/java/org/allaymc/api/utils/explosion/Explosion.java#L49

Avoid long parameter lists.