Code Monkey home page Code Monkey logo

Comments (9)

barneygale avatar barneygale commented on July 28, 2024 2

This might be useful for the network side: 731ecff

from quarry.

wgaylord avatar wgaylord commented on July 28, 2024 1

Just as a side note shouldn't pack_chunk and unpack_chunk be like pack_chunk_section and unpack_chunk_section. As that is what they are packing and unpacking.

That way not to confuse people thinking it packs and unpacks the full chunk.

from quarry.

barneygale avatar barneygale commented on July 28, 2024 1

The chunk --> chunk_section rename happened in 7be6f17.

I'm closing this as chunk packing/unpack is in principle supported. @Vueu, if you have any problems with world loading please do raise another issue!

Thanks

from quarry.

barneygale avatar barneygale commented on July 28, 2024

Hi! The format of a minecraft world on disk is different to how its laid out on the wire (also see the draft version of that page). You need to send a bunch of chunk_data packets to the client, but the format of these packets is quite complicated, and I don't have any examples on hand. I'll have a look at adding chunk pack/unpack to quarry, but it might take a while. Let me know if you get there first.

from quarry.

zuice avatar zuice commented on July 28, 2024

Will do, thanks a lot for the help. I understand it a lot better. 👍

from quarry.

zuice avatar zuice commented on July 28, 2024

Awesome! Thanks for investing your time into this. I'll be sure to experiment with it tomorrow night 😄

from quarry.

barneygale avatar barneygale commented on July 28, 2024

Did you get a chance to test this yet?

from quarry.

zuice avatar zuice commented on July 28, 2024

I didn't! Sorry, I've just been busy with a ton of other weird stuff.

from quarry.

barneygale avatar barneygale commented on July 28, 2024

It's a reasonable point. I think "chunk" is used for 16x16x16 in some circumstances but sticking "section" in there will clear up any ambiguity

from quarry.

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.