Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved Potions, Brewing, Enchanting and src folder loading

Comments in 'Plugin Development' started by Kvetinac97, Oct 16, 2015.

  1. Kvetinac97
    Offline

    Kvetinac97 Active Member Plugin Developer

    Joined:
    Nov 17, 2014
    Posts:
    276
    Plugins:
    1
    Minecraft User:
    Kvetinac97
    Hi.

    How can I import brewing stand ( + brewing + potions), enchanting table (+ enchanting) to creative menu?
  2. Devin5411
    Offline

    Devin5411 Active Member

    Joined:
    Oct 9, 2014
    Posts:
    113
    Minecraft User:
    MC_DevinYT
    Yeah I'd Like to know this also
  3. PocketKiller
    Offline

    PocketKiller Notable Member

    Joined:
    Jul 20, 2015
    Posts:
    741
    PHP:
    item::addCreativeItem(Item::get(/*id*/0));
    ;) just don't add Item::id because it will crash and it accepts an Item object ;)
    BTW : i tested it and it works perfectly.
  4. Muqsit
    Offline

    Muqsit Active Member

    Joined:
    Sep 9, 2015
    Posts:
    175
    Minecraft User:
    Muqsit
  5. PocketKiller
    Offline

    PocketKiller Notable Member

    Joined:
    Jul 20, 2015
    Posts:
    741
    Last edited: Oct 17, 2015
    Muqsit likes this.
  6. jojoe77777
    Offline

    jojoe77777 Notable Member Plugin Developer

    Joined:
    May 28, 2015
    Posts:
    653
    Plugins:
    1
    Minecraft User:
    jojoe77777
    Yes... it is. Screen Shot 2015-10-17 at 11.04.33 AM.png
    HotFireyDeath and zombie_Power like this.
  7. MCPEPIG
    Offline

    MCPEPIG Notable Member

    Joined:
    Jun 22, 2014
    Posts:
    349
    Minecraft User:
    MCPEPIG
    I think you mean "Is This Plugin Request section" :p
    HotFireyDeath likes this.
  8. Gamecrafter
    Offline

    Gamecrafter

    Joined:
    Nov 20, 2014
    Posts:
    978
    Plugins:
    9
    If he was asking for a plugin, don't you think this thread would be in the Plugin Requests section? Read the section title.
    Your Gamecrafter imitation is horrible. Try not to copy me, or else bad things will happen to you. ;) And yes, this is the Plugin Development section. You need to rest your eyes, you aren't seeing clearly. ;)
    Legoboy0215 likes this.
  9. deot
    Offline

    deot Active Member Plugin Developer

    Joined:
    Apr 22, 2015
    Posts:
    219
    Plugins:
    1
    Minecraft User:
    deot
    Hahahaha LOL... Style of @Gamecrafter

    I remember, last time i posted in wrong section, then Gamecrafter mentioned it, and drawn the attention of moderator... And last, i got punished for 1 warning listed in my profile.. *crying* :p :( Hahahaha xD

    *Sorry for off-topic, purely just sharing my experience xD
  10. Creeperface
    Offline

    Creeperface Notable Member Plugin Developer

    Joined:
    Nov 8, 2014
    Posts:
    1,346
    Plugins:
    4
    Minecraft User:
    CreeperFace
    but if you want to place it or brew potions you must add brewing Item, Tile, Block
    Legoboy0215 likes this.
  11. Muqsit
    Offline

    Muqsit Active Member

    Joined:
    Sep 9, 2015
    Posts:
    175
    Minecraft User:
    Muqsit
    It would be better if you wait for @shoghicp to add the Brewing Stands, Enchantment Table and Portions! Even if you try obtaining any of the 3, it will be totally useless!
  12. Creeperface
    Offline

    Creeperface Notable Member Plugin Developer

    Joined:
    Nov 8, 2014
    Posts:
    1,346
    Plugins:
    4
    Minecraft User:
    CreeperFace
    why? i can't wait too long. And if you know how to add it so why not?
  13. Muqsit
    Offline

    Muqsit Active Member

    Joined:
    Sep 9, 2015
    Posts:
    175
    Minecraft User:
    Muqsit
    The Brewing Stands and Enchantment Table's UI hasn't been done. It would be better if shoghi did it....or if someone could create a stable PR for it. Same for the potions!
  14. Kvetinac97
    Offline

    Kvetinac97 Active Member Plugin Developer

    Joined:
    Nov 17, 2014
    Posts:
    276
    Plugins:
    1
    Minecraft User:
    Kvetinac97
    Yep. I have added many items to creative with it, including brewing stand and enchanting table. However, PocketMine doesn't support experience, so I can't use it for enchanting (only as decoration block). I also tried to import brewing to PocketMine like @Creeperface did here , but i don't know how edit pocketmine source code. I tried to extract it and put the src folder to my server, but it can't be started...
    Taha_The_Hacker likes this.
  15. Kvetinac97
    Offline

    Kvetinac97 Active Member Plugin Developer

    Joined:
    Nov 17, 2014
    Posts:
    276
    Plugins:
    1
    Minecraft User:
    Kvetinac97
    Does somebody know how do it? Please!
  16. Creeperface
    Offline

    Creeperface Notable Member Plugin Developer

    Joined:
    Nov 8, 2014
    Posts:
    1,346
    Plugins:
    4
    Minecraft User:
    CreeperFace
    me :D and it is because FAKAHEDA supports phar format only :D
    Kvetinac97 likes this.
  17. Muqsit
    Offline

    Muqsit Active Member

    Joined:
    Sep 9, 2015
    Posts:
    175
    Minecraft User:
    Muqsit
    wait! You know how to add enchantment orbs?
  18. Creeperface
    Offline

    Creeperface Notable Member Plugin Developer

    Joined:
    Nov 8, 2014
    Posts:
    1,346
    Plugins:
    4
    Minecraft User:
    CreeperFace
    enchant orb is entity so you can add it like any other entity
    Muqsit likes this.
  19. Muqsit
    Offline

    Muqsit Active Member

    Joined:
    Sep 9, 2015
    Posts:
    175
    Minecraft User:
    Muqsit
    What's the entity ID?
  20. Creeperface
    Offline

    Creeperface Notable Member Plugin Developer

    Joined:
    Nov 8, 2014
    Posts:
    1,346
    Plugins:
    4
    Minecraft User:
    CreeperFace

Share This Page

Advertisement