How hard will this be/is it possible?

Discussion in 'Bukkit Discussion' started by AcpSoldier, Sep 8, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    AcpSoldier

    I make major derpies. I thought this was the dev section. I'd appreciate if someone could move this thread.

    So here's my idea. I want my player to have laser eyes that break blocks. Basically, a line of red
    particles going from the players head, to the block that he's looking at. And the block that he's looking at breaks.

    I don't know if this is possible, but I did find this video:

    Link to video.

    I've been coding Java for 3 years, and Bukkit for 1. I can tell this idea of mine won't be easy. So how hard is it to make this? Or, is it even possible?
     
  2. Offline

    Alshain01

    It's definitely possible to add particle effects from the players line of sight. It's mostly just math and finding the first non-air block between the player's directly and breaking it. It shouldn't be all that hard.
     
Thread Status:
Not open for further replies.

Share This Page