Raycast Execute Sub-Command
作者:rebot | 分类:模组
Minecraft 版本: 1.21.4
平台: fabric
标签: game-mechanics management utility
The syntax is the following:
execute -> raycast -> execute
Example:
execute positioned ~ ~1.62 ~ raycast 1 run tp @s ~ ~ ~
This will effectively teleport the player to the block it was looking at even with odd shapes or through liquids.
It replaces the need to do raycasting by commands which could cost performance.
请登录后举报
暂无评论,抢个沙发吧~