Translations:Slime Block/10/zh
//在 Entity.moveEntity() 結束時,上一個方法之後調用 public void onEntityCollidedWithBlock(Entity e) {
if (Math.abs(e.motionY) < 0.1D && !e.isSneaking()) { double mult = 0.4 + Math.abs(e.motionY)*0.2; e.motionX *= mult; e.motionZ *= mult; }
} </syntaxhighlight>