GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Feature: EntityAction · Issue #423 · feather-rs/feather

Feature: EntityAction #423

New issue
Copy link
New issue
Copy link
Open
Open
Feature: EntityAction#423
Copy link

Description

@Miro-Andrin
Miro-Andrin
opened on May 11, 2021
Issue body actions

Feature Request

Handle the EntityAction request in feather/server/src/packet_handlers.rs

Description

This feature request is very similar to #422 but with a lot more values to track.

  • Start sneaking
  • Stop sneaking
  • Leave bed
  • Start sprinting
  • Stop sprinting
  • Start jump with horse
  • Stop jump with horse
  • Open horse inventory
  • Start flying with elytra

wiki
Notice how there is no StopFlyingEvent, so the server is expected to track this value. How this is kept in synch i have no idea. A reasonable first approximation is that we just don't bother with keeping it in synch, as the physics system is still missing #357.
Another noteworthy thing is that the Leave bed packet is not sent by the client if night is changed to day by players sleeping. So a sleep tracking system has to trigger a BedExit event.
Open horse inventory is only sent when pressing the inventory key (default: E) while on a horse — all other methods of opening a horse's inventory (involving right-clicking or shift-right-clicking it) do not use this packet.

Activity

  1. AL1L commented on May 14, 2021

    @AL1L
    AL1L
    on May 14, 2021
    More actions

    Notice how there is no StopFlyingEvent, so the server is expected to track this value. How this is kept in synch i have no idea.

    It's just canceled if they land on the ground, right? Elytras do have higher desync issues that most other things.

  2. aramperes commented on May 25, 2021

    @aramperes
    aramperes
    on May 25, 2021
    Contributor
    More actions

    Hey @AL1L, just so you're aware, this is a clean-room project and we should abstain from reading decompiled code from the vanilla server. See https://github.com/feather-rs/feather/blob/main/CONTRIBUTING.md#original-code-code-from-minecraft

    Reacted by Miro and Ming-Long Huang
    Reacted by Allen Lantz and Amber
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.