Giter Club home page Giter Club logo

Comments (3)

Martmists-GH avatar Martmists-GH commented on June 1, 2024 1

Gbergz: I meant in how we handle it internally; We could cancel the thread, but we'd need a reference to it. Alternatively we could use a concurrent map to store block teleporting from, and check periodically, but an efficient implementation would have to be found.

from gunpowderteleport.

Martmists-GH avatar Martmists-GH commented on June 1, 2024

I think this would be best configurable, but cancelling it immediately might be kinda tricky with the way we currently handle it. Comment for ideas on how to rewrite the current system (Thread.sleep in another thread) for this, or if we should just use a PlayerPreTeleportCallback.

from gunpowderteleport.

Gbergz avatar Gbergz commented on June 1, 2024

An idea instead of cancelling it immediately is you can move around freely on the block you're standing on, but as soon as you enter another block it cancels. Just so it doesn't cancel if you accidentally clicked the wasd buttons for 0.01s.

from gunpowderteleport.

Related Issues (14)

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.