Hytale Asset ReferenceUnofficial
Versions / 0.5.0-pre.9.2 / Item / Interactions / SpawnNPC / SpawnNPC_BlockCondition_Water.json

SpawnNPC_BlockCondition_Water

Server/Item/Interactions/SpawnNPC/SpawnNPC_BlockCondition_Water.json, 286 B

Fields

FieldType
$Commentstring
Typestring
Matchersarray[2]
Nextstring

Source

{
  "$Comment": "Block condition that only allows spawning on water blocks",
  "Type": "BlockCondition",
  "Matchers": [
    {
      "Block": {
        "Id": "Water_Source"
      }
    },
    {
      "Block": {
        "Id": "Water"
      }
    }
  ],
  "Next": "SpawnNPC_SpawnChain"
}