略過並前往主要內容
Deep Dives
Duncan Geere
作者
Duncan Geere
已發佈
2022/8/29

Mob Menagerie: Goat

Minecraft's very own battering ram!

"When trying our code out, we usually placed a goat on a single block up in the air and another block nearby to verify that the goat would jump between the two. Here we encountered a number of funny bugs! For instance, one of the first times the jump-force math was off, so the goat skyrocketed up and up, only to fall to its demise! Another time the rotation calculation was off so the goat jumped backward into empty air instead of forwards to the other block! Eventually though, we were able to find the right math and the goats now (almost) always manage to jump to their desired target block!”

Alexander Östman

分享這個故事

Newest News