Interface Radioactive
- All Superinterfaces:
ItemAttribute
- All Known Implementing Classes:
RadioactiveItem
This Interface, when attached to a class that inherits from
SlimefunItem
, marks
the Item as radioactive.
Carrying such an item will give the wearer the radiation effect.
You can specify a level of Radioactivity
for the severity of the effect.- Author:
- TheBusyBiscuit
-
Method Summary
Modifier and TypeMethodDescriptionThis method returns the level ofRadioactivity
for thisRadioactive
item.Methods inherited from interface io.github.thebusybiscuit.slimefun4.core.attributes.ItemAttribute
getId
-
Method Details
-
getRadioactivity
This method returns the level ofRadioactivity
for thisRadioactive
item. Higher levels cause more severe radiation effects.- Returns:
- The level of
Radioactivity
of this item.
-