Package btw.block.tileentity.beacon
Class MagneticPointBeaconEffect
java.lang.Object
api.block.beacon.BeaconEffect
btw.block.tileentity.beacon.MagneticPointBeaconEffect
-
Field Summary
Fields inherited from class api.block.beacon.BeaconEffect
EFFECT_DURATION, rangePerLevel -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intgetMagneticFieldLevel(int powerlevel) voidonUpdate(TileEntityBeacon tileEntity) Only gets called when beaconEffectClass !Methods inherited from class api.block.beacon.BeaconEffect
applyPotionEffectToPlayersInRange, onPowerChange, onPowerOff, onPowerOn, updateGlobalMagneticFieldListForStateChange
-
Constructor Details
-
MagneticPointBeaconEffect
public MagneticPointBeaconEffect()
-
-
Method Details
-
onUpdate
Description copied from class:BeaconEffectOnly gets called when beaconEffectClass != null, isOn() and getLevels() > 0- Specified by:
onUpdatein classBeaconEffect
-
getMagneticFieldLevel
protected int getMagneticFieldLevel(int powerlevel) - Overrides:
getMagneticFieldLevelin classBeaconEffect
-