COWMODSКаталог модов

Golf Ball

Transform into a golf ball in Minecraft and experience realistic and configurable golfing physics!

Автор: Stoupy516375обновлён 15 сент. 2026 г.
Библиотеки

Описание

Golf Ball

GitHub Smithed Modrinth PMC Discord Powered by StewBeet

📺 Old datapack showcase: https://www.youtube.com/watch?v=TqVvRwF2psQ

🏌️ Golf Ball is a datapack that transforms you into a golf ball in Minecraft, offering an immersive golfing experience!
⛳ The following two commands are your best friends:

  • 🎮 /function golf_ball:summon: Turns the player executing the command into a golf ball (e.g: /execute as <player> positioned 123 100 54 run function golf_ball:summon)
  • 🔄 /function golf_ball:respawn: Rolls back the ball to the last shot position (e.g: /execute as <player> run function golf_ball:respawn)

🆕 Physics Engines (since 1.6.0)

Since Minecraft 26.2, you can alternatively summon the ball as a tiny sulfur cube holding an absorbed sponge (the vanilla "Golf Ball" archetype 🏌️) with /function golf_ball:sulfur_cube.
Bouncing, friction and air drag are then handled natively by the game through the new bounciness, friction_modifier and air_drag_modifier attributes - no per-tick physics functions!

  • ⚙️ Tune a ball's physics directly with attributes, e.g:
    /execute as <player> on vehicle run attribute @s minecraft:bounciness base set 0.9
    (same for minecraft:friction_modifier and minecraft:air_drag_modifier)
  • 🧱 Swap the absorbed block to change the ball's archetype, e.g. a "Rubber Ball":
    /execute as <player> on vehicle run item replace entity @s body with minecraft:oak_planks
  • ⚠️ Vanilla limitation: a sulfur cube holding a block has its step height hardcoded to 0, so it cannot roll up slabs or snow layers. That's why the default golf_ball:summon still uses the scoreboard physics engine (cat base) with all the settings below.

Configuration Commands ⚙️

Fine-tune your golfing experience with these powerful configuration commands!
Customize ball physics, movement dynamics, power settings and more - either globally for all new balls or locally for individual balls. 🎮

⚠️ Using /scoreboard players set for all commands below (abbreviated as /SPS)

Core Settings 🎯

SettingGlobal CommandLocal CommandDefaultRangeDescription
Strength Percentage 💪/SPS #default_strength_percentage golf_ball.data <value>/SPS @s golf_ball.strength_percentage <value>500-100Controls the overall power of your shots
Energy Loss 📉 (legacy)/SPS #default_energy_loss_percentage golf_ball.data <value>/SPS @s golf_ball.energy_loss_percentage <value>-90-100-0Determines how much energy is lost on impacts (vanilla balls: use the bounciness attribute)
Collision Multiplier 💥 (legacy)/SPS #default_collision_multiplier golf_ball.data <value>/SPS @s golf_ball.collision_multiplier <value>500-100Adjusts the intensity of collisions (vanilla balls are pushed natively)
Y-Shots 🔼/SPS #default_do_y_shots golf_ball.data <value>/SPS @s golf_ball.do_y_shots <value>00 or 1Enables/disables vertical shots
Collision Detection 🎯 (legacy)/SPS #default_do_collision golf_ball.data <value>/SPS @s golf_ball.do_collision <value>10 or 1Toggles collision physics
Minimum Power ⬇️/SPS #min_power golf_ball.data <value>N/A40N/ASets the lower power limit
Maximum Power ⬆️/SPS #max_power golf_ball.data <value>N/A500N/ASets the upper power limit

Surface Friction Settings ⚡ (legacy engine only)

Control how the ball behaves on different surfaces by adjusting friction values. Each value represents the percentage of speed retained per tick.
Vanilla sulfur cube balls use the block's real friction combined with the friction_modifier attribute instead.

Surface TypeGlobal CommandLocal CommandDefaultRangeBest For
Normal Friction 🔄/SPS #k_normal golf_ball.data <value>/SPS @s golf_ball.friction_normal <value>900-100Standard terrain
Fast Friction 🏃/SPS #k_fast golf_ball.data <value>/SPS @s golf_ball.friction_fast <value>950-100Smooth surfaces
Slippery Friction 🧊/SPS #k_slippery golf_ball.data <value>/SPS @s golf_ball.friction_slippery <value>980-100Ice and similar
Slow Friction 🐌/SPS #k_slow golf_ball.data <value>/SPS @s golf_ball.friction_slow <value>850-100Rough terrain
Very Slow Friction 🦥/SPS #k_very_slow golf_ball.data <value>/SPS @s golf_ball.friction_very_slow <value>800-100Heavy resistance

Usage Tips 💡

  • 🎯 For local commands targeting a specific ball, use this format: /execute as <player> on vehicle run scoreboard players set @s golf_ball.strength_percentage <value>
  • 🎮 The "@s" selector refers to the golf ball currently being controlled by the player
  • ⚡ Surface friction values dramatically affect ball behavior - experiment to find the perfect settings!
  • 📁 View all available surface definitions in the surfaces json files
  • ⚠️ You may have fun with unrealistic configurations, but the physics will be wonky!

⭐ Star History

Star History Chart

Последние версии

Все версии →
release

GolfBall [v1.6.1]

1.6.1
15 сент. 2026 г.54Minecraft: 26.3datapack
Скачать
Что нового
## Changelog ### Features - ✨ Updated loot table and predicates to 26.3 formats and raised minimum version to 26.3 [87f3f9a](https://github.com/Stoupy51/GolfBall/commit/87f3f9a1dd907c2307db069a8b84800552f744ab) ### Build System - 🚀 Bumped v1.6.1 (MC 26.3+) [cde8485](https://github.com/Stoupy51/GolfBall/commit/cde848504e24c712e4cdde5978c5fcccbf7dc39b) **Full Changelog**: https://github.com/Stoupy51/GolfBall/compare/v1.6.0...v1.6.1
release

GolfBall [v1.6.0]

1.6.0
8 июл. 2026 г.200Minecraft: 26.2datapack
Скачать
Что нового
## Changelog ### Features - ✨ Now using the sulfur cube [5fb93f0](https://github.com/Stoupy51/GolfBall/commit/5fb93f085c6410731a3176b7ed25b55281f6eb8e) - ✨ Added invulnerability enchantment [97fe651](https://github.com/Stoupy51/GolfBall/commit/97fe6512aafee22aec70faab01f1a7d10d3ada5c) ### Bug Fixes - 🐛 Updating to 26.2 (updated predicates) [6a5b448](https://github.com/Stoupy51/GolfBall/commit/6a5b448c81157ac7c739d96a3b5c3c3e6d1d6586) - 🐛 Introduce sulfur cube summoning and update physics handling [fe5a87c](https://github.com/Stoupy51/GolfBall/commit/fe5a87c73f26e68ae8b9443823d619952a9c7738) ### Chores - 🔧 Sulfur Cube adjustments [c38028b](https://github.com/Stoupy51/GolfBall/commit/c38028becf34e153d295af17084a9fd51e8bc35f) ### Code Refactoring - ♻️ Moved every static file to dynamic python files [f224559](https://github.com/Stoupy51/GolfBall/commit/f224559b8881a6e186041322f6ed86cdd05cdcb0) - ♻️ Unnecessary spaces [b43f7b0](https://github.com/Stoupy51/GolfBall/commit/b43f7b0745e9c451c05f960ae8d67f910e3c1a43) ### Build System - 🚀 Bumped v1.5.0 (MC 26.2+) [d808635](https://github.com/Stoupy51/GolfBall/commit/d8086355d2832398adc1d36821a138261a32d32a) - 🚀 Bumped v1.6.0 (MC 26.2+) [aac1e18](https://github.com/Stoupy51/GolfBall/commit/aac1e188d9366f19365d9cba3218b4452c986430) ### Other - a [870e8d8](https://github.com/Stoupy51/GolfBall/commit/870e8d88d82837689ae333ae877967b4330393e8) **Full Changelog**: https://github.com/Stoupy51/GolfBall/compare/v1.4.5...v1.6.0
release

GolfBall [v1.4.5]

1.4.5
18 апр. 2026 г.86Minecraft: 1.21.11, 26.1, 26.1.1, 26.1.2datapack
Скачать
Что нового
## Changelog ### Documentation - 📝 Add "Powered by StewBeet" badge to README [8b82d14](https://github.com/Stoupy51/GolfBall/commit/8b82d148904912450a7d5899ffc678f607a18310) - 📝 Add "Powered by StewBeet" badge to README [ee17a84](https://github.com/Stoupy51/GolfBall/commit/ee17a846832be01e04d5f74bbb667a58dab680a0) ### Chores - 🔧 Updated Modrinth CD config [b1a1fe0](https://github.com/Stoupy51/GolfBall/commit/b1a1fe0eb2d06a98d1e2cdcf2a0057ac5fcbb2d1) ### Build System - 🚀 Updated to 1.21.11 (bump 1.4.5) [3c9d14d](https://github.com/Stoupy51/GolfBall/commit/3c9d14d81ac181ef957ad930e0d4465892700857) ### Other - a [241a345](https://github.com/Stoupy51/GolfBall/commit/241a3457666070d97f9d4e0aafa50fdf6803b1b0) **Full Changelog**: https://github.com/Stoupy51/GolfBall/compare/v1.4.4...v1.4.5
release

GolfBall [v1.4.4]

1.4.4
1 июл. 2025 г.94Minecraft: 1.21.7datapack
Скачать
Что нового
## Changelog ### Bug Fixes - 🐛 Missing pack.png in zip file ([f9d9735](https://github.com/Stoupy51/GolfBall/commit/f9d9735e48f702cc877d82883f34c439127751e4)) ### Build System - 🚀 Now using StewBeet ([5d2ad35](https://github.com/Stoupy51/GolfBall/commit/5d2ad35706281291bcdb2fdaeecf476533cec819)) - 🚀 Updated to 1.21.7 (bump 1.4.4) ([c4a66dd](https://github.com/Stoupy51/GolfBall/commit/c4a66ddb2802b53a2022630e8b540b04673cc0e4)) **Full Changelog**: https://github.com/Stoupy51/GolfBall/compare/v1.4.3...v1.4.4
release

GolfBall [v1.4.3]

1.4.3
26 мар. 2025 г.87Minecraft: 1.21.5, 1.21.6datapack
Скачать
Что нового
## Changelog ### Bug Fixes - 🐛 Fixed tellraw prefix storage ([99845f9](https://github.com/Stoupy51/GolfBall/commit/99845f94531dd87c0451f58a85cfd8e617d9042f)) ### Build System - 🚀 Built for 1.21.5-pre2 ([07b447e](https://github.com/Stoupy51/GolfBall/commit/07b447ef38c289a9d69e243bbe5e0ad68cbb154a)) - 🚀 Bumped to v1.4.3, updated version references and removed deprecated functions ([8705708](https://github.com/Stoupy51/GolfBall/commit/87057080335ce834ed5851ba4e4bc985e90d8a8e)) ### Features - ✨ Add player size scaling ([a70b6ca](https://github.com/Stoupy51/GolfBall/commit/a70b6caef5d051d5830516368741ce06b41bea60)) **Full Changelog**: https://github.com/Stoupy51/GolfBall/compare/v1.4.1...v1.4.3
release

GolfBall [v1.4.1]

1.4.1
11 февр. 2025 г.53Minecraft: 1.21.4datapack
Скачать
Что нового
## Changelog ### Build System - 🚀 Bumped to v1.4.1 (and now using uv) ([39ad50b](https://github.com/Stoupy51/GolfBall/commit/39ad50bd22ae3e2407f0b09ef24f9302557646e9)) ### Documentation - 📝 Added new badge (Python Datapack) ([7994124](https://github.com/Stoupy51/GolfBall/commit/7994124c8f0be280d8eea38570fa865e6b5e8a27)) - 📝 Typo in README ([03050a6](https://github.com/Stoupy51/GolfBall/commit/03050a63385619003c67ec782c7d27b67fb4e8d0)) **Full Changelog**: https://github.com/Stoupy51/GolfBall/compare/v1.4.0...v1.4.1
release

GolfBall [v1.4.0]

1.4.0
25 нояб. 2024 г.62Minecraft: 1.21.2, 1.21.3datapack
Скачать
Что нового
## Changelog ### Bug Fixes - 🐛 Fixes for 1.21 ([84c225e](https://github.com/Stoupy51/GolfBall/commit/84c225e2341457c08e5b2c190acbcc38666499fd)) ### Build System - 🚀 Now using Python Datapack ([a3bbbb2](https://github.com/Stoupy51/GolfBall/commit/a3bbbb289a9f2fb6d16b488d88c9f186b6c9a2be)) - 🚀 Configured upload scripts ([72b2528](https://github.com/Stoupy51/GolfBall/commit/72b2528fa1e30e4c138afcc8a32c2b5f60e7526c)) ### Documentation - 📝 Godlike README ([0f9dc3b](https://github.com/Stoupy51/GolfBall/commit/0f9dc3b62e249150e02e7a9425627646669d435f))