1. विकी
  2. /आइटम
  3. /minecraft:swing_sounds

minecraft:swing_sounds

इसे हाथ से नहीं लिखना चाहते? GodCraft एक स्विच से minecraft:swing_sounds आपके लिए सेट कर देता है।Get GodCraft

ओवरव्यू

minecraft:swing_sounds एक आइटम कंपोनेंट है: यह कस्टम आइटम के components ऑब्जेक्ट में जाता है। प्लेयर जब यह आइटम किसी चीज़ पर घुमाता है तो बजने वाली आवाज़ें बदलता है।

फ़ील्ड

फ़ील्डटाइपडिफ़ॉल्टविवरण
attack_missLevelSoundEventकोई नहींऐसे swing की आवाज़ जो किसी को न लगे या डैमेज न दे।
attack_hitLevelSoundEventकोई नहींसामान्य वार की आवाज़।
attack_critical_hitLevelSoundEventकोई नहींcritical hit की आवाज़।

उदाहरण

BP/items/<name>.json के components ऑब्जेक्ट के अंदर (मान डिफ़ॉल्ट या placeholder हैं):

BP/items/<name>.json
{
  "minecraft:swing_sounds": {
    "attack_miss": {},
    "attack_hit": {},
    "attack_critical_hit": {}
  }
}

आइटम: बिहेवियर पैक

We use cookies to improve your experience and analyse site traffic. Learn more