Posted June 26, 20169 yr I noticed that net.minecraft.Block::isOpaqueCube(IBlockState) is @Deprecated. What is the preferred method of achieving a non-opaque block, in this case? Was the method deprecated incorrectly or is there a better way to achieve the same effect as overriding the method to return false? (I am looking at forgeSrc-1.10-12.18.0.1996-1.10.0-sources.jar) http://i1279.photobucket.com/albums/y523/textcraft/Jun%202014%20-%202/a77dd69ddfa9e622422c5e5cd7e377b14d5cdedec1b7a8e19dde68c9e22be6dfbf81219d3893f419da39a3ee5e6b4b0d3255bfef95601890afd8070929aa338b0dfc68d48355_zps0c847cf3.png[/img] I have a reputation for text walls. If you ask me a question I will most likely explain it in the most wordy way possible. -0 characters left
June 26, 20169 yr If you would look at other Block's methods you'll see there are also deprecations. In 1.9 (or 1.9.4) Mojang apparently decided that @Deprecated will be used to mark methods as "internal" ones. Yes - this is miss-use of annotation, so also yes - don't worry about that (tho it's annoying). Deprecated for Blocks (and maybe few other things) means that given method can ever only be called by internals (so basically aside from @Overriding it you shouldn't ever call it) - or at least - this is what some of us come up with. 1.7.10 is no longer supported by forge, you are on your own.
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.