The java method `net.minecraft.entity.EntityLivingBase.addPotionEffect` is used in the Minecraft game to apply a potion effect to a living entity. A potion effect is a status effect that can be applied to various entities in the game, such as players or mobs. This method takes as input a `PotionEffect` object which defines the type and duration of the effect. Once applied, the entity will experience the specified potion effect for the specified duration.
Java EntityLivingBase.addPotionEffect - 30 examples found. These are the top rated real world Java examples of net.minecraft.entity.EntityLivingBase.addPotionEffect extracted from open source projects. You can rate examples to help us improve the quality of examples.