the important takeaway is that in Minecraft you can do an exploit that allows you to "fill in somebody's GamerTag, then just spam a bunch of slurs, and then report said slurs to Microsoft."
In Minecraft Java everything is tied to a UUID that's unique to each account, so it shouldn't be possible to do a simple spoof of a nickname.