Ludovic Marie
e2473aafd8
Shields turn arrows back, as vanilla does
...
AbstractArrow.onHitEntity: an entity that takes no damage from the arrow
(a raised shield, invulnerability) turns it back with
ProjectileDeflection.REVERSE at power 0.2: a tenth of the speed, a half
turn give or take ten degrees from the arrow's own random; one left
almost still drops its pickup and is discarded. Arrows used to vanish.
The arrow tick now stops at the entity it hits: the game hurts the
entity, then arrows::finish_entity_hit spends the arrow (with its hit
sound, from the arrow's random) or turns it back, and ends the tick
(drag, gravity, fluids). The damage is taken from the speed at the hit,
the crit bonus from the arrow's random, the entity search follows
ProjectileUtil.getManyEntityHitResult (the box first, then
computeMargin's margin, which needs tickCount), Punch pushes only what
was hurt, and a refused burning arrow leaves the player's fire as it
was. Mobs' refusals keep the old ending until their hurt results follow
hurtServer.
The arrow harness gains an entity in the way that takes or refuses the
damage: squarely, grazing, slow enough to drop.
Part of #277
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-15 11:41:06 +02:00
..
2026-10-15 01:13:39 +02:00
2026-10-13 22:28:14 +02:00
2026-10-08 15:25:41 +02:00
2026-10-14 18:10:34 +02:00
2026-10-10 03:50:38 +02:00
2026-10-06 11:24:51 +02:00
2026-10-06 11:24:51 +02:00
2026-10-06 11:24:51 +02:00
2026-10-14 18:15:40 +02:00
2026-10-06 11:24:51 +02:00
2026-10-11 17:24:18 +02:00
2026-10-10 03:43:22 +02:00
2026-10-10 03:43:22 +02:00
2026-10-10 03:43:22 +02:00
2026-10-04 14:09:19 +02:00
2026-10-11 15:05:36 +02:00
2026-10-14 16:29:33 +02:00
2026-10-11 15:05:36 +02:00
2026-10-08 03:19:08 +02:00
2026-10-06 11:24:51 +02:00
2026-10-13 03:17:12 +02:00
2026-10-13 00:46:45 +02:00
2026-10-13 00:54:43 +02:00
2026-10-13 02:54:04 +02:00
2026-10-12 02:00:18 +02:00
2026-10-12 17:10:08 +02:00
2026-10-13 00:31:05 +02:00
2026-10-13 02:33:59 +02:00
2026-10-11 16:47:42 +02:00
2026-10-10 22:23:05 +02:00
2026-10-10 21:47:11 +02:00
2026-10-13 04:59:34 +02:00
2026-10-08 15:13:51 +02:00
2026-10-13 17:12:30 +02:00
2026-10-14 23:32:36 +02:00
2026-10-10 03:49:56 +02:00
2026-10-03 23:26:13 +02:00
2026-10-14 23:21:03 +01:00
2026-10-13 20:20:17 +02:00
2026-10-07 04:28:50 +02:00
2026-10-10 21:47:11 +02:00
2026-10-09 14:06:43 +02:00
2026-10-14 18:10:34 +02:00
2026-10-15 07:04:56 +02:00
2026-10-12 15:54:35 +02:00
2026-10-15 01:13:39 +02:00
2026-10-15 07:01:03 +02:00
2026-10-15 01:13:39 +02:00
2026-10-14 16:29:33 +02:00
2026-10-14 16:29:33 +02:00
2026-10-15 01:01:26 +02:00
2026-10-13 20:20:17 +02:00
2026-10-10 21:49:38 +02:00
2026-10-12 02:00:18 +02:00
2026-10-08 11:20:05 +02:00
2026-10-12 17:10:08 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-10 22:03:51 +02:00
2026-10-06 11:24:51 +02:00
2026-10-15 11:41:06 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-10 21:52:28 +02:00
2026-10-10 22:04:04 +02:00
2026-10-06 13:17:56 +02:00
2026-10-06 11:24:51 +02:00
2026-10-06 19:49:00 +02:00
2026-10-06 19:49:00 +02:00
2026-10-08 23:33:12 +02:00
2026-10-06 11:24:51 +02:00
2026-10-06 11:24:51 +02:00
2026-10-06 11:24:51 +02:00
2026-10-06 13:28:59 +02:00
2026-10-06 11:24:51 +02:00
2026-10-06 12:29:30 +02:00
2026-10-08 23:33:12 +02:00
2026-10-06 11:55:45 +02:00
2026-10-13 01:55:46 +02:00
2026-10-13 02:03:08 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-13 15:06:46 -04:00
2026-10-06 12:20:29 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-12 16:49:20 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-10 07:08:27 +02:00
2026-10-10 03:50:38 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-06 12:59:34 +02:00
2026-10-06 14:08:13 +02:00
2026-10-13 15:06:46 -04:00
2026-10-06 11:24:51 +02:00
2026-10-08 23:33:12 +02:00
2026-10-13 15:07:39 +02:00
2026-10-06 11:24:51 +02:00
2026-10-06 11:24:51 +02:00
2026-10-06 11:24:51 +02:00
2026-10-10 07:13:50 +02:00
2026-10-06 11:24:51 +02:00
2026-10-13 06:27:55 +02:00
2026-10-06 14:12:29 +02:00
2026-10-15 06:37:05 +02:00
2026-10-06 11:24:51 +02:00
2026-10-08 23:33:12 +02:00
2026-10-06 11:24:51 +02:00
2026-10-08 23:33:12 +02:00
2026-10-14 14:38:52 +02:00
2026-10-08 23:33:12 +02:00
2026-10-06 23:13:27 +02:00
2026-10-08 23:33:12 +02:00
2026-10-11 16:47:42 +02:00
2026-10-10 03:43:22 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-14 15:00:41 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-14 15:31:49 +02:00
2026-10-08 23:33:12 +02:00
2026-10-12 16:05:18 +02:00
2026-10-14 16:29:33 +02:00
2026-10-08 23:33:12 +02:00
2026-10-06 11:24:51 +02:00
2026-10-06 11:24:51 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-13 02:54:04 +02:00
2026-10-14 00:09:59 +02:00
2026-10-08 23:33:12 +02:00
2026-10-06 14:03:31 +02:00
2026-10-13 23:01:02 +02:00
2026-10-06 13:21:42 +02:00
2026-10-06 11:24:51 +02:00
2026-10-06 12:25:49 +02:00
2026-10-06 11:24:51 +02:00
2026-10-12 17:14:20 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-14 16:38:38 +02:00
2026-10-08 23:33:12 +02:00
2026-10-06 14:03:31 +02:00
2026-10-06 13:09:24 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-14 15:33:50 +02:00
2026-10-12 17:31:52 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-14 23:40:18 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-14 16:13:38 +02:00
2026-10-10 07:09:59 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-06 12:13:34 +02:00
2026-10-06 12:13:34 +02:00
2026-10-06 11:24:51 +02:00
2026-10-06 19:31:11 +02:00
2026-10-08 23:33:12 +02:00
2026-10-06 11:24:51 +02:00
2026-10-12 17:46:50 +02:00
2026-10-14 15:27:13 +02:00
2026-10-14 15:30:30 +02:00
2026-10-06 11:24:51 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-10 21:51:04 +02:00
2026-10-08 23:33:12 +02:00
2026-10-15 03:08:07 +02:00
2026-10-10 06:58:30 +02:00
2026-10-08 23:33:12 +02:00
2026-10-06 11:24:51 +02:00
2026-10-13 05:43:31 +02:00
2026-10-08 23:33:12 +02:00
2026-10-06 11:24:51 +02:00
2026-10-06 11:24:51 +02:00
2026-10-13 06:21:56 +02:00
2026-10-14 23:32:36 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-10 21:21:50 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-04 00:53:12 +02:00
2026-10-15 00:24:16 +02:00
2026-10-13 01:11:55 +02:00
2026-10-08 23:45:48 +02:00
2026-10-08 23:33:12 +02:00
2026-10-09 12:29:51 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-14 21:23:57 +02:00
2026-10-06 11:24:51 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-06 11:24:51 +02:00
2026-10-14 14:34:32 +02:00
2026-10-14 23:59:47 +02:00
2026-10-15 09:14:21 +02:00
2026-10-11 15:05:36 +02:00
2026-10-13 20:20:17 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-10 21:49:11 +02:00
2026-10-07 16:56:23 +02:00
2026-10-07 14:42:44 +02:00
2026-10-15 02:45:13 +02:00
2026-10-11 16:14:22 +02:00
2026-10-06 11:57:55 +02:00
2026-10-14 18:06:24 +02:00
2026-10-06 11:24:51 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-14 19:55:57 +02:00
2026-10-13 06:22:53 +02:00
2026-10-13 06:07:04 +02:00
2026-10-13 04:47:36 +02:00
2026-10-10 03:48:16 +02:00
2026-10-14 16:25:24 +02:00
2026-10-06 12:51:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-12 16:51:38 +02:00
2026-10-06 11:24:51 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-06 11:24:51 +02:00
2026-10-06 11:24:51 +02:00
2026-10-12 16:22:29 +02:00
2026-10-10 09:12:17 +02:00
2026-10-12 17:02:53 +02:00
2026-10-13 02:22:55 +02:00
2026-10-13 05:35:49 +02:00
2026-10-09 14:04:56 +02:00
2026-10-10 09:12:17 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-06 13:13:46 +02:00
2026-10-06 11:24:51 +02:00
2026-10-14 15:33:34 +02:00
2026-10-08 23:33:12 +02:00
2026-10-06 19:31:11 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-13 20:20:17 +02:00
2026-10-15 07:04:56 +02:00
2026-10-08 23:33:12 +02:00
2026-10-06 11:24:51 +02:00
2026-10-12 17:35:05 +02:00
2026-10-12 17:38:25 +02:00
2026-10-12 17:01:59 +02:00
2026-10-09 13:52:25 +02:00
2026-10-12 18:57:30 +02:00
2026-10-06 11:24:51 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-10 22:10:06 +02:00
2026-10-06 13:32:39 +02:00
2026-10-10 21:33:17 +02:00
2026-10-10 21:16:28 +02:00
2026-10-10 22:17:01 +02:00
2026-10-14 19:33:25 +02:00
2026-10-06 14:16:46 +02:00
2026-10-06 13:04:32 +02:00
2026-10-06 12:36:10 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-06 11:24:51 +02:00
2026-10-12 17:07:47 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-13 03:16:04 +02:00
2026-10-12 16:36:04 +02:00
2026-10-08 23:33:12 +02:00
2026-10-06 11:24:51 +02:00
2026-10-06 11:24:51 +02:00
2026-10-06 11:24:51 +02:00
2026-10-06 11:24:51 +02:00
2026-10-06 11:24:51 +02:00
2026-10-10 22:12:23 +02:00
2026-10-13 22:25:27 +02:00
2026-10-09 00:28:31 +02:00
2026-10-06 12:51:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-14 20:24:55 +02:00
2026-10-08 23:33:12 +02:00
2026-10-06 11:24:51 +02:00
2026-10-08 23:33:12 +02:00
2026-10-06 12:38:59 +02:00
2026-10-08 23:33:12 +02:00
2026-10-14 14:34:26 +02:00
2026-10-08 23:33:12 +02:00
2026-10-12 17:25:13 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +02:00
2026-10-06 11:24:51 +02:00
2026-10-08 23:33:12 +02:00
2026-10-14 17:49:15 +02:00
2026-10-06 11:24:51 +02:00
2026-10-08 23:33:12 +02:00
2026-10-10 08:05:35 +02:00
2026-10-10 22:23:05 +02:00
2026-10-08 15:49:59 +02:00
2026-10-08 15:49:59 +02:00