How to code all blocks Broken on a pickaxe.

Discussion in 'Plugin Help' started by Secretsilver313, Jun 6, 2020.

  1. Secretsilver313

    Secretsilver313 Silverfish

    Messages:
    17
    GitHub:
    secretsilver
    I was recently making a code in MCPE for blocks broken on pickaxes and it didnt work. I am hoping someone could give me a full code (not plugin) about how to get blocks mined on a lore
     
    Primus likes this.
  2. JviguyGamesYT

    JviguyGamesYT Slime

    Messages:
    86
    GitHub:
    jviguy
    So You Want It to Track How Many and What Types Of Blocks Have Been Mined By The Pickaxe and For it to be Put In The Items Lore. Or Do u Want The Pickaxe To Break A Certain Blocks Which Is Stated In The Lore.
     
    Primus likes this.
  3. Secretsilver313

    Secretsilver313 Silverfish

    Messages:
    17
    GitHub:
    secretsilver
    I want to track how many blocks have been mined with a certain pickaxe and put into a lore
     
  4. Heisenburger69

    Heisenburger69 Silverfish

    Messages:
    16
    GitHub:
    heisenburger69
    Create an a new NamedTag Entry on the pickaxe and use it to store the number of blocks broken. Increment that every time a block is broken. After that, you can update the items lore with the value on that tag
     
    Primus 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.