Change color of beacon

Discussion in 'Spigot Plugin Development' started by Goofan, May 31, 2016.

  1. So I saw a plugin (lost it again of course) where the developer had made it so that the beacon changed color without the glass on top. I'd like to be able to do this for my plugin as well but I have no idea how to.
    I expect it to be client side am I wrong to assume this?

    Regards,
    Thomas
     
  2. If I recall it is client side, so just send a fake block above the beacon so that the color changes for the client.
     
  3. Thank you WaterPolo, now how would I go about to send a fake block?
     
  4. Code (Text):
    player.sendBlockChange(Location, Material, Byte);
    This should work. However, it is better to check protocollib.
     
  5. Thank you ta1ha I will try it out. Else I'll look into ProtocolLib abit closer :)