#[NMS] How to register a custom entity 1.17.1 ?

1 messages · Page 1 of 1 (latest)

golden tendon
#

I've been digging into NMS a little and notice the IRegistry class basically contains all things in minecraft like mobs.. Now my question is how to add to this list, so that the server doesn't crash when spawning an entity not on the list.

elfin sparrow
#

Should be something along the lines of IRegistry.a(Iregistry.something, yourMob)

golden tendon
#

Yeah, read that online, I'm unfortunately having trouble with parameters

#

I'll give it another go, ty so much for your answer though

elfin sparrow
#

You could always use mojmap and the remapper

golden tendon
#

Finally managed to do this after 40 mins, ty