How to fix minecraft crash when connecting to the server?

Discussion in 'Requests' started by Voter, Sep 29, 2019.

  1. Voter

    Voter Creeper

    Messages:
    3
    I added a new item and after that minecraft began to crash

    Code:
    PHP:
    $id 440;
    $name "New Item Name";

    ItemFactory::registerItem(new Item($id,0,$name), false);

    Item::addCreativeItem(Item::get($id));
     
  2. MalakasPlayzMCPE

    MalakasPlayzMCPE Zombie Pigman

    Messages:
    677
    It doesn't work like that... 440 isn't a valid item id.
     
  3. Voter

    Voter Creeper

    Messages:
    3
    Well.. How can I add new item to pmmp?
    With a texture.
     
    Fadhel likes this.
  4. MalakasPlayzMCPE

    MalakasPlayzMCPE Zombie Pigman

    Messages:
    677
    I doubt the possibility of that being conceivable.
     
  5. Voter

    Voter Creeper

    Messages:
    3
    It's possible. I've seen that.
     
  6. HimbeersaftLP

    HimbeersaftLP Chicken

    Messages:
    1,729
    GitHub:
    HimbeersaftLP
    You may only change the behaviour or texture of existing items, adding new item IDs is not possible due to how Minecraft works.
     
    EdwardHamHam and dktapps like this.
  7. dktapps

    dktapps Administrator Staff Member PMMP Team

    Messages:
    747
    GitHub:
    dktapps
    clearly it is possible to conceive otherwise he wouldn't have conceived it...
     

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.