Blocks on head with helmet

Discussion in 'Plugin Development' started by Atoxz58, Jun 3, 2015.

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

    Atoxz58

    So I have 2 teams and I want the teams to have their respective wool color on their head but at the same time I need them to have the helmet(armor) on their head also. Does anyone know a way around that? Anything helps
     
  2. Offline

    caderape

    @Atoxz58 LeatherArmorMeta i think. You can color leather armor with this.
     
  3. Offline

    HenkDeKipGaming

    could you use
    Code:
    e.getPlayer().getInventory().setHelmet(new ItemStack(Material.IRON_HELMET));
    and then change the iron helmet to something else?
     
  4. Offline

    Atoxz58

    I tried that and it actually just changes it back

    But I want to have blocks on their head with iron armor.

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

    HenkDeKipGaming

    oooh you want to have both... sorry, don't know how to do that... but can't you just use leather armor with a color and as many protection, so it's as strong as iron armor?
     
  6. Offline

    Atoxz58

    I want the blocks on their head but that is a good last resort I didn't even think about that. Thanks
     
  7. Offline

    seanliam2000

    You could give them a resistance effect to compensate for the helmet or give protection as mentioned by @HenkDeKipGaming . Then just give them some wool on their head
     
  8. Offline

    Atoxz58

    This is another viable solution but I've seen it before to where it had the armor and also had the block and there was an option to toggle seeing the blocks on the peoples head and i'd like to have something like that.
     
  9. @Atoxz58 Best way would probably be to listen to the relevant damage event, and then adjust the modification to compensate for the lack of helmet.
     
  10. Offline

    NathanWolf

    If you are on 1.8 (in which case.. why are you here, lol) you could mount an armor stand on them, and then put the block on the armor stand's head.

    I suppose the same thing *might* work with an invis zombie, though I haven't tried putting blocks on them.
     
Thread Status:
Not open for further replies.

Share This Page