Skip to content

API differences

PetteriM1 edited this page Mar 27, 2024 · 2 revisions

GlobalBlockPalette

getOrCreateRuntimeId(int legacyId) -> getOrCreateRuntimeId(int protocol, int legacyId)

getOrCreateRuntimeId(int id, int meta) -> getOrCreateRuntimeId(int protocol, int id, int meta)

Entity

The layout of mob classes may have some differences due to mob AI implementation.

General

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.

Clone this wiki locally