Help me to make the sword (my mod) can glow in my hand like a torch

Started by Duckbiller on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help me to make the sword (my mod) can glow in my hand like a torch
Sat, 10/10/2020 - 21:18 (edited)
I made a mod for a sword and I want it to glow like a torch in my hand (or have it glow when thrown away somewhere), but I don't know how. When creating a mod for an item, there is a function "Add a glow effect" (something like that), but this function makes it so that it glows as if it is enchanted. But I need it to glow like a TORCH, and I don't know how to do it. Help :(
Edited by Duckbiller on Sat, 10/10/2020 - 21:18
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Torches don't glow or giveā€¦
Sun, 10/11/2020 - 21:06

Torches don't glow or give off light when in hand. You're thinking of OptiFine's Dynamic Lights feature, which does this. There's no easy way to do it, though, and it'd involve a lot of coding.