May 21, 20178 yr The method parameters must be wrong - look at the vanilla Block class and find the method, then make sure your override has the exact same parameters.
May 21, 20178 yr I think the equivalent method is now getStateForPlacement(World world, BlockPos pos, EnumFacing facing, float hitX, float hitY, float hitZ, int meta, EntityLivingBase placer, EnumHand hand).
May 22, 20178 yr If you run into such missing methods in the future, look to the vanilla code for examples that already do what you're trying to do. In this case, you could probably have found what to use by diving into the furnace class. Think of all those vanilla classes as a huge raft of tutorials. The debugger is a powerful and necessary tool in any IDE, so learn how to use it. You'll be able to tell us more and get better help here if you investigate your runtime problems in the debugger before posting.
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.