Posted January 21, 20214 yr Hi, could anyone tell me how to set entity attributes for my custom mob, please? I copied the code that most of the vanilla mobs use, but judging from the log, it doesn't seem to be working. I found this post, but it appears to be out of date. Thanks.
January 21, 20214 yr You can add the attributes to the entity via GlobalEntityTypeAttributes.put() using enqueueWork in common setup. Check GlobalEntityTypeAttributes.
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.