魚竿鉤子
原創2024年11月10日小於 1 分鐘
魚竿鉤子
ItemEvents.rightClicked("fishing_rod", (event) => {
const { player } = event;
if (player.fishing) {
let { fishing: hook } = player;
player.deltaMovement = new Vec3d(
hook.x - player.x,
hook.y - player.y,
hook.z - player.z
).scale(0.25);
player.hurtMarked = true;
}
});