How to check the brightness with a mob

Started by Atten007 on

Topic category: Help with Minecraft modding (Java Edition)

Active 10 hours ago
Joined Apr 2021
Points:
966

User statistics:

  • Modifications: 4
  • Forum topics: 43
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 256
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😊

Active 1 year ago
Joined Oct 2020
Points:
1630

User statistics:

  • Modifications: 0
  • Forum topics: 15
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1874
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

Active 10 hours ago
Joined Apr 2021
Points:
966

User statistics:

  • Modifications: 4
  • Forum topics: 43
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 256
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😊

Active 1 year ago
Joined Oct 2020
Points:
1630

User statistics:

  • Modifications: 0
  • Forum topics: 15
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1874
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

Active 10 hours ago
Joined Apr 2021
Points:
966

User statistics:

  • Modifications: 4
  • Forum topics: 43
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 256
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😊

Active 1 year ago
Joined Oct 2020
Points:
1630

User statistics:

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

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

Active 10 hours ago
Joined Apr 2021
Points:
966

User statistics:

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

Yes, I know which block it is.

Active 1 year ago
Joined Oct 2020
Points:
1630

User statistics:

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

then why you ask :p

Active 1 year ago
Joined Oct 2020
Points:
1630

User statistics:

  • Modifications: 0
  • Forum topics: 15
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1874
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