I thought of building a wall to stop mobs from coming in but enderman are frequent annoyances and seem to take pleasure in taking my work apart. How do I stop them without having to disable achievements?
How do I stop them without having to disable achievements?
Well, your question is tagged as being java edition, which still displays 'advancements' even when cheats are allowed. You could disable mob griefing with the /gamerule command.
Or, if you are on a server, I am pretty sure there is a flag for this in the server software's .yml main config file.