Commit Graph

6 Commits

Author SHA1 Message Date
Ludovic Marie c5a640dd56 Endermen, endermites, blazes, eyes of ender, dried ghasts and end portals make their ambient effects
The client-side branches vanilla runs on its own level: Enderman and
Endermite aiStep (two portal particles a tick), Blaze aiStep (two large
smoke particles, the burn sound one tick in 24), EyeOfEnder.tick (a
portal particle behind it, four bubbles in water), and the
DriedGhastBlock and EndPortalBlock animateTick. They run on the window's
game in-frame and as a server's client, never on a server.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 15:59:56 +01:00
Ludovic Marie 52eb549aec Particles: add 26.3's sulfur bubbles over potent sulfur
PotentSulfurBlock.animateTick sends two sulfur_bubbles up through a water
source above a wet potent sulfur block, and one time in ten plays
block.potent_sulfur.noxious_gas. SulfurBubbleParticle rises at -0.04
gravity with 0.85 friction, wiggles sideways, grows from 0.02 to 0.15 and
pops when it leaves a water source, stops rising or travels 3 blocks. Its
provider passes yAux as the Z speed, which is kept.

The particle providers harness gets water worlds for sulfur_bubbles,
bubble and bubble_column_up.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 02:21:36 +02:00
rdbtCVS cadc20cd58 Fix creative barrier and light block marker particles 2026-10-20 16:30:34 +01:00
Ludovic Marie ed89f533e2 Add the vibration system, sculk block entities and the warden
Game events now reach sculk sensors, calibrated sensors, shriekers and wardens through the vibration system: frequencies, listener ranges, travel time, wool occlusion, sneaking and dampening rules, and the nearest-first selection. Sensors power redstone and comparators and resonate amethyst, shriekers warn players and summon a warden at the fourth warning, catalysts take the experience of nearby deaths and spread sculk, and the warden has its anger, brain, sonic boom, animations and layers.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-09 13:00:26 +02:00
Ludovic Marie 488f8bd030 Make clippy pass with -D warnings
Apply clippy's fixes, fix the remaining lints by hand and allow, for the
whole workspace, the lints that one-to-one ports of vanilla's Java
naturally trip (argument counts, index loops, nested types, large enum
variants).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 00:32:50 +02:00
Ludovic Marie 26acaf8ebd Port the vanilla particle engine and client animateTick effects
particles.rs becomes a ParticleEngine with ~80 vanilla particle types
(constructors, ticks, size curves, light, sprite sets from
particles/*.json) and camera-rotation quads. animate_tick.rs ports
ClientLevel.animateTick: torches, furnaces, campfires (with block-entity
smoke), candles, leaves drips and falling leaves, lava/water, fluid
drips, portals, enchanting tables, end rods, spore blossoms, redstone,
bubble columns and biome ambient particles. Rain splashes follow
tickWeatherEffects. Adds a particle control command.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 15:24:12 +02:00