#How to detect potion effect
1 messages · Page 1 of 1 (latest)
if (player.hasStatusEffect(StatusEffects.ABSORPTION)) {
player.sendMessage(Text.literal("You have absorption!"), false);
}
sorry I mean like I want an event when someone gets a potion effect in my class
probably doesnt exist
yeah
what are you trying to do?
im trying to have a book detect if a person gets a potion effect then logs it in a book