Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Get item name by ID

Comments in 'Plugin Development' started by mamayadesu, Feb 28, 2015.

  1. mamayadesu
    Offline

    mamayadesu Active Member Plugin Developer

    Joined:
    Sep 19, 2013
    Posts:
    146
    Plugins:
    4
    Minecraft User:
    mamayadesu
    How I can get item name by id? ITEM_ID : DAMAGE
  2. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,306
    Plugins:
    11
    Minecraft User:
    PEMapModder
    \pocketmine\item\Item::get($id)->getName()
  3. mamayadesu
    Offline

    mamayadesu Active Member Plugin Developer

    Joined:
    Sep 19, 2013
    Posts:
    146
    Plugins:
    4
    Minecraft User:
    mamayadesu
    Thank you
  4. KhanhHung
    Offline

    KhanhHung Active Member

    Joined:
    Feb 15, 2015
    Posts:
    7
    Minecraft User:
    TheWiper
    Why dont u download essentialsPE and get id by typing /id <itemname> and then type /item to get it?
  5. mamayadesu
    Offline

    mamayadesu Active Member Plugin Developer

    Joined:
    Sep 19, 2013
    Posts:
    146
    Plugins:
    4
    Minecraft User:
    mamayadesu
    I want to make it in my plugin.
    LDX likes this.
  6. KhanhHung
    Offline

    KhanhHung Active Member

    Joined:
    Feb 15, 2015
    Posts:
    7
    Minecraft User:
    TheWiper
    Oh ok

Share This Page

Advertisement