ItemsAdderBlocksInjector
Hack to inject blocks into the game blocks registry and change their texture on the client without mods.
⚠️ Requirements:
- ItemsAdder 3.1.5+
- Supports Spigot 1.18.2, 1.19.2, 1.19.3, 1.19.4, 1.20.1, 1.20.2, 1.20.4, 1.20.6, 1.21.1
-
ViaVersion
-
ProtocolLib
-
LoneLibs
Example uses of this plugin
- Add compatibility to Iris world generator and similar plugins
- Add compatibility to worlds with manually set blockstates
Notes:
- Seems FastAsyncWorldEdit breaks because it caches the NMS Block data by iterating the Material class of Bukkit, which doesn't contain the injected custom blocks.
There is no way to edit enums and push new ones, so this is fixable only by editing FAWE code.
- WorldEdit //undo and //copy won't work with the injected custom blocks, they would be reverted back to NOTE_BLOCK (or mushroom, TRIPWIRE, CHORUS_PLANT)