Minecraft wiki entry for Combat, associated text: There are several hostile mobs and 2 bosses (the Ender Dragon and the wither) in the game. This list is sorted by chance of encounter. If caught in a difficult place without a weapon, the player can run away if they are outdoors or tunnel downwards and wait for the mob to despawn before surfacing. A fail-safe is to set the difficulty to Peaceful, which removes all hostile mobs, except for the Ender Dragon, shulkers, vindicators, evokers, hoglins and piglins.