Skip to content

Potion Added Event

To use this event use the following import:

groovy
import net.minecraftforge.event.entity.living.PotionEvent.PotionAddedEvent

Sub-Classes

This event extends the following events and can use all their methods and fields:
PotionEvent, LivingEvent, EntityEvent

Methods

groovy
net.minecraft.potion.PotionEffect getOldPotionEffect()
groovy
net.minecraft.potion.PotionEffect getPotionEffect()

贡献者

页面历史

© 2024 CleanroomMC. All Rights Reserved.