Giter Club home page Giter Club logo

Comments (11)

DiddiZ avatar DiddiZ commented on August 19, 2024

Of course, I want to add these, but still need to find a reasonable way

from logblock.

DiGitHubCap avatar DiGitHubCap commented on August 19, 2024

Good to know. Again, this would make the plugin perfect. Also, thanks for the great plugin!

from logblock.

DiGitHubCap avatar DiGitHubCap commented on August 19, 2024

Sorry accidentally closed.

from logblock.

md-5 avatar md-5 commented on August 19, 2024

@DiddiZ
Is onBlockPhysics called for sign break?
Nevermind it will be in Guardian

from logblock.

DiddiZ avatar DiddiZ commented on August 19, 2024

Better would be to dig into minecraft code and throw the BlockBreakEvent before breaking adjected blocks.

from logblock.

md-5 avatar md-5 commented on August 19, 2024

Thats my job

from logblock.

DiddiZ avatar DiddiZ commented on August 19, 2024

I hoped you'd say that :D

from logblock.

md-5 avatar md-5 commented on August 19, 2024

@DiddiZ
You will need to use onBlockPhysics magic

from logblock.

DiddiZ avatar DiddiZ commented on August 19, 2024

That doesn't sound like didding into MC code ...

from logblock.

md-5 avatar md-5 commented on August 19, 2024

no can do block break for stuff like that. Already spoken to grum....
unless... maybe I will look further. onBlockPhysics should do all of the above
if(event.getBlockTo().material == Material.AIR)
pseudo code

from logblock.

DiddiZ avatar DiddiZ commented on August 19, 2024

I know, you can do it with onBlockPhysics, but there are two mean reasons to avoid:

  1. Redundant code that wastes CPU
  2. You have to update it for every new block

from logblock.

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.