1. Wiki
  2. /Blocks
  3. /minecraft:redstone_producer

minecraft:redstone_producer

Don't want to write this by hand? GodCraft sets minecraft:redstone_producer for you with a switch.Get GodCraft

Overview

minecraft:redstone_producer is a block component: it goes in the components object of a custom block. Makes the block give off a redstone signal, like a redstone block or a lever that is on.

Fields

FieldTypeDefaultDescription
powerintegernoneSignal strength from 0 (off) to 15 (strongest).Range: 0 to 15
strongly_powered_faceFacingnoneThe side whose touching block gets strongly powered, so it can power its own neighbors too.
connected_facesFacing[]["down","up","north","south","west","east"]The sides that give off power. Leave it out to power all sides.
transform_relativebooleantrueWhen true, the faces turn along with the block's minecraft:transformation rotation.

Example

Inside the components object of BP/blocks/<name>.json (values are the defaults or placeholders):

BP/blocks/<name>.json
{
  "minecraft:redstone_producer": {
    "power": 0,
    "strongly_powered_face": {},
    "connected_faces": [
      "down",
      "up",
      "north",
      "south",
      "west",
      "east"
    ],
    "transform_relative": true
  }
}

Blocks: Behavior pack

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