Package org.cloudburstmc.server.potion
Class CloudPotion
java.lang.Object
org.cloudburstmc.api.potion.Potion
org.cloudburstmc.server.potion.CloudPotion
public class CloudPotion
extends org.cloudburstmc.api.potion.Potion
author: MagicDroidX
Nukkit Project
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyPotion(org.cloudburstmc.api.entity.Entity entity)voidapplyPotion(org.cloudburstmc.api.entity.Entity entity, double health)org.cloudburstmc.api.potion.EffectMethods inherited from class org.cloudburstmc.api.potion.Potion
getDuration, getLevel, getType, isInstant, isSplash, setSplash
-
Constructor Details
-
CloudPotion
public CloudPotion(org.cloudburstmc.api.potion.PotionType type, boolean splash)
-
-
Method Details
-
getEffect
public org.cloudburstmc.api.potion.Effect getEffect()- Specified by:
getEffectin classorg.cloudburstmc.api.potion.Potion
-
applyPotion
public void applyPotion(org.cloudburstmc.api.entity.Entity entity)- Specified by:
applyPotionin classorg.cloudburstmc.api.potion.Potion
-
applyPotion
public void applyPotion(org.cloudburstmc.api.entity.Entity entity, double health)
-