Jump to content

[1.15.2] entity as light SOURCE


Niprow

Recommended Posts

I want my entity are a light source not only be bright (with texture).

It's a living entity with a SegmentedModel.

Are there examples?

Is it a question of a RenderType or something else?

And what do I have to do to change the light to blue?

 

 I will make fun of you if you are not able to look into the (vanilla-) code.

Link to comment
Share on other sites

Colored light and entities as light sources are not possible without changing how minecrafts light engine works. you could however look at the code of the optifine mod which is open source as far as I know because optifine does have glowing entities. This is all client side stuff though so the entity light wont prevent mobs from spaning or something like that.

Link to comment
Share on other sites

Howdy

 

You could look at the source for the Dynamic Lights mod and update it yourself to 1.15.2. Lighting hasn't changed much between the two, although from memory the mod does poke around fairly deeply in the vanilla code so you might need to bend your brain around it for a while.

 

-TGG

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.