Minecraft wiki entry for Gathering_resources_on_peaceful_difficulty, associated text: Wolves usually just ignore the player, unless attacked, in which they will become hostile towards whoever attacked them. On Peaceful difficulty, they will not attack players‌[Java Edition only], similar to polar bears. Wolves only drop experience upon death, but they can also be tamed with bones. Tamed wolves will follow the player unless told to sit, and will attack any mobs that attack the player, or if the player attacks them, with the exception of creepers, ghasts, and horses.