Comments (6)
That's a good idea. BTW, that site is just a mirror of the actual wiki, which is at http://wiki.vg.
from node-minecraft-protocol.
Wow, that was unexpectedly fast!
You're right there, thanks.
from node-minecraft-protocol.
We did this in a previous version of this project, and surprisingly it's actually easier to use the hex codes instead of enum values, for 2 reasons:
- over time and minecraft updates, packet names change or become less descriptive, and you have to change the enum names, breaking backwards incompatibility. in other words, the numbers are more stable than the names
- for a lot of packets, the names are misnomers anyway because the minecraft protocol is so fucked up. numbers remind you that you never know what a packet might be used for...
I'll keep my mind open, but I actually did think about this and decided that it's easier for everybody not to provide an enum.
from node-minecraft-protocol.
Hm, haven't been actively watching the protocol. Are the changes really that drastical? And I thought Minecraft was matureing. Haha.
Their protocol is fucked up indeed.
from node-minecraft-protocol.
It wouldn't be too hard to implement this on the script-side instead of library-side anyway, with only the relevant packets. I believe it's better this way.
from node-minecraft-protocol.
Yeah, convinced. Protocol is low level and acts as a bridge from the raw protocol to an abstraction layer. Abstracting scripts need to be modified on protocol updates anyways.
from node-minecraft-protocol.
Related Issues (20)
- Automatically check all supported version in version.js are mentioned in the readme HOT 1
- support 1.20.3 and .4 HOT 7
- Cannot read properties of undefined (reading 'overworld') HOT 1
- "Chunk size is 42 but only 2 was read" error HOT 7
- Inconsistent `playerChat` event data
- undefined nbt value HOT 2
- Some event handlers end up being called multiple times after going thru configuration state. HOT 1
- 1.20.4 Login event never triggered on Node 18 HOT 19
- versionChecking.js Bug HOT 3
- TypeError: RSA_PKCS1_PADDING is no longer supported for private decryption HOT 7
- Error: Failed to obtain profile data for X, does the account own minecraft?
- Ladders arent working HOT 3
- mc.createClient doesnt check for SRV dns records HOT 1
- Is there any way to modify the protocol on server side? (maybe using fabric or spigot) HOT 1
- pickRealm silently fails to connect HOT 6
- Entity Effect proxy
- Error: unsupported protocol version: 1.20.6
- Minecraft 1.21+ support HOT 2
- Read Packets from other sources HOT 4
- Problems with Deserializer HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-minecraft-protocol.