OpenCubicChunks / CubicChunks2

Infinite* height mod for Minecraft - rewrite for versions above 1.12
MIT License
72 stars 21 forks source link

Don't target all Map.get/put in LevelChunk to redirect block entity map access #34

Open Barteks2x opened 2 years ago

CursedFlames commented 2 years ago

With mixin, it shouldn't be too difficult to just target the specific instances we want, but we might want to handle this using ASM + some kind of code analysis, so that we can verify that BlockEntity maps are handled correctly in all cases. (Otherwise there's a risk of missing some, particularly with minecraft updates.)