Data Packs Quality of Life

Jump over Fences (1.20 - 26.2)

  • 3.3k views 2 today
  • save_alt 402 downloads 1 today
Compatibility
Minecraft 1.20
to version
Minecraft 26.2
Changes include
  • Functions
  • Predicates
  • 5
  • 5
MiriFloof
Lvl 22Expert Strawberry Princess
1
This is a simple quality of life data pack that allows you to jump over fences. No more carpets on top of fences! It can also be configured to allow jumping over walls.

Just walk up against a fence or closed gate, and you will get a slight jump boost that allows you to jump up or over it. Sneak to avoid getting a jump boost.

Compatibility

Tested on Minecraft versions 1.20 - 26.2. Compatible with custom fences that use the minecraft:fences or minecraft:fence_gates block tags, and custom walls that use the minecraft:walls block tag.

Configuration

Using commands:

This requires that commands are enabled in your world, or you have the proper minecraft.command.* permissions on your server.

Toggle jump boost for fences (default is On):
/function jump_over_fences:toggle_fences
Toggle jump boost for walls (default is Off):
/function jump_over_fences:toggle_walls
These changes will take effect immediately.

Per-player overrides:

These settings will ignore the global settings for the given player.

Enable jump boost for player MiriFloof:
/scoreboard players set MiriFloof jump_over_fences.jump_over_fences 1
/scoreboard players set MiriFloof jump_over_fences.jump_over_walls 1

Disable jump boost for player MiriFloof:
/scoreboard players set MiriFloof jump_over_fences.jump_over_fences 0
/scoreboard players set MiriFloof jump_over_fences.jump_over_walls 0

Reset to using the global settings:/scoreboard players reset MiriFloof jump_over_fences.jump_over_fences
/scoreboard players reset MiriFloof jump_over_fences.jump_over_walls

Using the configuration file:

This requires that the data pack in your datapacks folder is unzipped. Unzip the file, and delete the .zip file afterwards. Open the following file in your favorite text editor:

VersionsFile path
1.20 - 1.20.6jump-over-fences/data/jump_over_fences/functions/config.mcfunction
1.21 - 26.2jump-over-fences/1-21-0-overlay/data/jump_over_fences/function/config.mcfunction

There will be two lines that start with scoreboard, the first for fences and the second for walls. Change the number at the end of a line to a "0" to disable or a "1" to enable the jump boost. You will need to restart your game.

Uninstalling

It is safe to just delete this data pack, but if you have access to commands in your world you can do a clean uninstall which removes scoreboard objectives:
/function jump_over_fences:uninstall
You can then delete the data pack from your datapacks folder.

3 Update Logs

Update #3 : by MiriFloof 07/17/2026 12:42:35 pmJuly 17 @ 4:42 pm UTC

  • Updated to Minecraft 26.2.
  • Significantly reduced size.
LOAD MORE LOGS

More like this

  Have something to say?

Welcome