Ludovic Marie
6ce83021b5
Powder snow: sinking, freezing, leather boots, buckets and falling blocks
...
Powder snow was inert: the player's collision context never carried its
fall distance or boots, block-inside effects never ran for the player,
frozen ticks stayed 0 and the empty bucket only took fluids.
Player (PlayerMotion, LivingEntity.aiStep order):
- PowderSnowBlock.getCollisionShape gets the player's fall distance and
leather boots: it sinks through, walks on top in leather boots (sinks
when crouching), lands on the 0.9-high shape after a fall of more
than 2.5 blocks.
- Entity.applyEffectsFromBlocks over this tick's movement path (the
ported block sweep, StepBasedCollector steps): entityInside makes it
stuck (0.9, 1.5, 0.9) while its feet are in powder snow and sends the
server's snowflake from the level random; FREEZE sets isInPowderSnow
and adds a frozen tick per step; EXTINGUISH destroys the snow if the
player burns and puts the fire out. ServerPlayer.onInsideBlock fires
enter_block for every block entered (which also unlocks the boat
recipes in water, and the end gateway advancement).
- baseTick's wasInPowderSnow lets leather boots climb out (living_air).
- Server freezing: thawing 2 a tick, the powder_snow frost modifier
(-0.05 x percent frozen, not over air), freeze damage every 40 ticks
when fully frozen; leather armor (#freeze_immune_wearables) and
spectators don't freeze.
- HUD: the powder snow outline overlay and frozen hearts.
Items and blocks:
- BucketItem.use on powder snow: pickupBlock (2001), used statistic,
fill sound, FLUID_PICKUP, createFilledResult, filled_bucket trigger.
- SolidBucketItem: the empty_powder_snow place sound and an empty bucket
back in survival.
- Falling blocks land on powder snow, or end up inside it and break
after a fall of more than 2.5 blocks.
test_native_scene_motion gains powder snow fixtures ("snow_tick": the
oracle runs vanilla's real applyEffectsFromBlocks and freezing) and
prints frozen ticks, the snow flags and the stuck multiplier.
Fixes #62
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-14 15:45:55 +02:00
..
2026-10-13 22:28:14 +02:00
2026-10-08 15:25:41 +02:00
2026-10-10 21:33:17 +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-13 15:02:15 +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-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 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-13 03:42:57 +02:00
2026-10-10 03:49:56 +02:00
2026-10-03 23:26:13 +02: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-13 21:59:34 +02:00
2026-10-13 03:06:48 +02:00
2026-10-12 15:54:35 +02:00
2026-10-12 18:57:30 +02:00
2026-10-13 22:24:55 +02:00
2026-10-11 14:08:47 +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-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-13 23:38:02 +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-13 22:30:39 +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-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-12 17:55:17 +02:00
2026-10-08 23:33:12 +02:00
2026-10-08 23:33:12 +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-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-13 03:42:57 +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-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-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 15:15:15 +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-14 15:45:55 +02:00
2026-10-11 16:14:22 +02:00
2026-10-06 11:57:55 +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-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-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-14 15:16:32 +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-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-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-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