Solved Adding custom item skin

Discussion in 'Development' started by Melonenbubi, May 22, 2020 at 4:18 PM.

  1. Melonenbubi

    Melonenbubi Spider

    Messages:
    13
    Hello,

    I am pretty new to php and pmmp development, but not to programming in general, but I do know basics like structures of plugins, some events and how to use an IDE.

    My goal is to create a new item in Pocketmine. When a player joins the server he automatically downloads the skin for this item.

    Somebody has suggestions how this could be possible?
     
  2. HiToLaKhanh

    HiToLaKhanh Silverfish

    Messages:
    21
    GitHub:
    HiToLaKhanh
    you can use resources pack dude
     
  3. Rim

    Rim Silverfish

    Messages:
    20
    GitHub:
    boomyourbang
    Use ItemFactory to register your item by its class that extends Item, and then use a resource pack that replaces the icon of the custom item's ID to whatever you want.
     
    Melonenbubi likes this.

Share This Page

  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.