Block Documentation - teleport
teleport
is an Event Response that will teleport a target randomly around the destination point.
Extra Parameters
teleport
can use the following parameters
Name | Default Value | Type | Description |
---|---|---|---|
avoid_water | true | Boolean | Determines if the teleport avoids putting the target in water. |
destination | [0.0, 0.0, 0.0] | Vector [a, b, c] | Origin destination of the teleport. |
land_on_block | true | Boolean | Determines if the teleport places the target on a block. |
max_range | [8.0, 8.0, 8.0] | Vector [a, b, c] | Max range the target can teleport relative to the origin destination. |
target | self | Minecraft Filter | The target context to execute against. |
Example
"teleport":{
"avoid_water" : true,
"destination" : [0.0, 0.0, 0.0],
"land_on_block" : true,
"max_range" : [8.0, 8.0, 8.0],
"target" : { "test": "has_damage", "subject": "self", "operator": "equals", "value": "suffocating" }
}
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈