mirror of
https://github.com/horizon-rust/horizon.git
synced 2026-11-07 11:06:11 -10:00
Regenerate the mod API output after #6949
#6949 reworded native_projectile_impact's doc in native_hooks.rs without running xtask mod-api, so generated.rs kept the old text and `mod-api --check` fails on main (and in every branch's pr_ready). Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
26b9c0c9ba
commit
bb05ede84c
1 file changed
+3
-4
+3
-4
@@ -2013,10 +2013,9 @@ pub trait Hooks: Send + Sync {
|
||||
/// does not happen: no damage, no knockback, no sound, no block reaction, the
|
||||
/// arrow does not stick, a pearl does not teleport, a potion or a fireball
|
||||
/// does not burst. The projectile flies on and is not discarded, so a mod
|
||||
/// that cancels also decides what becomes of it: it hits again the next tick
|
||||
/// unless the mod moves, turns or removes it. An arrow stays where it would
|
||||
/// have hit, and the other projectiles go on through the whole of their
|
||||
/// motion. Covers what `tick_projectiles` flies: arrows, tridents, snowballs,
|
||||
/// that cancels also decides what becomes of it. It continues through its
|
||||
/// whole motion and may hit something on a later tick. Covers what
|
||||
/// `tick_projectiles` flies: arrows, tridents, snowballs,
|
||||
/// eggs, pearls, potions, fireballs, wither skulls, wind charges, llama spit and
|
||||
/// shulker bullets, from players, mobs and dispensers. It does not fire for
|
||||
/// a breeze's deflection, for a hit on a wind charge, for fireworks or for
|
||||
|
||||
Reference in new issue
Block a user