I am making a custom event that I need to fire during BlockState.getShape() to allow me to edit vanilla block shapes. I wasn't able to find an event that allows me to do this so I have to make one. After researching how to have it fire from a vanilla class, I found that you had to patch vanilla classes, but I couldn't find any information on how to do this.
If there is any other way to do this other than patching vanilla classes, that will work too but I couldn't find any other way.
Thanks