minecraft:storage_weight_modifier आपके लिए सेट कर देता है।Get GodCraftओवरव्यू
minecraft:storage_weight_modifier एक आइटम कंपोनेंट है: यह कस्टम आइटम के components ऑब्जेक्ट में जाता है। बंडल जैसे storage आइटम में डालने पर यह आइटम कितनी जगह लेता है, यह सेट करता है।
फ़ील्ड
| फ़ील्ड | टाइप | डिफ़ॉल्ट | विवरण |
|---|---|---|---|
weight_in_storage_item | integer | 4 | storage के अंदर इस आइटम के एक नग का वज़न। इसे storage आइटम्स से बाहर रखने के लिए 0 रखें।रेंज: 0 से … |
उदाहरण
BP/items/<name>.json के components ऑब्जेक्ट के अंदर (मान डिफ़ॉल्ट या placeholder हैं):
BP/items/<name>.json
{
"minecraft:storage_weight_modifier": {
"weight_in_storage_item": 4
}
}