How do I add an item to drops? #42


  • Other
Open
  • CleetusChan created this issue Jul 31, 2019

    Please tell me how to add an item to drops i'm stupid I think.

  • CleetusChan added a tag Other Jul 31, 2019
  • MCGamer199 posted a comment Aug 8, 2019

    Hello!

    First of all, if you go to LuckyBlock/Drops folder and open any of the files that have their name starting with "lb" (let's say lb_0), you will see all drops that may spawn upon breaking lucky blocks with luck from 0 to 24.

    Assume you want to change the first listed drop (which is dirt by default) to a diamond sword. Under "Drop1" you will see a bunch of lines that are moved a little bit to the right. Those are the tags that decide what that particular drop will give (note that the name "Drop1" can be anything else).

     

    Now let's say you want your dropped item to be defined in some other file ("common.yml" in this case). Navigate to that folder, or create one yourself then open it. All what's left to do now is to delete everything under "item2" and "item3" (because you don't want the drop to give you multiple different items at the same time), and change "DIRT" to "DIAMOND_SWORD".

     

    I recommend spending some time reading through the files to get a better idea about how the whole thing works.


    Edited Aug 8, 2019

To post a comment, please login or register a new account.