Skip to content

mcutils:concrete_powder

Vanilla concrete powder block behavior.

Registering

Before you can use this component you need to register it.

js
import { system } from "@minecraft/server";
import { ConcretePowderComponent } from "@lpsmods/mc-utils";

system.beforeEvents.startup.subscribe((event) => {
  event.blockComponentRegistry.registerCustomComponent(ConcretePowderComponent.typeId, new ConcretePowderComponent());
});

Requirements

Component

Options

NameTypeDefaultDescription
blockstring

Examples

Concrete Powder

json
{
  "format_version": "1.21.100",
  "minecraft:block": {
    "description": {
      "identifier": "wiki:custom_concrete_powder"
    },
    "components": {
      "minecraft:tick": {
        "interval_range": [0, 0],
        "looping": true
      },
      "mcutils:concrete_powder": {},
      "mcutils:falling_block": {
        "entity": "wiki:falling_block"
      }
    }
  }
}

Not associated with or approved by Mojang Studios or Microsoft