How to check the brightness with a mob

Started by Atten007 on

Topic category: Help with modding (Java Edition)

Last seen on 05:57, 26. Apr 2024
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to check the brightness with a mob

Hi folks,

I'm currently making a mod with "The Glare" for Minecraft 1.15.2 and Minecraft 1.16.5. The Glare is a mob, that very hates the darkness. Now I want, that the Glare checks the brightness and if it's 3 or under, the Glare should demonstrate the player that these areas are dark enough for monsters to spawn. How can I do this and check the brightness?

Sincerely yours,

Atten007😊

Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
get the light level with the…
Thu, 10/14/2021 - 20:20

get the light level with the block light level, I recommend that if your new, you don't make something so hard

Last seen on 05:57, 26. Apr 2024
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hi @RexCerv, I'm not new…
Fri, 10/15/2021 - 07:57

Hi @RexCerv,

I'm not new here, but I'd to know how I can get the light level with the block light level in the procedure programming in Mcreator. How can I get this in Mcreator? And how can I access the Java Editor in Mcreator?

Sincerely yours,

Atten007😊

Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
if they ain't a block level…
Fri, 10/15/2021 - 16:10

if they ain't a block level for specific blocks, coding. but you could try by getting the light level of the area

Last seen on 05:57, 26. Apr 2024
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok, and how can I do this…
Fri, 10/15/2021 - 18:15

Ok, and how can I do this with procedures?:

but you could try by getting the light level of the area.

Sincerely yours,
Atten007😊

Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
there is a procedure block…
Fri, 10/15/2021 - 19:04

there is a procedure block to get the light level I believe

Last seen on 05:57, 26. Apr 2024
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yes, I know which block it…
Fri, 10/15/2021 - 19:06

Yes, I know which block it is.

Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
then why you ask :p
Fri, 10/15/2021 - 19:12

then why you ask :p

Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
just discovered that there…
Fri, 10/15/2021 - 20:00

just discovered that there is a Get Light Level Of Block At X Y Z on Block Data