Block Location (Block Condition Type) - MerchantCalico/bovines-and-buttercups-archive GitHub Wiki

Tests to see if a block's type's resource location matches a specified resource location.

Type Resource Location: bovinesandbuttercups:block_location

Introduced In: 1.3.0

Fields

Field Type Default Description
location [Block Tag Resource Location](/MerchantCalico/bovines-and-buttercups-archive/wiki/Tag-Resource-Location-(Data-Type)) Defines the block resource location to be used in checks.

Example

"condition": {
  "type": "bovinesandbuttercups:block_location",
  "location": "minecraft:moss_carpet"
}

This example checks if a block is a Moss Carpet.