Started by
Noh
on
Topic category: Help with Minecraft modding (Java Edition)
I wan't a make multiparted entity like ender dragon hitbox system but I dont know how I just research custom code and stuff but I cant find anything I just find I need the use parent/child method for multipart entity but I can not find any tutorial or forum can someone please help me please?
If you want to learn on how they made this you really should be using the Workspace File Browser and Search Dragon, specifically EnderDragon.java and EnderDragonPart.java.
You may see values in EnderDragon.java and EnderDragonPart.java called p_31096_ or something similar. These are just variables that cannot be read due to being obfuscated by the Minecraft devs.
Here is an example of what the obfuscated version looks like and then what it could of originally been before obfuscation.
Line 19 of EnderDragonPart.json (Obfuscated)
public EnderDragonPart(EnderDragon p_31014_, String p_31015_, float p_31016_, float p_31017_)
(Original)
public EnderDragonPart(EnderDragon parent, String partName, float width, float height)
I hope this helps you learn how to possibly make multi-hitbox entities.