Pages for logged out editors learn more
<syntaxhighlight lang="java"> //在 Entity.moveEntity() 结束时调用 public void onLanded(Entity e) {
if (e.isSneaking()) e.motionY = 0.0;