Data Packs Other

BarrierFly

  • Functions
  • 3,039 views • 1 today
  • 113 downloads • 0 today
  • 4
  • 6
  • 4
Torphedo
Level 14 : Journeyman Explorer
1
This datapack allows you to appear like you're walking on air. It works by constantly filling any air under your feet with barriers, then removing barriers behind you as you move around. The end result is that you can appear to walk on nothing, even in survival.

Installation:
Place the zip file in your world's datapack folder (.minecraft\saves\[​world name]\datapacks), then run /reload or load the world. Run /function barrier_fly:book, which gives you a special written book.
You can toggle BarrierFly by clicking on the BarrierFly On or Off buttons inside the book. If you need to trigger this with a command block for any reason, you can run "/tag @p add barrier_fly" or "/tag @p remove barrier_fly".

With this newest update, I cut 78% of the code (there were only 9 lines, and now it's 2 lines).
CompatibilityMinecraft 1.16
toMinecraft 1.17
Tags

2 Update Logs

Significantly Smaller Implementation : by Torphedo 10/24/2021 9:23:14 pmOctober 25, 2021 @ 1:23 am UTC

In this update, I cut the main tick function from 9 commands to 2 commands. 2 lines were just exact duplicates of others (How did that even happen?), and the other 6 fill commands were cut into a single operation. I had 1 fill command per side of the barrier platform, plus 2 fill commands to clear above and below the platform. Now, I have a single command to do all of this at once.
LOAD MORE LOGS

  Have something to say?

Minerererererer
10/25/2021 12:59 am
Level 1 : New Miner
CRAZY, I Pranked My Sister But She Know Now, CRAZY COOL
2
Torphedo
10/25/2021 2:16 am
Level 14 : Journeyman Explorer
lol sounds like fun
1
One_Nose
06/18/2020 1:30 pm
He/Him • Level 59 : Grandmaster Dragonborn Hero
Remember you add functions to #minecraft:tick to make them run every tick? You can also add functions to #minecraft:load to make them run the first time you install the data pack.
3
Torphedo
09/22/2020 3:02 pm
Level 14 : Journeyman Explorer
history
I updated it to no longer use scoreboards, so I don't need any initial setup anymore. It adds a tag to the player now.
2

Welcome