Have a bug in minecraft the enemy explode and then break my house how can i fix the bug
You probably mean creeper.
These are the only creatures in Minecraft that you naturally encounter in the world and that can explode. If you get close enough, you will explode and block damage.
So stay away from them or kill them first.
Do you play in multiplayer mode?
If not: Are the opponents green, upright, four-legged creatures?
If so, they are creepers. That they explode is not a bug, but quite normal.
These are the only creatures in Minecraft that you naturally encounter in the world
What about spiders, zombies, skeletons, endermen, all the passive and peaceful mobs?
In terms of exploding.
These are creepers, these fiecher break your houses and annoy you! It's best to shoot them from a distance with a bow or crossbow. These things are difficult to defeat with swords!
Well, that's true in that context.
Have already corrected it.
These things are difficult to defeat with swords!
Knockback regulates.
Could still be more difficult for newcomers ^^
I hate these critters. Once I shot someone who was standing further away. It exploded and the explosion was simply "teleported" to me