I'm currently trying to modify a Specific Block's BlockState (at a known position) from a seperate thread which is watching and waiting for external events to occur (not Minecraft related). To do this I would be required to get the overworld World Instance and call the setBlockState method of the IWorld class. Since this seperate thread isn't passed any Server or World parameters, I need to somehow get the instance manually (possibly from a public static variable or a getter method)
Is there a simple way to get an IWorld instance of the current Overworld from a class (An alternative to the unavailable MinecraftServer.getServer() method)?