Compatibility
Minecraft: Java Edition
1.21.1
1.20.1
Platforms
Fabric
Supported environments
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
Licensed ARR
Published last month
Updated 3 weeks ago
Throwable
This mod can make everything throwable, with a configuration system.
If you want to make something throwable, add to #throwable:throwable
item tag.
By default, all swords can be thrown. Once you have thrown, you need to click it to pick up. (Configurable)
If the throwable items have fire aspect enchantment, it will set the target on fire for level*5
seconds.
1.21+ only You can use loyalty enchantment on any throwable items.
Configuration
Global
Create file .minecraft/config/throwable.json
(may exist).
{
//Whether only owner can pick up the throwable thing.
"ownerPickUpOnly": false,
//Whether auto pickup when near.
"autoPick": false,
//Whether become an item entity when despawn
"dropWhenDespawn": true,
//Ticks before despawn, -1 for infinite time (not recommended)
"despawnDelayTicks": 6000
}
Item Specific
Create file data/<item namespace>/throwable/throwable/<item id>.json
, then write following contents:
{
//All keys are optional, following are default values
//Use time to grant critical damage
"maxUseTime": 72000,
//Damage Ratio to item base damage
"damageScale": 0.5,
//Render Size Scale
"scale": 1,
//Rotate based on renders in item frame
"rotateOffset": 0,
//Sound played when item thrown
"throwSound": "minecraft:item.trident.throw",
//Sound played when hit ground
"hitGroundSound": "minecraft:item.trident.hit_ground"
}