Making entities invisible?

Discussion in 'Plugin Development' started by kyle1320, Aug 10, 2012.

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

    kyle1320

    How would I go about making an entity invisible?
     
  2. Offline

    efstajas

    I think the only way to do that is not sending the data to the client. I think this is possible using the spout plugin's packet manager, I'm not a dev though.
     
  3. Offline

    mbaxter ʇıʞʞnq ɐ sɐɥ ı

    What sort of entity and for what period of time, and to whom.
     
  4. Offline

    kyle1320

    An arrow, forever (Until it despawns), and to everyone
     
  5. Offline

    Firefly

    Why not just delete the arrow entity once it lands? Do you absolutely need it to be there, but invisible?
     
  6. Offline

    kyle1320

    Yes, it has to be there. It could be any entity really (I think), it just has to stay still and be invisible.
     
  7. Offline

    WarmakerT

    ArrowEntity.fromPlayer = 0;
     
  8. Offline

    kyle1320

    Okay, here's what I need:
    I need an entity that can attach to a block and stay still. This entity needs to be able to be ridden and be invisible. I can't make it an ArrowEntity because as far as I can tell, you can't mount a player on it.
     
  9. Offline

    WarmakerT

    I said arrow because of this post:
    An arrow, forever (Until it despawns), and to everyone.​
    You could just tell the client that that entity was destroyed, and force the AI to go to it's own block, or just teleport it to the same place every time it moves.​
    To ride it, you use: Entity.setPassenger(entity);​
     
Thread Status:
Not open for further replies.

Share This Page