Projectile Motion│投射物動能

数据包

· 作者 Special_TT

只需调用一个新函数,即可向指定方向发射投射物。

0 本站下载 0 关注 更新于 6 个月前

最新 1.0.1+1.21.9+mod · 1.21.11 · Fabric / Forge

一键开服(送7天)

致用户│給使用者

如果你所遊玩的資料包需要使用該資料包作為前置,那麼只需將此資料包也加進資料包資料夾即可。│If the data pack you are playing requires this data pack as a prerequisite, just add this data pack to the data pack folder.

致整合包製作者│給資料包製作者

以下是該資料包新增的所有函數的功能介紹。│The following is a description of all the new functions added to this data pack.

  • 使執行者射出一個實體,該實體會朝執行者所看的方向發射出去。如果該實體為投射物,則該實體的 Owner 資料會被設為執行者的 UUID。│Causes the executor to shoot an entity, which will be launched in the direction the executor is looking. If the entity is a projectile, the entity's Owner data will be set to the executor's UUID.

    • /function projectile_motion:projectile {entity_type:"<entity_type>",nbt:"<nbt>",speed:"<speed>"}
  • <entity_type>:要召唤的实体类型,不一定是投射物。

    • <nbt>:实体被召唤时的初始 NBT。若要使用实体的默认 NBT,请输入 {}。此值中的所有 " 必须改为 \"。
  • <speed>:实体发射时的初始速度,单位为 m/tick。

  • 将执行者朝其看向的方向发射出去。

    • /function projectile_motion:launch {speed:"<speed>"}
  • <speed> 实体发射时的初始速度,单位为米/刻。

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源