Signs on Minecarts?

Discussion in 'Plugin Development' started by chernobyl360, Jul 20, 2011.

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

    chernobyl360

    ive seen with one of the chest plugins you can place a sign directly on the chest to lock it. my question is how do i do that to minecarts and allow the cart to move?
     
  2. Offline

    nisovin

    Carts are entities, but signs (and chests) are blocks. This won't be possible.
     
  3. Offline

    Jaker232

    The guy above me is right.
    If you attach a sign to a block and when it moves and the sign moves, it'll eat up CPU power and lag the server a lot.
     
  4. Offline

    bleachisback

    Moving one block for a server is like picking its nose. It would just look really bad.
     
  5. Offline

    Jaker232

    Right.
     
  6. Offline

    killerwithin

    Would have been funny though right?

    *Minecart zooms past you and a friend*
    You: O_O
    Your Friend: "Did that say eat my dust twats?"
    You: *nods*
     
    bleachisback likes this.
  7. Offline

    chernobyl360

    yes that was the idea. a license plate plugin.....
     
  8. Offline

    bleachisback

    Ah, that wouldn't work because the minecart tracks would be in the way
     
  9. Offline

    DrBowe

    That's actually not what he was stating at all. It simply isn't possible to have the sign attach to a moving entity. It has nothing to do with memory usage...it just isn't possible. Period.
     
    cholo71796 and killerwithin like this.
  10. Offline

    Jaker232

    @DrBoweNur I think your missing the point. If you attach a sign to a entity, you'll have to update it's position. That can eat up CPU power. I know it's impossible, just don't keep reminding me.
     
  11. Offline

    DrBowe

    What point? My point is that your point is null and void. I'm sure it would eat up power if it were possible, but it isn't. I fail to see how it's worth mentioning what 'might' happen, if you'd never be able to test it in the first place :confused:
     
    cholo71796 likes this.
  12. Offline

    Jaker232

    @DrBoweNur That was what I mean. It would eat up power if it was possible.
     
  13. Offline

    bleachisback

    If it were possible and signs were an entity, then all it would be doing is making the sign move, which is already what the minecart is doing. How would that take up power?
     
    cholo71796 likes this.
  14. Offline

    killerwithin

    I think what they are both trying to get at is.

    Signs are not useable on moving entities; so it would take a heavy memory usage to actually move them like that; but since they ARE currently only useable on blocks and not entities, it's not possible anyways? Right?
     
  15. Offline

    cholo71796

    No, it's literally not possible to move signs fluidly because they are not entities. It is not possible at all. There is no discussion about how much processing power it would take, because it is not possible. At all. (Unless Notch changes his code, of course.)
     
    loganwm and DrBoweNur like this.
  16. Offline

    DrBowe

  17. Offline

    bleachisback

    That maaaaay actually change with pistons. I don't know, the bukkit team was saying that it could be with pistons, but they haven't confirmed/denied anything. And pistons don't take up that much CPU
     
  18. Offline

    cholo71796

    Indeed, but it really is impossible right now.
     
  19. Offline

    killerwithin

    Yeah that's what I was saying. :3
     
  20. Offline

    Elizacat

    It would be maaaaaaaybe sort of possible but the motion would not be smooth and definitely not what you had in mind. Since the sign is adhering to the air block behind the entity as opposed to being attached to the entity (which is how I would do it, as you cannot put a sign on an entity), you would get very jerky motion and it would likely be slow as balls. It's probably just not a good idea.
     
Thread Status:
Not open for further replies.

Share This Page