← Назад к ресурсам

Arrow Ding│箭矢叮

When an arrow hits a mob, it will make a "ding" sound.│當箭矢擊中生物時,會發出「叮」的一聲。

Modrinth equipment game-mechanics mobs

Описание

# Function│功能 - When an arrow fired from a bow or crossbow hits a mob, both the mob that fired the arrow and the mob that was hit will hear a "Ding" sound. │當一枚由弓或弩發射的箭矢擊中生物,發射箭矢的生物和被擊中的生物會聽到「叮」的聲音。 - Enter the following command: `/data merge storage arrow_ding:storage {sound:{id:"",volume:,pitch:}}` to customize the pitch when an arrow hits a mob.│輸入下方指令:`/data merge storage arrow_ding:storage {sound:{id:"",volume:,pitch:}}`可以自訂箭矢擊中生物時所播放的聲音。 # Source of inspiration│靈感來源 This datapack was inspired by [ProjectileDing](https://modrinth.com/mod/projectile-ding). However, this datapack has one less bug than that mod: even if the enderman teleports away at the moment before the arrow hits and does not actually hit, a sound will still be made.│該資料包的靈感來自於[ProjectileDing](https://modrinth.com/mod/projectile-ding)。不過這個資料包比那個模組少了一個bug:即便末影人在箭矢擊中的前一刻瞬移走,並沒有真的擊中,也會發出聲音。 # Usage example video│使用示例影片