Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Light passes through blocks #35

Open
RomanPro100 opened this issue Jul 4, 2024 · 0 comments
Open

Light passes through blocks #35

RomanPro100 opened this issue Jul 4, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@RomanPro100
Copy link

Describe the bug
Basically, the title. When a player holds a light-emitting item, or when entities glow, the light passes through walls.

To Reproduce
With glowing entities:

  1. Make a chamber out of non-transparent blocks
  2. Spawn a mob inside of it (e.g. glow squid)
  3. Give it a Glowing effect if it doesn't glow
  4. Close the chamber
  5. See the light passing through the chamber

With players (using the freecam mod, but I believe it can be tested in multiplayer without the mod):

  1. Make a chamber out of non-transparent blocks
  2. Set the freecam outside the chamber
  3. Go inside and close the chamber
  4. Hold a light-emitting item (e.g. torch)
  5. Switch to the freecam
  6. See the light passing through the chamber

Expected behavior
No light from the mob/player is visible

Screen recordings

2024-07-04.10-42-54.mp4
2024-07-04.10-49-18.mp4
2024-07-04.11-18-40.mp4

Desktop

  • OS: Linux Mint 21.3
  • Minecraft: 1.21
  • Fabric Loader version: 0.15.11
  • Mods:
    • Fabric API 0.100.4+1.21
    • Freecam (Modrinth edition) 1.3.0-beta1+mc1.21
    • ObsidianUI 0.2.7+mc1.21
    • RyoamicLights 0.2.9+mc1.21
  • Version: 0.2.9+mc1.21
  • Branch: 1.21.x-architectury
@RomanPro100 RomanPro100 added the bug Something isn't working label Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant