im trying to make an entity despawn in light levels 3 or more

Started by Anonymooseoverlord on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
im trying to make an entity despawn in light levels 3 or more

whenever i use the block light level block i get an error and im unable to compile the mod but the sky light level causes the mob to despawn whenever i light level @ xyz

Joined Sep 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If it's a custom entity, you…
Sun, 09/10/2023 - 10:21

If it's a custom entity, you can just put these on "entity tick update"

Joined Sep 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i did the issue is that it…
Sun, 09/10/2023 - 13:31

i did the issue is that it despawns because of sky light level