Package api.block.beacon
Class PotionBeaconEffect
java.lang.Object
api.block.beacon.BeaconEffect
api.block.beacon.AmbientBeaconEffect
api.block.beacon.PotionBeaconEffect
- Direct Known Subclasses:
HellfireBeaconEffect
-
Field Summary
Fields inherited from class api.block.beacon.AmbientBeaconEffect
cooldownTime, effectDuration, effectName, hasCooldown, isGlobalFields inherited from class api.block.beacon.BeaconEffect
rangePerLevel -
Constructor Summary
ConstructorsConstructorDescriptionPotionBeaconEffect(String name, int potionID, boolean scalesWithLevel) PotionBeaconEffect(String name, int potionID, boolean scalesWithLevel, boolean isGlobal, boolean hasCooldown, long cooldownTime, int effectDuration) -
Method Summary
Methods inherited from class api.block.beacon.AmbientBeaconEffect
onAmbientUpdate, onPowerChange, onUpdate, updateAmbientBeaconListForStateChangeMethods inherited from class api.block.beacon.BeaconEffect
getMagneticFieldLevel, onPowerOff, onPowerOn, updateGlobalMagneticFieldListForStateChange
-
Constructor Details
-
PotionBeaconEffect
-
PotionBeaconEffect
public PotionBeaconEffect(String name, int potionID, boolean scalesWithLevel, boolean isGlobal, boolean hasCooldown, long cooldownTime, int effectDuration)
-
-
Method Details
-
onPlayerEffectUpdate
- Overrides:
onPlayerEffectUpdatein classAmbientBeaconEffect
-