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

How i can edit bedrockdata files?

Discussion in 'Development' started by Shoblav52, Aug 18, 2020.

  1. Shoblav52

    Shoblav52 Creeper

    Messages:
    4
    File "r12_to_current_block_map.bin"
    Or it's generated automatically?
     
  2. GodWeedZao

    GodWeedZao Zombie Pigman

    Messages:
    401
    GitHub:
    godweedzao
    its impossible to edit pmmp files
     
  3. Shoblav52

    Shoblav52 Creeper

    Messages:
    4
    Not impossible, to do that need nbt language pack, but where to get it, i don't know.
     
  4. Shoblav52

    Shoblav52 Creeper

    Messages:
    4
    I need to add block from minecraft to pmmp, but how add it in blockdata?
     
  5. GodWeedZao

    GodWeedZao Zombie Pigman

    Messages:
    401
    GitHub:
    godweedzao
    i asked some body, he said its impossible
    and i anwsred to you impossible. :L
     
  6. Shoblav52

    Shoblav52 Creeper

    Messages:
    4
    Yep, my mistake.
    Problem was in the pmmp block limit)
     
  7. GamakCZ

    GamakCZ Zombie Pigman

    Messages:
    598
    GitHub:
    GamakCZ
    It is possible with reflection classes. Here you can see an example.
     
  8. NTT

    NTT Zombie

    Messages:
    311
    GitHub:
    NTT1906
    Can you explain how it works?
     
    GodWeedZao likes this.
  9. GamakCZ

    GamakCZ Zombie Pigman

    Messages:
    598
    GitHub:
    GamakCZ
    Creeperface used it for replacing pocketmine block mapping with nukkit one. Because of using different palletes cause that some block are wrong texture. So he changed values loaded from two files in pocketmine. (vanilla/block_id_map.json and vanilla/r12_to_current_block_map.bin). How reflection classes works you can find on php documentation page.
     
    NTT likes this.
  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.