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