YSM Molang reference: YSM projectiles
Every Molang function and variable you can use in Yes Steve Model animations and controllers, with what it returns and the YSM version that added it. New to Molang? Start with Molang in YSM.
- All 280
- Math functions 33
- Query (q.) 60
- YSM player & entity 105
- YSM projectiles 9
- Controller (ctrl.) 25
- Script controller 5
- TaCZ guns 9
- Immersive Melodies 5
- Touhou Little Maid 16
- Curios accessories 4
- Other mods 9
| Molang | What it does | Since |
|---|---|---|
| ysm.on_ground_time | Duration the arrow has been on the ground (in ticks)In-game arrows despawn 1200 ticks (60 seconds) after landing. Resets to 0 if the arrow moves during this time | 1.2.0 |
| ysm.in_ground | Check if the arrow is in the ground | 1.2.0 |
| ysm.projectile_owner | Returns the player entity that shot the arrowCan use the -> operator to query its properties ==Currently has a memory leak issue; not recommended== | 1.2.0 |
| ysm.delta_movement_length | Gets the displacement length of the arrow between two ticks, used to determine speed | 1.2.0 |
| ysm.is_spectral_arrow | Checks if the arrow is a spectral arrow | 1.2.0 |
| ysm.shoot_item_id | Item ID of the weapon that shot this arrowCan be used to distinguish arrows shot from regular bows and crossbows | 2.3.0 |
| ysm.throwable_item | Item ID of the item-based projectile | 2.5.0 |
| ysm.hooked_in | ID of the entity hooked by the fishing bobberEmpty string if none | 2.5.0 |
| ysm.is_biting | Whether a fish is biting the hookBoolean | 2.5.0 |