Merge main into fix/trident-client-flight
- trident.rs: main's thrower guest (player_hurt_entity) beside the owner id a server sends. - remote.rs: the trident and main's firework rocket both take a server move at once; both take its velocity. - remote_projectiles.rs: main's smoke trails stay; the trident flies by its own client tick instead of main's interpolation step. - tests/test_remote_motion.py: both fields. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -35,7 +35,8 @@ impl End { fn remote_eye_motion(&mut self, _id: u32, _v: [f64; 3]) {} }
|
||||
#[derive(Default)]
|
||||
struct Game {
|
||||
mobs: Vec<Entity>, dropped: Vec<Entity>, falling: Vec<Entity>, tnts: Vec<Entity>,
|
||||
creatures: Creatures, dragon_fireballs: Vec<Entity>, tridents: Vec<Entity>, remote: Option<Remote>,
|
||||
creatures: Creatures, dragon_fireballs: Vec<Entity>, tridents: Vec<Entity>,
|
||||
rockets: Vec<Entity>, remote: Option<Remote>,
|
||||
potions: Potions, end: End,
|
||||
}
|
||||
impl Game {
|
||||
|
||||
Reference in New Issue
Block a user