Download
Choose Minecraft Version
1.21.21.21.5v1.4.3
1.21.21.21.4v1.4.1
1.21.21.21.3v1.4.0
1.21.21.21.2v1.4.0
Close

Golf Ball

GitHub Smithed Modrinth PMC Discord Python Datapack

šŸ“ŗ 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)

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 šŸ“‰/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
Collision Multiplier šŸ’„/SPS #default_collision_multiplier golf_ball.data <value>/SPS @s golf_ball.collision_multiplier <value>500-100Adjusts the intensity of collisions
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 šŸŽÆ/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 ⚔

Control how the ball behaves on different surfaces by adjusting friction values. Each value represents the percentage of speed retained per tick.

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
Smithed

Copyright Ā© 2024 Smithed
Not an official Minecraft product. Not approved by or associated with Mojang Studios