Jump to content

Recommended Posts

Posted

I'm creating spawn eggs using the SpawnEggItem class, but past the first two eggs registered the rest have no texture

The log says this

[20:26:58] [Worker-Main-11/WARN] [minecraft/ModelBakery]: Unable to load model: 'danmachi:almiraj_spawn_egg#inventory' referenced from: danmachi:almiraj_spawn_egg#inventory: java.io.FileNotFoundException: danmachi:models/item/almiraj_spawn_egg.json

For each of the eggs that don't have a texture, and here's the full log

  Reveal hidden contents

And here's the class where I register all my entities and the spawn eggs

  Reveal hidden contents

Everything works other than the textures of those eggs, and also the full repository is here: https://github.com/ImNotJahan/danmachi-mod/tree/master/v1.16.5/

Posted (edited)

I don't think it's a good idea to use both registry at the same time, you should choose either deferred registry or using registry events. Although it may not be the fix.

Edited by poopoodice
  • Thanks 1

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.