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

minecraft:redstone_consumer

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

Overview

minecraft:redstone_consumer is a block component: it goes in the components object of a custom block. Lets the block receive redstone power so scripts can react when the signal changes. Use it for custom lamps, doors and machines.

Fields

FieldTypeDefaultDescription
min_powerinteger0Smallest signal strength that makes the block tell scripts about it. 0 reports every change.Range: 0 to 15
propagates_powerbooleanfalseWhen true, power can pass through this block to the other side.

Example

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

BP/blocks/<name>.json
{
  "minecraft:redstone_consumer": {
    "min_power": 0,
    "propagates_power": false
  }
}

Blocks: Behavior pack

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