Skip to content

Custom Potted Mushroom Type (Block Condition Type)

Pug edited this page Mar 16, 2023 · 1 revision

Tests to see if a block's type is bovinesandbuttercups:potted_custom_mushroom and if its associated mushroom type's resource location matches a given resource location.

Type Resource Location: bovinesandbuttercups:custom_potted_mushroom_type

Introduced In: 1.3.0

Fields

Field Type Default Description
location Resource Location Defines the mushroom type resource location to be used in checks.

Example

"condition": {
  "type": "bovinesandbuttercups:custom_potted_mushroom_type",
  "location": "example:boo_mushroom"
}

This example checks if a block is a Potted Custom Mushroom with the example:boo_mushroom mushroom type.

Clone this wiki locally