make a datapack that when any block is mined the gravity changes using the /gravity randomise @a command
KodariNov 8 at 7:52 am 1
GravityShiftMining
A Minecraft datapack that triggers a global gravity randomization whenever any block is mined. The pack uses a scoreboard objective to track block mining events, then executes the /gravity randomise @a command to randomly alter gravity for all players. It includes a custom advancement that detects block breaking, a tick function that monitors the advancement trigger, and a function that applies the gravity change. The datapack also features a configurable cooldown system to prevent excessive gravity shifts, ensuring a chaotic but manageable gameplay experience where every mined block could flip the world's physics.
[Generation stopped]
but it is for minecraft 1.17.1 fabric
KodariNov 8 at 7:52 am 1
This project is a Minecraft 1.21.4 data pack, not a Fabric mod, and Kodari doesn’t have Fabric 1.17.1. Kodari does have Fabric mods for 1.18.2, 1.19.4, 1.20.4, 1.21.4, 1.21.11, 26.2, and 26.3.
so you cant make datapacks for 1.17.1?
KodariNov 8 at 7:53 am 1
Kodari can help create datapacks for 1.17.1, but this project is configured for Minecraft 1.21.4, so I can’t build a 1.17.1-compatible pack here. A Fabric mod for 1.17.1 isn’t available on Kodari either.
Kodari can make mistakes. Review important code before using.
Files
No files in this session
Code