aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/thatgravyboat/skyblockhud/api
diff options
context:
space:
mode:
authorThatGravyBoat <ThatGravyBoat@users.noreply.github.com>2021-07-11 21:28:26 +0000
committerGitHub Action <actions@github.com>2021-07-11 21:28:26 +0000
commite616a0910bdf7f4540f2814a35c1b7eefa9cd59d (patch)
treee1ec5d961ef3a0b2337f9794176b3fac3ae299d2 /src/main/java/com/thatgravyboat/skyblockhud/api
parent3a1917c8a0af4157cc1e6d5f3986e89377f245d8 (diff)
downloadSkyblockHud-Death-Defied-e616a0910bdf7f4540f2814a35c1b7eefa9cd59d.tar.gz
SkyblockHud-Death-Defied-e616a0910bdf7f4540f2814a35c1b7eefa9cd59d.tar.bz2
SkyblockHud-Death-Defied-e616a0910bdf7f4540f2814a35c1b7eefa9cd59d.zip
Prettified Code!
Diffstat (limited to 'src/main/java/com/thatgravyboat/skyblockhud/api')
-rw-r--r--src/main/java/com/thatgravyboat/skyblockhud/api/KillTracking.java7
-rw-r--r--src/main/java/com/thatgravyboat/skyblockhud/api/events/SkyBlockEntityKilled.java1
-rw-r--r--src/main/java/com/thatgravyboat/skyblockhud/api/sbentities/EntityTypeRegistry.java5
-rw-r--r--src/main/java/com/thatgravyboat/skyblockhud/api/sbentities/SkyBlockEntity.java3
4 files changed, 6 insertions, 10 deletions
diff --git a/src/main/java/com/thatgravyboat/skyblockhud/api/KillTracking.java b/src/main/java/com/thatgravyboat/skyblockhud/api/KillTracking.java
index 9aad4c6..32feb1b 100644
--- a/src/main/java/com/thatgravyboat/skyblockhud/api/KillTracking.java
+++ b/src/main/java/com/thatgravyboat/skyblockhud/api/KillTracking.java
@@ -3,6 +3,9 @@ package com.thatgravyboat.skyblockhud.api;
import com.thatgravyboat.skyblockhud.DevModeConstants;
import com.thatgravyboat.skyblockhud.api.events.SkyBlockEntityKilled;
import com.thatgravyboat.skyblockhud.api.sbentities.EntityTypeRegistry;
+import java.util.HashSet;
+import java.util.Set;
+import java.util.UUID;
import net.minecraft.client.Minecraft;
import net.minecraft.util.DamageSource;
import net.minecraftforge.common.MinecraftForge;
@@ -11,10 +14,6 @@ import net.minecraftforge.event.entity.living.LivingDeathEvent;
import net.minecraftforge.event.entity.player.AttackEntityEvent;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
-import java.util.HashSet;
-import java.util.Set;
-import java.util.UUID;
-
public class KillTracking {
public static final Set<UUID> attackedEntities = new HashSet<>();
diff --git a/src/main/java/com/thatgravyboat/skyblockhud/api/events/SkyBlockEntityKilled.java b/src/main/java/com/thatgravyboat/skyblockhud/api/events/SkyBlockEntityKilled.java
index 9d02993..325781c 100644
--- a/src/main/java/com/thatgravyboat/skyblockhud/api/events/SkyBlockEntityKilled.java
+++ b/src/main/java/com/thatgravyboat/skyblockhud/api/events/SkyBlockEntityKilled.java
@@ -12,5 +12,4 @@ public class SkyBlockEntityKilled extends Event {
this.id = id;
this.entity = entity;
}
-
}
diff --git a/src/main/java/com/thatgravyboat/skyblockhud/api/sbentities/EntityTypeRegistry.java b/src/main/java/com/thatgravyboat/skyblockhud/api/sbentities/EntityTypeRegistry.java
index 995bc9b..952aaa7 100644
--- a/src/main/java/com/thatgravyboat/skyblockhud/api/sbentities/EntityTypeRegistry.java
+++ b/src/main/java/com/thatgravyboat/skyblockhud/api/sbentities/EntityTypeRegistry.java
@@ -2,11 +2,10 @@ package com.thatgravyboat.skyblockhud.api.sbentities;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.Maps;
-import net.minecraft.entity.Entity;
-import net.minecraft.entity.monster.EntityEnderman;
-
import java.util.List;
import java.util.Map;
+import net.minecraft.entity.Entity;
+import net.minecraft.entity.monster.EntityEnderman;
public class EntityTypeRegistry {
diff --git a/src/main/java/com/thatgravyboat/skyblockhud/api/sbentities/SkyBlockEntity.java b/src/main/java/com/thatgravyboat/skyblockhud/api/sbentities/SkyBlockEntity.java
index 78b48df..bcd1196 100644
--- a/src/main/java/com/thatgravyboat/skyblockhud/api/sbentities/SkyBlockEntity.java
+++ b/src/main/java/com/thatgravyboat/skyblockhud/api/sbentities/SkyBlockEntity.java
@@ -1,8 +1,7 @@
package com.thatgravyboat.skyblockhud.api.sbentities;
-import net.minecraft.entity.Entity;
-
import java.util.function.Predicate;
+import net.minecraft.entity.Entity;
public class SkyBlockEntity {