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

Started by Duckbiller on Sat, 10/10/2020 - 21:12

Topic category: Help with modding (Java Edition)

Last seen on 13:06, 18. Nov 2020
Joined Oct 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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
Last seen on 00:03, 24. Nov 2020
Joined Jan 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.