-
Notifications
You must be signed in to change notification settings - Fork 53
API differences
PetteriM1 edited this page Mar 27, 2024
·
2 revisions
getOrCreateRuntimeId(int legacyId)
-> getOrCreateRuntimeId(int protocol, int legacyId)
getOrCreateRuntimeId(int id, int meta)
-> getOrCreateRuntimeId(int protocol, int id, int meta)
The layout of mob classes may have some differences due to mob AI implementation.
See if the method has an overload with 'int protocol' and use that.
For more info, see javadocs at https://suomicraftpe.ddns.net/javadocs/nukkit-pm1e/
If your plugin depends on accessing a private field that exist on NukkitX using reflection, please contact me on Discord.