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

Add new Block (Need more textured block)

Discussion in 'Plugin Help' started by benda95280, Jul 27, 2019.

  1. benda95280

    benda95280 Witch

    Messages:
    53
    GitHub:
    benda95280
    Hello,

    I'm looking for a way to add new block (Mainly need new textures), for a new project for a world / Adventure for my child.
    I've found some information here:
    https://forums.pmmp.io/threads/own-block.8243/#post-64934
    https://forums.pmmp.io/threads/how-to-create-a-new-object.999/

    I was not able to found example over GitHub or Forum, and tried by myself, without success.
    I was thinking to use Element block, and change texture, but it seems it doesn't work in Pocketmine ?
    I've try to use reverved6 Block, but not saved on world ...

    Is there anything possible that could be done by myself ?
    (My PHP level is sufficient, but Pocketmine structure and API, not so much knowledge ...)

    Thanks :)
     
  2. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    EnderXPs likes this.
  3. jasonwynn10

    jasonwynn10 Moderator Poggit Reviewer

    Messages:
    1,489
    GitHub:
    jasonwynn10
    There is no way to 'add' a new anything to minecraft yet with PocketMine. The most you can do currently is change an existing item or block.
     
    EdwardHamHam and HimbeersaftLP like this.
  4. benda95280

    benda95280 Witch

    Messages:
    53
    GitHub:
    benda95280
    Thanks, i've just saw that Pen replace a texture, and the pack is inside the plugin.
    I've open the McPack, i was thinking the manifest or other Json was needed to indicate the location or other thing (Like i've see in other pack).
    I can replace a block like that, juste create a folder (blocks instead of items) and put the file with the right name ?

    I will try to find unused block (That can be used ingame)

    @jasonwynn10:
    What about create a "customblock", no possibility to make a 'link' with a texture inside a pack ?

    EDIT: What's the name of the block Info_update ? (To replace the texture)
     
    Last edited: Jul 28, 2019
  5. gamegam

    gamegam Silverfish

    Messages:
    16
    GitHub:
    gamegam
    I want to know the source of low block import
     
  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.