Translations:Sneaking/20/zh: Difference between revisions

From Minecraft Parkour Wiki
Content added Content deleted
(Created page with "... //move the player with the new values of dX and dZ (order of collisions: Y-X-Z) } </syntaxhighlight> none|thumb|600x600px|上述代码的图示。红色方块是玩家在绿色方块上潜行所必需的。")
 
No edit summary
Line 1: Line 1:
... //利用新得到的 dX 与 dZ 的值移动玩家(碰撞顺序:Y-X-Z)
... //move the player with the new values of dX and dZ (order of collisions: Y-X-Z)
}
}
</syntaxhighlight>
</syntaxhighlight>

Revision as of 07:36, 25 June 2022

Message definition (Sneaking)
... //move the player with the new values of dX and dZ (order of collisions: Y-X-Z)
}
</syntaxhighlight>
[[File:Sneak illustrated.png|none|thumb|600x600px|Illustration of the code presented above. The red blocks are necessary for the player to sneak on top of the green block.]]

... //利用新得到的 dX 与 dZ 的值移动玩家(碰撞顺序:Y-X-Z) } </syntaxhighlight>

上述代码的图示。红色方块是玩家在绿色方块上潜行所必需的。