Posted March 14, 20214 yr I trying to create a custom entity with multiple hitboxes (like vanilla Ender Dragon). The problem is that I'm not sure how to properly spawn parts of an entity. All I've found in vanilla code is creating an instances of EnderDragonPartEntity in the EnderDragonEntity constructor. And the parts themselves do not imply the use of the addEntity method on them. So, I want to understand how to correctly create a similar Part entity that inherits the type of the parent entity using forge. Or should I create a separate type for this Part? I would be grateful for any advice. P.S. Sorry for my English. Edited March 14, 20214 yr by TheOrangeInd
March 15, 20214 yr There is now a multipart API to use for handling this: https://github.com/MinecraftForge/MinecraftForge/pull/7554.
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.