News for hackers. Stuff that matters.
Re:Folia – Multithreading Coming to your Minecraft server by nightpool on Thursday March 30, 2023 @03:54PM (#35378013)
Folia is a complete re-write of Minecraft's core game loop to support "true multithreading and regionalized ticking" ("ticking" being the term for a single turn of Minecraft's core game event loop). Even the most ambitious official modding API in the world would never ever contemplate supporting something as thorough and involved as this. Minecraft does in fact have an official plugin API, known as data packs—they're obviously more limited then the ability to completely rewrite the game's code, but they can create new blocks, items, entities, customize their behavior, change worldgen, add achievements, and more. Here's an example of a "bendy pistons" mod that was built entirely using the datapacks API, with no mods required: https://www.youtube.com/watch?v=_Wk7ZUYkrpI (and 7 more features from the original video: https://www.youtube.com/watch?v=2LRvq6H11bs)
Re:Folia – Multithreading Coming to your Minecraft server by Aeolun on Friday March 31, 2023 @01:15AM (#35382897)
Oh my god, bendy pistons are ridiculous. Thanks for that.