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

BlockIds, ItemIds, block_id_map, item_id_map

Discussion in 'Help' started by MinekCz, Jan 3, 2021.

  1. MinekCz

    MinekCz Spider Jockey

    Messages:
    29
    Hello, I'm making my own "PocketMine clone"... I started with simple things... Then i tried to register custom block (lantern). Id of lantern is 463 but if i register it and run /give lantern it give me cooked salmon ://

    My question is 1) how BlockIds, ItemIds, Block_id_map, item_id_map works and how to use it
    2) Why some Block ids and Item ids are same
    3) Why lantern item id is -208
     
  2. Primus

    Primus Zombie Pigman

    Messages:
    749
    Hint: 463 - 208 = 255
     
    minijaham likes this.
  3. Moonafic

    Moonafic Silverfish

    Messages:
    24
    cause id 463 is already registered id in pmmp and its cooked salmon :/
     
  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.