How to limit world border?

Started by zovytadek on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to limit world border?

Hello Everyone! I'm working on a mod with a core function: limiting player surrondings and I've decided to implent that by decreasing world border, however the "Execute command" doesn't works for this for some reason. Is there any other way how to add this function?

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The execute command…
Tue, 01/13/2026 - 14:47

The execute command procedure block should work. Most likely you have a typo in your command. Copy the text from the procedure block, open Minecraft, hit '/' and paste the text in, and test if that runs correctly.

Also keep in mind that the execute command procedure block doesn't need the slash at the beginning of the command, but running it in-game does.