aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/utils/EntityUtils.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils/EntityUtils.kt')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/EntityUtils.kt8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/EntityUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/EntityUtils.kt
index 5cf493fd5..f9e8ddb86 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/EntityUtils.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/EntityUtils.kt
@@ -133,14 +133,6 @@ object EntityUtils {
fun EntityLivingBase.isAtFullHealth() = baseMaxHealth == health.toInt()
-// fun WorldClient.getEntitiesNearby(
-// clazz: Class<EntityBlaze>,
-// location: LorenzVec,
-// radius: Double
-// ): MutableList<EntityBlaze> = getEntities(clazz) { entity ->
-// entity?.getLorenzVec()?.let { it.distance(location) < radius } ?: false
-// }
-
fun EntityArmorStand.hasSkullTexture(skin: String): Boolean {
if (inventory == null) return false
return inventory.any { it != null && it.getSkullTexture() == skin }