Jump to content

Having trouble creating custom Zombie-like mob in 1.18.1


QuantumBlink

Recommended Posts

Hi, I'm attempting to practice mob creation with a Zombie-like mob. I'm able to get into the game, but my spawn egg doesn't work and attempting to summon my mob through commands returns an unexpected error.

Here's the code for my main mob class:

https://gist.github.com/QuantumBlink1337/efa71f465cd4868ab94ca06401ef67b4

Here's my renderer, and renderer factory:

https://gist.github.com/QuantumBlink1337/34135f755bbb58144bebd3d0e9a2f0ec

https://gist.github.com/QuantumBlink1337/0b81ba4f4698f60cdb5b83f6f151dd35

 

I'm registering my mob through RegistryEntries, which I'm not sure if this could be the culprit as I know DeferredRegistries is the recommended method at this point:

https://gist.github.com/QuantumBlink1337/6f8a4e5e1a4aa4d6d3a517e8be2cde84

I'd appreciate any possible help with this, and apologies if anything is out of whack completely. Thank you!

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.



×
×
  • Create New...

Important Information

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