Hi, how can I check if a armorstand is above water? How can I get the Armorstand and check it every 20 ticks? With a RepeatingScheduler but how do I get then the ArmorStand Thanks!
@Grauju https://hub.spigotmc.org/javadocs/spigot/org/bukkit/World.html#getEntitiesByClass-java.lang.Class-
@Grauju I'm not sure if liquid counts as a block when using World#getHighestBlockAt(Location) but, try it, otherwise you can loop through the blocks from height 255 - 0.