I'll attempt to add more documentation as time goes by on how this works on the gritty internal level. To make this parallelisation work, there are a lot of patches to the minecraft core code to avoid concurrent access to non-concurrent objects (curse ye fastutil) or to replace them with a working concurrent alternative.įurther, this mod adds it's own chunk caching into the mix, in order to provide paralellised access to chunks this does mean it may consume some more memory though. The vast majority of the performance (at least in my testing) was gained from parallelising entites.Įach one of the above loops is paralelised, and each one is toggleable. entities:Īll this mod does is parallelise each of these loops these loops. Create an issue with as much detail as possible (or comment on ones that are already there with more info).We have a discord (link at top of github readme) that is where I'm going to try and organsie stuff.There is a currently seperate version of this mod that is working on fabric support.If you want to get involved with the project there are several things you can do: There are different jars for 1.15.2 and 1.16.1 as while exactly 1 method thing changed to break transferability, there is no way for me to deal with it in a single jar. Simply install the jar like you normally would any other mod it's that simple. It might happen because my mod uses threads, and destroying a tile (with Terraria's method KillTile) while Terraria is drawing things may trigger some mods to start drawing effects or something. TO MODDERS: This mod logs at warn level to the log saying it is installed every ~3 minutes and that the logs are invalid. This is not directly because of VeinMiner, because I'm not calling any methods related to SpriteBatch in my mod. Should mod devs wish to support this in any way, please yell so I can add registration apis. It is almost impossible to test every possible interaction that CAN occur all I can say is that it's worked in every case I've tested.ĭO NOT, under any circumstances, report errors under this mod back to the mod author unless they have EXPLICITLY stated they are attempting to support it. It might break simply by you looking at it. If you do something in vanilla, it might still break. If you are using this with any other mods it may break. This fecks around with a LOT of minecraft's internal processing loops. either internal or dedicated server) mod and is unlikely cause any increase in framerates.Īlso note that this WILL allow vanilla clients to connect to a server with just this mod and forge installed. Under single player testing, there is a nominal drop of 20-50% in tps enabled vs disabled and little measurable difference between disabled and not installed. Under testing it has appeared to work with mods. This is a mod for Minecraft (forge) versions 1.15.2 and 1.16.x that enables multithreadingĬurrently it supports multithreading worlds, entities, tile entities, and environment ticks
0 Comments
Leave a Reply. |