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.
Is this what you are looking for? https://hub.spigotmc.org/javadocs/spigot/org/bukkit/block/Block.html#isPassable--
I think it is. Never thought that it would be accessible from Block class instead of Material, given that the latter has isSolid, isOccluding etc, thanks!