1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Colored Leather Armor

Discussion in 'Requests' started by Matthew, Jan 18, 2017.

  1. Matthew

    Matthew Baby Zombie

    Messages:
    167
    GitHub:
    matthww
    So I can remember a while back there was this thread about colored armor on the pocketmine forums. And If I'm right 64FF00 made a plugin to make it possible to dye them in some way. So I have been searching for the last 30 min and all I could find was this piece of code:
    PHP:
    public function applyColorToLeatherChestplate(\pocketmine\Player $player$customColor 0x0064ff00)
    {
            
    $chestPlate Item::get(299);
            
    $tempTag = new CompoundTag("", []);
            
    $tempTag->customColor = new IntTag("customColor"$customColor);
            
    $chestPlate->setCompoundTag($tempTag);
            
    $player->getInventory()->setChestplate($chestPlate);
    }
    Made by @64FF00

    So My question is could someone make a plugin that makes it possible to use /armor chestplate red (or something similiar) or have a plugin that does almost the same..
     
  2. Dog2puppy

    Dog2puppy Slime

    Messages:
    94
    GitHub:
    colesquared
    I could try, assuming that the code works.
     
  3. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
  4. StuckDexter

    StuckDexter Silverfish

    Messages:
    24
    Is it possible to set color to blocks or wapons
     
  5. jasonwynn10

    jasonwynn10 Moderator Poggit Reviewer

    Messages:
    1,489
    GitHub:
    jasonwynn10
    You need a texture pack for that, but it's not implemented with servers yet
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.