From 899a0e350ce2a0491d0105a19dbb4b9f9556d0d4 Mon Sep 17 00:00:00 2001 From: Lorenz Date: Sun, 7 Aug 2022 00:37:58 +0200 Subject: more debug info for for magma cubes --- src/main/java/at/hannibal2/skyhanni/test/LorenzTest.kt | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/main/java/at/hannibal2') diff --git a/src/main/java/at/hannibal2/skyhanni/test/LorenzTest.kt b/src/main/java/at/hannibal2/skyhanni/test/LorenzTest.kt index e77987f79..58346fd07 100644 --- a/src/main/java/at/hannibal2/skyhanni/test/LorenzTest.kt +++ b/src/main/java/at/hannibal2/skyhanni/test/LorenzTest.kt @@ -12,6 +12,7 @@ import at.hannibal2.skyhanni.utils.LorenzUtils.baseMaxHealth import net.minecraft.client.Minecraft import net.minecraft.entity.EntityLivingBase import net.minecraft.entity.item.EntityArmorStand +import net.minecraft.entity.monster.EntityMagmaCube import net.minecraft.nbt.NBTTagCompound import net.minecraftforge.client.event.RenderGameOverlayEvent import net.minecraftforge.fml.common.eventhandler.EventPriority @@ -147,6 +148,13 @@ class LorenzTest { resultList.add("baseMaxHealth: $baseMaxHealth") resultList.add("health: $health") } + if (entity is EntityMagmaCube) { + val squishFactor = entity.squishFactor + val slimeSize = entity.slimeSize + resultList.add("factor: $squishFactor") + resultList.add("slimeSize: $slimeSize") + + } } resultList.add("") resultList.add("") -- cgit