minecraft:projectile आपके लिए सेट कर देता है।Get GodCraftओवरव्यू
minecraft:projectile एक आइटम कंपोनेंट है: यह कस्टम आइटम के components ऑब्जेक्ट में जाता है। आइटम को ऐसा गोला-बारूद बनाता है जिसे कोई shooter आइटम (जैसे धनुष) चला सके, और बताता है कि कौन सी entity उड़कर निकलेगी।
फ़ील्ड
| फ़ील्ड | टाइप | डिफ़ॉल्ट | विवरण |
|---|---|---|---|
minimum_critical_power | number | 0 | critical hit लगने के लिए शॉट को कितना charge होना चाहिए। |
projectile_entity | Entity Reference | कोई नहीं | छोड़ी जाने वाली entity, जैसे "minecraft:arrow"। |
उदाहरण
BP/items/<name>.json के components ऑब्जेक्ट के अंदर (मान डिफ़ॉल्ट या placeholder हैं):
BP/items/<name>.json
{
"minecraft:projectile": {
"minimum_critical_power": 0,
"projectile_entity": {}
}
}