Help with weird lighting bug

Started by iateglue7390 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with weird lighting bug

Hey there, I've created a feature for my upcoming magic mod wherein a traveling projectile will place an invisible light block over any air it crosses over, which will replace itself with air after two ticks. this works fine 98% of the time, but for some reason occasionally while using it one of the light blocks will persist and not despawn at all. Anyone come across this issue before?

Joined Sep 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can you send a SS of…
Sun, 09/10/2023 - 11:58

Can you send a SS of procedure?

Joined Sep 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Sure! This is the procedure…
Sun, 09/10/2023 - 23:28

Sure! This is the procedure on the projectile that places the light block

And this is the one for it to be replaced by air

I think it may be possible to fix it by force updating the block when it ticks, but i haven't tried that out yet.