minecraft:redstone_producer आपके लिए सेट कर देता है।Get GodCraftओवरव्यू
minecraft:redstone_producer एक ब्लॉक कंपोनेंट है: यह कस्टम ब्लॉक के components ऑब्जेक्ट में जाता है। ब्लॉक से redstone सिग्नल निकलता है, जैसे redstone block या चालू lever।
फ़ील्ड
| फ़ील्ड | टाइप | डिफ़ॉल्ट | विवरण |
|---|---|---|---|
power | integer | कोई नहीं | signal strength, 0 (बंद) से 15 (सबसे तेज़) तक।रेंज: 0 से 15 |
strongly_powered_face | Facing | कोई नहीं | वह साइड जिससे छूता ब्लॉक strongly powered होता है, ताकि वह अपने पड़ोसियों को भी power दे सके। |
connected_faces | Facing[] | ["down","up","north","south","west","east"] | वे साइड जिनसे power निकलती है। सभी साइड को power देने के लिए इसे न लिखें। |
transform_relative | boolean | true | true होने पर faces ब्लॉक के minecraft:transformation rotation के साथ घूमते हैं। |
उदाहरण
BP/blocks/<name>.json के components ऑब्जेक्ट के अंदर (मान डिफ़ॉल्ट या placeholder हैं):
BP/blocks/<name>.json
{
"minecraft:redstone_producer": {
"power": 0,
"strongly_powered_face": {},
"connected_faces": [
"down",
"up",
"north",
"south",
"west",
"east"
],
"transform_relative": true
}
}