CUSTOMITEM banner
CUSTOMITEM icon

CUSTOMITEM

Create a new item called Radioactive Isotope and give it a cool texture. Make sure it appears inside of the creative menu. When held this radioactive isotope...

00
fabricClient1.21.1mod

Customitem Mod Notes

Features

  • Adds the Radioactive Isotope item with a custom green hazard texture.
  • Item is available in the Ingredients creative tab.
  • When held in either hand, it emits a 5-block aura that refreshes Poison on nearby living entities every second.

Usage

  • Grab the Radioactive Isotope from the creative inventory and hold it to start irradiating nearby mobs and players (including yourself).
  • Keep it equipped to maintain the aura; stowing it stops the effect.

Implementation Details

  • Aura logic runs in the item tick, only on the server side of the world, and checks main and offhand stacks.
  • Poison duration is short (3 seconds) but re-applied to stay active while you keep holding the item.

Limitations & Suggestions

  • The effect requires the mod to be present wherever gameplay is simulated; in multiplayer it needs to run where the world is authoritative.
  • Consider adding immunity or mitigation (armor, potions) if the aura is too punishing, or tweak the radius/duration to taste.