Solved Checking whether block is collidable

Discussion in 'Spigot Plugin Development' started by WellyPL, Feb 11, 2020.

  1. Hello, can I somehow check whether a certain block may be collided with by an entity?

    I want to create my own version of World.rayTraceBlocks() that doesn't end on blocks such as signs.
    The closest I can get is Material.isSolid() but still signs and some other materials are solid but aren't collidable.

    I want to achieve anything that is quicker than listing every blacklisted material and checking whether current block is any of these.
    • Like Like x 1
    • Like Like x 1