24 lines
610 B
Markdown
24 lines
610 B
Markdown
# ezoicportal.js — main() (satır 1)
|
||
|
||
[← ezoicportal.js](index.md) · [← Master](../../wiki.md)
|
||
|
||
Parça 3/3 · [önceki](main-2.md)
|
||
|
||
```javascript
|
||
context.getWorld().playSound("block.portal.travel", hitX, hitY, hitZ, 1.0, 1.5);
|
||
data.state = "closing";
|
||
data.tick = 0;
|
||
}
|
||
}
|
||
}
|
||
|
||
drawPortal(context, hitX, hitY + radiusY, hitZ, yawRad, currentRx, currentRy, particleType);
|
||
|
||
data.tick++;
|
||
context.scheduleScript(1, loop);
|
||
}
|
||
|
||
c.scheduleScript(1, loop);
|
||
}
|
||
```
|