Overstand Posted September 24, 2019 Posted September 24, 2019 (edited) I'm using BlockRenderLayer.CUTOUT_MIPPED, because of an ores overlay... With BlockRenderLayer.SOLID the ores render correctly, but the overlay don't work... If anyone could tell me, how to fix that, I would appreciate that! Edited September 25, 2019 by Overstand Quote
Draco18s Posted September 24, 2019 Posted September 24, 2019 Because of CUTOUT_MIPPED (any non-opaque) the water renderer assumes your block is not a full block. Quote 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.
Overstand Posted September 25, 2019 Author Posted September 25, 2019 2 hours ago, Draco18s said: Because of CUTOUT_MIPPED (any non-opaque) the water renderer assumes your block is not a full block. oh, good to know... thank you! @Override public boolean isSolid(BlockState state) { return true; } solves the problem, but its deprecated... Quote
Draco18s Posted September 25, 2019 Posted September 25, 2019 (edited) 7 minutes ago, Overstand said: solves the problem, but its deprecated... That will do it, yes. I didn't have dev available earlier. As for the @deprecated that means "do not invoke" not "do not override." The method is called from BlockState and the deprecation warning is meant to tell people "you should only invoke the methods on BlockState, not on the Block." Edited September 25, 2019 by Draco18s Quote 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.
Recommended Posts
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.