2021-06-06 10:07:19 +00:00
{
"$id" : "blockception.minecraft.behavior.volumes.1.17.0" ,
"type" : "object" ,
"title" : "Spawn Rules 1.17.0" ,
2022-07-22 19:41:04 +02:00
"description" : "UNDOCUMENTED." ,
2021-07-01 11:35:53 +02:00
"$comment" : "UNDOCUMENTED" ,
2021-06-06 10:07:19 +00:00
"additionalProperties" : false ,
"required" : [ "format_version" , "minecraft:volume" ] ,
"properties" : {
"format_version" : {
"const" : "1.17.0" ,
"description" : "Specifies the version of the game this entity was made in. Minimum supported version is 1.17.0. Current supported version is 1.17.0." ,
2021-06-09 11:12:18 +02:00
"title" : "Format Version"
2021-06-06 10:07:19 +00:00
} ,
"minecraft:volume" : {
"type" : "object" ,
"title" : "Spawn Rules" ,
2022-07-22 19:41:04 +02:00
"description" : "UNDOCUMENTED." ,
2021-07-01 11:35:53 +02:00
"$comment" : "UNDOCUMENTED" ,
2021-06-06 10:07:19 +00:00
"additionalProperties" : false ,
"properties" : {
"description" : {
"type" : "object" ,
"title" : "Description" ,
2022-07-22 19:41:04 +02:00
"description" : "The description contains a single `identifier` string." ,
2021-06-06 10:07:19 +00:00
"additionalProperties" : false ,
"properties" : {
"identifier" : {
"title" : "Identifier" ,
2021-06-08 17:06:03 +02:00
"description" : "The unique identifier for this volume. It must be of the form `namespace:name', where namespace cannot be `minecraft`." ,
2021-06-06 10:07:19 +00:00
"$ref" : "../../../general/volume/identifier.json"
}
}
} ,
"components" : {
"type" : "object" ,
"title" : "Components" ,
2022-07-22 19:41:04 +02:00
"description" : "UNDOCUMENTED." ,
2021-07-01 11:35:53 +02:00
"$comment" : "UNDOCUMENTED" ,
2021-06-06 10:07:19 +00:00
"additionalProperties" : false ,
"properties" : {
"minecraft:bounds" : {
2021-09-21 23:39:25 +02:00
"title" : "Bounds" ,
2021-06-06 10:07:19 +00:00
"description" : "Component that defines a minimum and maximum block position for a bounding box and which world dimension the bounding box is in. Every volume must have a bounds component." ,
"type" : "object" ,
"additionalProperties" : false ,
"properties" : {
"dimension" : {
"type" : "string" ,
2021-06-08 17:06:03 +02:00
"description" : "The name of the dimension the bounding box will exist in: one of `overworld', `nether` or `the end`." ,
2021-06-06 10:07:19 +00:00
"title" : "Dimension" ,
"enum" : [ "overworld" , "nether" , "the end" ]
} ,
"max" : {
"type" : "array" ,
"description" : "The maximum block position of the bounding box." ,
"title" : "Maximum" ,
"items" : [
2021-09-21 23:39:25 +02:00
{ "title" : "X" , "type" : "number" } ,
{ "title" : "Y" , "type" : "number" } ,
{ "title" : "Z" , "type" : "number" }
2021-06-06 10:07:19 +00:00
]
} ,
"min" : {
"type" : "array" ,
"description" : "The minimum block position of the bounding box." ,
"title" : "Minimum" ,
"items" : [
2021-09-21 23:39:25 +02:00
{ "title" : "X" , "type" : "number" } ,
{ "title" : "Y" , "type" : "number" } ,
{ "title" : "Z" , "type" : "number" }
2021-06-06 10:07:19 +00:00
]
}
}
} ,
"minecraft:fog" : {
2021-09-21 23:39:25 +02:00
"title" : "Fog" ,
2021-06-06 10:07:19 +00:00
"description" : "Displays the given fog whenever a player enters the volume. Each volume can only have one fog attached." ,
"type" : "object" ,
"additionalProperties" : false ,
"properties" : {
"fog_identifier" : {
"type" : "string" ,
"default" : "" ,
"description" : "The identifier of a fog definition. Note that you will not receive any feedback if the definition does not exist." ,
2021-09-21 23:39:25 +02:00
"title" : "Fog Identifier"
2021-06-06 10:07:19 +00:00
} ,
"priority" : {
"type" : "integer" ,
"default" : 2147483647 ,
"description" : "The priority for this fog definition setting. Smaller numbers have higher priority. Fogs with equal priority will be combined together." ,
2021-09-21 23:39:25 +02:00
"title" : "Priority"
}
}
} ,
"minecraft:on_actor_enter" : {
"title" : "On Actor Enter" ,
"description" : "Component that defines what happens when an actor enters the volume. Can contain multiple json objects." ,
"type" : "object" ,
"additionalProperties" : false ,
"required" : [ "on_enter" ] ,
"properties" : {
"on_enter" : {
"title" : "On Enter" ,
"description" : "Required array that contains all the triggers." ,
"type" : "array" ,
"items" : {
"title" : "On Enter Trigger" ,
2022-07-22 19:41:04 +02:00
"description" : "Trigger." ,
2021-09-21 23:39:25 +02:00
"type" : "object" ,
"additionalProperties" : false ,
"properties" : {
"condition" : {
"title" : "Condition" ,
"description" : "Molang expression to test against the actor. The given event will be triggered if the expression evaluates to true." ,
"type" : "string" ,
"$ref" : "../../../molang/string.json"
} ,
"event" : {
"title" : "Event" ,
"description" : "Name of the event to run." ,
"type" : "string"
} ,
"target" : {
"title" : "Target" ,
"description" : "One of `self` or `other`. Self means the event is attached to the volume. Other means the event is attached to the actor." ,
"type" : "string" ,
"enum" : [ "self" , "other" ]
}
}
}
}
}
} ,
"minecraft:on_actor_leave" : {
"title" : "On Actor Leave" ,
"description" : "Component that defines what happens when an actor leaves the volume." ,
"type" : "object" ,
"additionalProperties" : false ,
"required" : [ "on_enter" ] ,
"properties" : {
"on_enter" : {
"title" : "On Enter" ,
"description" : "Required array that contains all the triggers." ,
"type" : "array" ,
"items" : {
"title" : "On Enter Trigger" ,
2022-07-22 19:41:04 +02:00
"description" : "Trigger." ,
2021-09-21 23:39:25 +02:00
"type" : "object" ,
"additionalProperties" : false ,
"properties" : {
"condition" : {
"title" : "Condition" ,
"description" : "Molang expression to test against the actor. The given event will be triggered if the expression evaluates to true." ,
"type" : "string" ,
"$ref" : "../../../molang/string.json"
} ,
"event" : {
"title" : "Event" ,
"description" : "Name of the event to run." ,
"type" : "string"
} ,
"target" : {
"title" : "Target" ,
"description" : "One of `self` or `other`. Self means the event is attached to the volume. Other means the event is attached to the actor." ,
"type" : "string" ,
"enum" : [ "self" , "other" ]
}
}
}
2021-06-06 10:07:19 +00:00
}
}
}
}
}
}
}
}
}