Hello, so i seems the BlockEvent.PlaceEvent event only get fired when placing a lily pad not any block.
Seems ForgeHooks#onPlaceItemIntoWorld seems to be commented out..
Seems to me this might be best addressed by splitting it into 2 separate events: a cancelable pre-placement event and an uncancelable post-placement notification event. The way it's set up now, it actually places the block and then tries to remove it if it gets canceled. That's not a cancel; that's an undo. Some blocks cause changes to neighboring blocks when placed and will be a pain to "reverse/rollback".
This issue has been automatically marked as stale because it has not had activity in a long time. If this issue is still relevant and should remain open, please reply with a short explanation (e.g. "I have checked the code and this issue is still relevant because ___." or "Here's a screenshot of this issue on the latest version"). Thank you for your contributions!
This issue has been automatically closed because it has not had activity in a long time. Please feel free to reopen it or create a new issue.
Most helpful comment
Seems to me this might be best addressed by splitting it into 2 separate events: a cancelable pre-placement event and an uncancelable post-placement notification event. The way it's set up now, it actually places the block and then tries to remove it if it gets canceled. That's not a cancel; that's an undo. Some blocks cause changes to neighboring blocks when placed and will be a pain to "reverse/rollback".