diff options
author | Raven Szewczyk <git@eigenraven.me> | 2023-04-10 17:49:16 +0100 |
---|---|---|
committer | Raven Szewczyk <git@eigenraven.me> | 2023-04-10 17:49:16 +0100 |
commit | 8ac58626bd4caa9e49f58acc6b97ac031f6c2107 (patch) | |
tree | 0a8c7b737f1f2607fa6875309f4c6a5c2b8b3331 /src/main/java/gregtech/api/util/WorldSpawnedEventBuilder.java | |
parent | d795cf740c3b48b602d3bfb708ed9e6c492ad37d (diff) | |
download | GT5-Unofficial-8ac58626bd4caa9e49f58acc6b97ac031f6c2107.tar.gz GT5-Unofficial-8ac58626bd4caa9e49f58acc6b97ac031f6c2107.tar.bz2 GT5-Unofficial-8ac58626bd4caa9e49f58acc6b97ac031f6c2107.zip |
Update spotless config to 0.2.2
Diffstat (limited to 'src/main/java/gregtech/api/util/WorldSpawnedEventBuilder.java')
-rw-r--r-- | src/main/java/gregtech/api/util/WorldSpawnedEventBuilder.java | 88 |
1 files changed, 44 insertions, 44 deletions
diff --git a/src/main/java/gregtech/api/util/WorldSpawnedEventBuilder.java b/src/main/java/gregtech/api/util/WorldSpawnedEventBuilder.java index 112fcd93cb..f2bcce2bf8 100644 --- a/src/main/java/gregtech/api/util/WorldSpawnedEventBuilder.java +++ b/src/main/java/gregtech/api/util/WorldSpawnedEventBuilder.java @@ -94,7 +94,7 @@ public abstract class WorldSpawnedEventBuilder implements Runnable { /* Abstract Classes */ private abstract static class EntityWorldSpawnedEventBuilder extends WorldSpawnedEventBuilder - implements IEntityWorldSpawnedEvent { + implements IEntityWorldSpawnedEvent { private Entity entity; @@ -111,7 +111,7 @@ public abstract class WorldSpawnedEventBuilder implements Runnable { } private abstract static class PositionedEntityWorldSpawnedEventBuilder extends EntityWorldSpawnedEventBuilder - implements IPositionedWorldSpawnedEvent { + implements IPositionedWorldSpawnedEvent { private Vec3 position; @@ -134,7 +134,7 @@ public abstract class WorldSpawnedEventBuilder implements Runnable { } private abstract static class PositionedWorldSpawnedEventBuilder extends WorldSpawnedEventBuilder - implements IPositionedWorldSpawnedEvent { + implements IPositionedWorldSpawnedEvent { private Vec3 position; @@ -157,7 +157,7 @@ public abstract class WorldSpawnedEventBuilder implements Runnable { } private abstract static class StringIdentifierPositionedWorldSpawnedEventBuilder - extends PositionedWorldSpawnedEventBuilder implements IStringIdentifierWorldSpawnedEvent { + extends PositionedWorldSpawnedEventBuilder implements IStringIdentifierWorldSpawnedEvent { private String identifier; @@ -180,7 +180,7 @@ public abstract class WorldSpawnedEventBuilder implements Runnable { } private abstract static class SoundStringIdentifierPositionedWorldSpawnedEventBuilder - extends StringIdentifierPositionedWorldSpawnedEventBuilder implements ISoundWorldSpawnedEvent { + extends StringIdentifierPositionedWorldSpawnedEventBuilder implements ISoundWorldSpawnedEvent { private float pitch; private float volume; @@ -259,13 +259,13 @@ public abstract class WorldSpawnedEventBuilder implements Runnable { throw new IllegalStateException("Position, identifier, motion and world must be set"); getWorld().spawnParticle( - getIdentifier(), - getPosition().xCoord, - getPosition().yCoord, - getPosition().zCoord, - getMotion().xCoord, - getMotion().yCoord, - getMotion().zCoord); + getIdentifier(), + getPosition().xCoord, + getPosition().yCoord, + getPosition().zCoord, + getMotion().xCoord, + getMotion().yCoord, + getMotion().zCoord); } } @@ -312,12 +312,12 @@ public abstract class WorldSpawnedEventBuilder implements Runnable { throw new IllegalStateException(ILLEGAL_STATE_STR1); getWorld().playSoundEffect( - getPosition().xCoord, - getPosition().yCoord, - getPosition().zCoord, - getIdentifier(), - getPitch(), - getVolume()); + getPosition().xCoord, + getPosition().yCoord, + getPosition().zCoord, + getIdentifier(), + getPitch(), + getVolume()); } } @@ -370,13 +370,13 @@ public abstract class WorldSpawnedEventBuilder implements Runnable { throw new IllegalStateException(ILLEGAL_STATE_STR1); getWorld().playSound( - getPosition().xCoord, - getPosition().yCoord, - getPosition().zCoord, - getIdentifier(), - getPitch(), - getVolume(), - isProximity()); + getPosition().xCoord, + getPosition().yCoord, + getPosition().zCoord, + getIdentifier(), + getPitch(), + getVolume(), + isProximity()); } } @@ -411,10 +411,10 @@ public abstract class WorldSpawnedEventBuilder implements Runnable { throw new IllegalStateException(ILLEGAL_STATE_STR1); getWorld().playRecord( - getIdentifier(), - (int) getPosition().xCoord, - (int) getPosition().yCoord, - (int) getPosition().zCoord); + getIdentifier(), + (int) getPosition().xCoord, + (int) getPosition().yCoord, + (int) getPosition().zCoord); } } @@ -471,13 +471,13 @@ public abstract class WorldSpawnedEventBuilder implements Runnable { throw new IllegalStateException("Position and world must be set"); getWorld().newExplosion( - getEntity(), - getPosition().xCoord, - getPosition().yCoord, - getPosition().zCoord, - strength, - isFlaming, - isSmoking); + getEntity(), + getPosition().xCoord, + getPosition().yCoord, + getPosition().zCoord, + strength, + isFlaming, + isSmoking); } } @@ -485,7 +485,7 @@ public abstract class WorldSpawnedEventBuilder implements Runnable { * Positional Data is rounded down due to this targeting a block. */ public static final class ExtinguishFireEffectEventBuilder extends PositionedWorldSpawnedEventBuilder - implements IEntityPlayerWorldSpawnedEvent { + implements IEntityPlayerWorldSpawnedEvent { private int side; private EntityPlayer entityPlayer; @@ -531,16 +531,16 @@ public abstract class WorldSpawnedEventBuilder implements Runnable { throw new IllegalStateException("EntityPlayer, position and world must be set"); getWorld().extinguishFire( - getEntityPlayer(), - (int) getPosition().xCoord, - (int) getPosition().yCoord, - (int) getPosition().zCoord, - side); + getEntityPlayer(), + (int) getPosition().xCoord, + (int) getPosition().yCoord, + (int) getPosition().zCoord, + side); } } public static final class SoundAtEntityEventBuilder extends EntityWorldSpawnedEventBuilder - implements ISoundWorldSpawnedEvent, IStringIdentifierWorldSpawnedEvent { + implements ISoundWorldSpawnedEvent, IStringIdentifierWorldSpawnedEvent { private float pitch; private float volume; @@ -605,7 +605,7 @@ public abstract class WorldSpawnedEventBuilder implements Runnable { } public static final class SoundToNearExceptEventBuilder extends WorldSpawnedEventBuilder - implements ISoundWorldSpawnedEvent, IStringIdentifierWorldSpawnedEvent, IEntityPlayerWorldSpawnedEvent { + implements ISoundWorldSpawnedEvent, IStringIdentifierWorldSpawnedEvent, IEntityPlayerWorldSpawnedEvent { private float pitch; private float volume; |