Posted August 7, 20169 yr Hey. I am in the tedious progress of porting a mod. 1.8 -> current latest 1.10.2 (12.18.1.2046). I have had some success up to now, but I can't find anything about World#markBlockForUpdate . I saw that TGG uses it in his MBE github repo, but won't show up for me. Was it renamed? Was it removed? Was it reworked? I'd like to know! P.S: Oh, and I found myself quite often in this kind of situation, where I blindly google for alternatives. But, can some of you share the secret to knowing which changes Forge underwent? (The changelog doesn't help the smallest bit. I tried.) I try my best, so apologies if I said something obviously stupid!
August 7, 20169 yr Use World#notifyBlockUpdate . Some class, field and method renames are documented on this issue tracker. Otherwise try looking for places where the class, field or method was used in the old version and then looking at what the new version uses in those places. Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
August 8, 20169 yr Author Thanks a lot, choon! Oh, and another small thing: what about onBlockEventReceived ? Couldn't find anything on the issue tracker. Edit: Is it now eventReceived ? It's shown as deprecated, though. I try my best, so apologies if I said something obviously stupid!
August 8, 20169 yr Author Nailed it. Thanks a lot. I'll let this thread open in case I'll need anything else, until I'm done porting. Edit: Anything about Item>getColorFromItemStack ? I try my best, so apologies if I said something obviously stupid!
August 8, 20169 yr Edit: Anything about Item>getColorFromItemStack ? All colour-related methods in Block and Item were replaced by IBlockColor and IItemColor in 1.9. In init, get the BlockColors / ItemColors instance from Minecraft using the appropriate getter, create an IBlockColor / IItemColor implementation and then register it with BlockColors / ItemColors . Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
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.