Posted December 3, 20213 yr In 1.16 i used onBlockAdded() to create the other blocks. So far in 1.17 i cannot find the equivalent. Something i read makes me think i have to create and register a event
December 3, 20213 yr I wonder how the bed or door does this. 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.
December 4, 20213 yr Author I find in both BlockBed and BlockDoor , i only find one method in commen that use SetBlock() (which i assme? is how you set a block) setPlacedBy() when i override setPlacedBy() in my custom_block, it never gets called. the custom_block does extend three classes(that don't have setPlacedBy() ) before Block class, but that wasn't a problem in 1.16 I hope im making sense
December 5, 20213 yr Author Thank you for you help, as i was getting ready to show my code, i found i had a bad registration
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.