Giter Site home page Giter Site logo

Can't ride pig about 2bored2wait HOT 9 CLOSED

themoonisacheese avatar themoonisacheese commented on July 26, 2024
Can't ride pig

from 2bored2wait.

Comments (9)

DarkoGNU avatar DarkoGNU commented on July 26, 2024

Lol, something similar happened to me with a horse. I think I haven't tried clicking shift. Dumb me :P

from 2bored2wait.

 avatar commented on July 26, 2024

This should have the critical label, ridding animals is a big part of 2b2t, for traveling

from 2bored2wait.

themoonisacheese avatar themoonisacheese commented on July 26, 2024

a critical bug would be something like "minecraft crashes on finishing queue". In comparison, this is not that much of an issue. it's still an issue, and i'm investigating it, but it's absolutely not critical.

from 2bored2wait.

Rattlyy avatar Rattlyy commented on July 26, 2024

Minecraft-node-protocol simply doesn't support yet riding entities, so, it simply doesn't work until Prismarine fixes it. Probably will get fixed in decades because they're dead lmao

from 2bored2wait.

themoonisacheese avatar themoonisacheese commented on July 26, 2024

that would explain it. I have never seen that in the docs, but I wouldn't be surprised if if one of those undocumented issues.

sadly, this means that this will go unifxed for as long as I keep using minecraft-protocol. It's early for a rewrite, but that would probably fix a bunch of issues (but of course introduce new ones).

from 2bored2wait.

Rattlyy avatar Rattlyy commented on July 26, 2024

If you check flying-squid(mc server framework based on minecraft-protocol) it has the issue of ridable animals.

from 2bored2wait.

Rattlyy avatar Rattlyy commented on July 26, 2024

Same for fishing, good pvp etc

from 2bored2wait.

hazzal avatar hazzal commented on July 26, 2024

This appears to be caused by the entityId of the player not being set correctly when connecting through the proxy. The entityId is announced on the packet with the meta name"login", it can be set correctly when creating the clientProxy
And more specifically the issue happens because when the packet set_passenger gets sent from the server since it provides an entityId which is riding the boat/pig/horse, and if the entityId of the player doesn't match the server then the client doesn't understand that it is riding the given entity.

I have made a PR that might fix this issue. I have tested it on another server where the change seems to work. #51

from 2bored2wait.

themoonisacheese avatar themoonisacheese commented on July 26, 2024

hopefully fixed with #51

from 2bored2wait.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.