Repository navigation
FastEdit 1.1.0
Port to PowerNukkitX 3.0.1. 3.0 renamed the whole cn.nukkit.* namespace to org.powernukkitx.* and handed the protocol and NBT over to CloudburstMC: 1.0.5 no longer loads at all on it, every import pointing at a class that is gone.
This version requires PNX 3.0.x. For a PNX 2.x server, stay on 1.0.5.
What actually moved, beyond the rename:
- Block updates —
UpdateSubChunkBlocksPacketis now the Cloudburst packet (setters instead of a positional constructor, list getters instead of public fields) andBlockChangeEntrytakes aVector3i, aBlockDefinitionand anActorBlockSyncMessageId.FLAG_ALLbecame aSet<Flag>, so the per-entry mask is rebuilt from the enum to keep exactlyNEIGHBORS|NETWORK. - Command completion —
CommandParamTypecomes from the protocol library and no longer hasSTRING:IDcarries the text parameter, as in PNX's own native commands. - NBT files —
NBTIOis gone.NbtFilesbridges Cloudburst streams and PNX'sCompoundTag, the wayStructureAPIdoes, keeping both formats the plugin depends on: big-endian forunknown_blocks.datand little-endian for.mcstructure. A 971-entryunknown_blocks.datwritten by 1.0.5 reads back identically. - Item NBT —
hasCompoundTag/getNamedTag/setNamedTagbecamehasNbt/getNbt/setNbt. plugin.ymldeclaresapi: 3.0.0— thePluginManagerrefuses a different major.
Verified on a 3.0.1 server: the plugin enables, both listeners register, and a command dispatches.
No in-game behaviour change: same commands, same selections, same schematics.