Posted May 21, 20169 yr Hi, I'm wondering what happens to onNeighborBlockChange(World worldIn, BlockPos pos, IBlockState state, Block neighborBlock) in Minecraft 1.9.4 cause I can't find it. Thx in advance. Bektor Developer of Primeval Forest.
May 21, 20169 yr You can use this instead. Seems to be some stuff that's been deprecated, but this works. @Override public void neighborChanged(IBlockState state, World worldIn, BlockPos pos, Block blockIn) { ... } Hi, I'm wondering what happens to onNeighborBlockChange(World worldIn, BlockPos pos, IBlockState state, Block neighborBlock) in Minecraft 1.9.4 cause I can't find it. Thx in advance. Bektor
May 22, 20169 yr Author You can use this instead. Seems to be some stuff that's been deprecated, but this works. @Override public void neighborChanged(IBlockState state, World worldIn, BlockPos pos, Block blockIn) { ... } Hi, I'm wondering what happens to onNeighborBlockChange(World worldIn, BlockPos pos, IBlockState state, Block neighborBlock) in Minecraft 1.9.4 cause I can't find it. Thx in advance. Bektor Thx. Works fine. Developer of Primeval Forest.
September 3, 20169 yr Thank you, was wondering the same thing. Any idea what we are suppose to use? I mean since the alternative is deprecated. I still haven't published a mod because I can never get that in-dev version just right to warrant a public release. And yes, after two years of mod development I am still learning to speak Java. Follow me on GitHub: https://github.com/yooksi Contact me on Twitter: https://twitter.com/yooksi Read my Minecraft blog: https://yooksidoesminecraft.blogspot.de/
September 3, 20169 yr Deprecated in this case means "do not invoke this method, but you can override it" Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
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.