This feature is exclusive to Java Edition.
MC-225268, known in header as Minecraft crashes when I go to the toilet is a bizzare bug. Submitted by Daniel brown on the Bug Tracker on May, 21 2021, It was reviewed by the popular YouTuber, Phoenix SC
Description[]
Whenever I go to the toilet minecraft crashes. When I don't go to the toilet it doesn't crash