Posted July 27, 20205 yr Is there a super simple way to check for this? Right now I'm using if (player.isInWater() || player.isInLava()) But I'm unsure if this will work for modded liquids, Thanks for your help!
July 27, 20205 yr I think you can use IBlockReader::getFluidState on the current position of the player and check if its not empty.
July 27, 20205 yr Author 6 hours ago, ChampionAsh5357 said: IBlockReader::getFluidState on the current position of the player and check if its not empty. That did the trick! Thank you kindly
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.