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

Is it possible to create a new tool ?

Discussion in 'Development' started by Ayzrix, Jun 18, 2020.

  1. Ayzrix

    Ayzrix Witch

    Messages:
    66
    GitHub:
    Ayzrix
    Hi , I was wondering if it was possible to add for example a new pocketmine pickaxe by modifying another item. For example make a blaze rod become an emerald pickaxe and then break faster than a diamond pickaxe
     
  2. Sesamo

    Sesamo Silverfish

    Messages:
    18
    GitHub:
    Lowzer
    Ummm can't
     
  3. Sesamo

    Sesamo Silverfish

    Messages:
    18
    GitHub:
    Lowzer
    But mc on pc can do it.
    By use the datapack
     
  4. Seeker

    Seeker Spider Jockey

    Messages:
    45
    GitHub:
    seeker-devs
    Stop providing false information. Indeed, it is possible. Steps to do it (I'm just typing this quickly in a car, correct me if I'm wrong:
    Register a new item
    You can simply register your item (check out the files in src/pocketmine/item to get an idea on how to do it)
    Get a resource pack
    You need a resource pack, don't expect pm to just magically add a texture for your item
    Make it break blocks faster
    I believe that there is a function for that (will check later:)) , but you can simply enchant it with Haste (using the if statement and the item name).
    [EDIT]
    You can set a custom recipe for it too ;)
     
    mmm545 likes this.
  5. mmm545

    mmm545 Baby Zombie

    Messages:
    152
    GitHub:
    mmm545
    hmmm actually i might do it hehe
     
  6. esh123cookie

    esh123cookie Baby Zombie

    Messages:
    104
    GitHub:
    esh123cookie
    Actually PM doesn't allow you to register your own item or block. I've tried this before, but it never worked.
     
  7. esh123cookie

    esh123cookie Baby Zombie

    Messages:
    104
    GitHub:
    esh123cookie
  8. esh123cookie

    esh123cookie Baby Zombie

    Messages:
    104
    GitHub:
    esh123cookie
    Ik that and ive tried that. It didn't work I can link my thread to this
     
  9. esh123cookie

    esh123cookie Baby Zombie

    Messages:
    104
    GitHub:
    esh123cookie
  10. esh123cookie

    esh123cookie Baby Zombie

    Messages:
    104
    GitHub:
    esh123cookie
    Im not spamming links, im showing you that its either not possible or very difficult to make another item on a pocketmine server
     
    Levi likes this.
  11. esh123cookie

    esh123cookie Baby Zombie

    Messages:
    104
    GitHub:
    esh123cookie
    And since you claim to
    Exactly thats what I mean you can make another id for an item and add it to creative, but adding resource packs is the issue. Try it and let me know how it goes for you.
     
    Seeker likes this.
  12. esh123cookie

    esh123cookie Baby Zombie

    Messages:
    104
    GitHub:
    esh123cookie
    Methord B works, but you cannot add more items than there are in pocketmine
     
    Seeker likes this.
  13. esh123cookie

    esh123cookie Baby Zombie

    Messages:
    104
    GitHub:
    esh123cookie
    That what I meant, you cant add new items like in java. Only items which exist in normal mc can be modified
     
  14. esh123cookie

    esh123cookie Baby Zombie

    Messages:
    104
    GitHub:
    esh123cookie
    Well if you want i can add you to my previous file where i tried to create a custom item. Send your github user
     
  15. esh123cookie

    esh123cookie Baby Zombie

    Messages:
    104
    GitHub:
    esh123cookie
    Well then there is no point of continuing this thread we figured out that its not possible to make a new custom item (not already in normal mc).
     
  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.