Jump to content

[SOLVED] Entity with random Texture when Spawned [1.14.4]


ZyEx

Recommended Posts

Hello, i was wondering how could I have my entity spawn with one of multiple variants of it's texture picked at random (textures already pre-made and in the textures folder). I've tried having a final random value on the entity class, assigned in entityInit, that dictates which texture to be picked later in the render class but, unfortunatly, that didn't work. Any sugestions? Any idea helps.

Edited by ZyEx
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.