Posted March 27, 20214 yr Hi, I'm now trying to make my block's affiliated tile entity update using onBlockActivated(). But seems this method doesn't exist in the latest Forge version for 1.16.5...where in earlier tutorials I see peoples using it. So in general, which version offers the most complete and deobfuscated code to work with? Thanks!
March 27, 20214 yr Latest forge version uses mojang mappings i believe...finding the equivalent of onBlockActivated shouldn't be too difficult...you can look into the code of other blocks that you know are using that method and see what the new name is Check out the port of the BetterEnd fabric mod (WIP): https://www.curseforge.com/minecraft/mc-mods/betterend-forge-port
March 27, 20214 yr Author By the way, in this version I still see a lot of random variable names like p_196271_3_...why is it so if we have mappings?
March 28, 20214 yr 12 hours ago, deathchanter said: By the way, in this version I still see a lot of random variable names like p_196271_3_...why is it so if we have mappings? I believe the mappings take care of method and field names, but not parameter names. I thought I saw somewhere there was a project going on working to give them names, but I haven't got and more info on that.
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.