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

RFC Item&Block::getName() should return Namespaced-ID

Discussion in 'Contributing & RFCs' started by yuko fuyutsuki, Mar 20, 2020.

  1. yuko fuyutsuki

    yuko fuyutsuki Slime

    Messages:
    77
    GitHub:
    fuyutsuki
    Introduction:
    Now, we can get the name of Item and Block by used to getName function, but those are only supported English (moreover, some don't follow en_US.lang).

    Subject:
    Current PocketMine-MP's getName function returns {block / item} name determined by pmmp(...my thought). We should change them to en_US.lang compliant keys in vanilla resource pack.

    However, those changes are leads BC break of course. so I suggests implement this feature on master(API 4.0).

    Reference:
    ・Minecraft Add-Ons: Customize Your Experience(distributes vanilla resource pack)
    https://www.minecraft.net/ja-jp/addons/
    ・Namespaced ID - Official Minecraft Wiki
    https://minecraft.gamepedia.com/Namespaced_ID
     
    Last edited: Mar 23, 2020
  2. yuko fuyutsuki

    yuko fuyutsuki Slime

    Messages:
    77
    GitHub:
    fuyutsuki
  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.