跳到正文

Throwable

作者:IAFEnvoy

Throw everything!

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

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"
}

常见问题

Throwable 支持哪些 Minecraft 版本?

Throwable 支持 Minecraft Java 版 1.20.1–1.21.1,共 2 个版本,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

Throwable 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

IAFEnvoy 的其他作品

查看全部 →