Indicator to point out selected corner of a block.

Discussion in 'Plugin Development' started by InspiredOne, Jan 25, 2014.

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

    InspiredOne

    In my plugin, players select the corner of a block by clicking it in the quadrant that contains the corner. I'd like to give them some kind of indication that is persistent. I've been trying to come up with some creative ways to indicate the corner of a block, but I'm wondering if y'all have any ideas.

    I was thinking that I could possibly do something with a particle effect, or perhaps an item sprite. An item sprite wouldn't work well if the block's top surface was covered. So... any ideas?

    To be clear, I'm not trying to indicate the block selected. I'm trying to indicate the corner selected of a block. Thanks in advance for any ideas.

    What's the policy on thread bumping? :p

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 6, 2016
  2. Offline

    FunnyGopher

    Well, I like the particle effect approach. You could probably write a runnable that continuously runs after selecting said corner, until some event stops it. I would think a particle effect coming from a specific corner would be visual enough for players not to confuse what corner it's coming from.
     
  3. Offline

    Maurdekye

    FunnyGopher Yeah, but the problem with minecraft's stock particle effects is that they're not very precise. it'd be hard to tell even which block you had selected by marking it with a particle effect. I would probably do something like make a temporary arrow sticking out of the corner or something.
     
  4. Offline

    FunnyGopher

    Well, yes. If the blocks were together, I could see that being a problem. I was thinking it was a standalone block.
     
  5. Offline

    InspiredOne


    That's actually a really good idea! And it would be easy to make sure that players can't pick it up, thus farming arrows, and it won't really disturb anything. Unless the break the block. I know this is a bit contrived, but the arrows can still cause player damage. I guess I could keep track of them and make sure they don't.

    The arrows idea is the best I've come across though, any other ideas?
     
Thread Status:
Not open for further replies.

Share This Page