GithubHelp home page GithubHelp logo

Comments (3)

DeeCaaD avatar DeeCaaD commented on July 30, 2024

https://www.spigotmc.org/threads/fallingblock-packet.466019/

We may be able to spawn falling blocks with noClip = true so instead of colliding with the ground, they fall through it (Remove all falling blocks n ticks later). This will have major performance benefits, since we will not need to calculate the time to hit the ground (Which involves ray tracing and such).

This approach will work 99% of the time, but it will look ugly in skybases or other open areas in the sky (blocks will visually fall through the ground and

from mechanicsmain.

DeeCaaD avatar DeeCaaD commented on July 30, 2024

Client does not get told about entity noclip. Instead we will have to move the falling blocks every tick. There is still a performance benefit since we do not need to calculate collisions (Except now we can remove blocks after they are inside a solid block)

from mechanicsmain.

CJCrafter avatar CJCrafter commented on July 30, 2024

Fixed using RemoveOnBlockCollisionProjectile in commits 8e1e22c and 6129b42

from mechanicsmain.

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.