Posted March 10, 201411 yr StructureVillagePieces.Village (as of Forge 1.7.2-10.12.0.1040) is not visible. I, as well as other modders who add village components need access to this Class so we can properly add our components. I've tried extending StructureComponent instead, but I just get a ClassCastException whenever a village tries to generate my structure. This fix (or a way around it, if possible) would be much appreciated. Thanks.
March 10, 201411 yr Use reflection to invoke the methods you need. A dirty solution, I know . . . Class villageClass = Class.forName("net.minecraft.src.StructureVillagePieces.Village");
March 10, 201411 yr Author I'm just going to disable my village component's generation until this is resolved. I've no intention of releasing anything particularly soon and I doubt this will take too long to fix. Thanks guys.
March 11, 201411 yr https://github.com/MinecraftForge/MinecraftForge/commit/534b241e9fc0fc33ad592d8068234bdaf9b6b500 Getting busy with other shit, but here. I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.