

ThrowableSlimeball
What is this mod?
This mod transforms ordinary slimeballs and magma creams into throwable weapons! Now you can toss them directly from your hand, opening up new tactical possibilities in the game.
Main Features
Simply hold right-click while holding a slimeball or magma cream to launch it into flight. The behavior of thrown items depends on default settings:
Elasticity = 3: The ball can bounce up to 3 times off regular blocks or entities wearing full armor, with its speed gradually decreasing.
Bounce from elastic blocks: When colliding with elastic blocks, the ball bounces without losing elasticity or speed.
Interaction with slimes: When hitting a slime (for magma cream - a magma cube), the ball disappears. If the entity doesn't have full health, it restores 1 health point. If health is full - the entity's size increases by 1.
Collision with other objects: The ball breaks upon hitting sticky blocks or when elasticity is depleted. When hitting an entity not protected by armor, it deals 1 damage point and applies Slow I effect for "remaining elasticity × 20" ticks (magma cream additionally sets the target on fire for "remaining elasticity × 2" seconds).
Demonstration
Throwing a slimeball:
Tag Definitions
Entity and block types are defined by special tags:
Slimes: throwable_slimeball:slime
Magma cubes: throwable_slimeball:magma_cube
Sticky blocks: throwable_slimeball:sticky
Elastic blocks: throwable_slimeball:elastic
Configuration
Configuration file is located at: .minecraft/config/throwable_slimeball-common.toml
["Throwable Settings"]
# Maximum bounce count for slimeball
# Range: 0 ~ 12
slimeBallMaxBounceTimes = 3
# Maximum bounce count for magma cream
# Range: 0 ~ 12
magmaCreamMaxBounceTimes = 3
# Speed decay for slimeball after bouncing
# Range: 0.0 ~ 1.0
slimeBallSpeedDecay = 0.3
# Speed decay for magma cream after bouncing
# Range: 0.0 ~ 1.0
magmaCreamSpeedDecay = 0.4
Fabric version of the mod requires Forge Config API Port.
You can add this mod to your modpacks.