COWMODSКаталог модов

Projectile Motion│投射物動能

Simply execute a new function to launch a projectile in a specified direction.│只需要執行一個新函數即可朝指定方向發射投射物。

Автор: Special_TT5530обновлён 1 мая 2026 г.
Библиотеки

Описание

To Users│給使用者

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

To Data Pack Creator│給資料包製作者

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

  • 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.│使執行者射出一個實體,該實體會朝執行者所看的方向發射出去。如果該實體為投射物,則該實體的Owner資料會被設為執行者的UUID。
    • /function projectile_motion:projectile {entity_type:"<entity_type>",nbt:"<nbt>",speed:"<speed>"}
      • <entity_type>: The type of entity to summon, not necessarily a projectile.│<entity_type>:要召喚的實體的類型,不一定要是投射物。
      • <nbt>: The initial NBT of the entity when it is summoned. To use the entity's default NBT, enter {}. All " in this value must be changed to \".│<nbt>:實體召喚出來時初始的nbt,如果使用實體默認的nbt則輸入{}。該值中的所有"必須改成\"。
      • <speed>: The initial velocity of the entity when it is launched, in m/tick.│<speed>:實體發射出去時的初始速度,單位為m / tick。
  • Launches the executor in the direction it is looking.│將執行者朝著其看向的方向發射出去
    • /function projectile_motion:launch {speed:"<speed>"}
      • The initial velocity of the entity when it is launched, in m/tick.│實體發射出去時的初始速度,單位為m/tick。

Последние версии

Все версии →
release

projectile_motion_1.0.1+1.21.9

1.0.1+1.21.9+mod
1 мая 2026 г.281Minecraft: 1.21.9, 1.21.10, 1.21.11fabric, forge, neoforge, quilt
Скачать
Что нового
Correct the version number of the data pack
release

projectile_motion_1.0.1+1.21.9

1.0.1+1.21.9
1 мая 2026 г.54Minecraft: 1.21.9, 1.21.10, 1.21.11datapack
Скачать
Что нового
Correct the version number of the data pack
release

projectile_motion_1.0.1+1.21.5

1.0.1+1.21.5+mod
27 окт. 2025 г.94Minecraft: 1.21.5, 1.21.6, 1.21.7fabric, forge, neoforge, quilt
Скачать
Что нового
- 優化了函數```projectile_motion:projectile```的代碼,使召喚的實體可以帶有nbt標籤```Passengers```。 Optimized the code of the ```projectile_motion:projectile``` function so that the summoned entity can have the nbt tag ```Passengers```.
release

projectile_motion_1.0.1+1.21.5

1.0.1+1.21.5
27 окт. 2025 г.53Minecraft: 1.21.5, 1.21.6, 1.21.7datapack
Скачать
Что нового
- 優化了函數```projectile_motion:projectile```的代碼,使召喚的實體可以帶有nbt標籤```Passengers```。 Optimized the code of the ```projectile_motion:projectile``` function so that the summoned entity can have the nbt tag ```Passengers```.
release

projectile_motion_1.0.0+1.21.5

1.0.0+1.21.5+mod
11 окт. 2025 г.40Minecraft: 1.21.5, 1.21.6, 1.21.7fabric, forge, neoforge, quilt
Скачать
release

projectile_motion_1.0.0+1.21.5

1.0.0+1.21.5
11 окт. 2025 г.31Minecraft: 1.21.5, 1.21.6, 1.21.7datapack
Скачать