Need help with vanilla over ride drops and drops per lvl

Discussion in 'Support' started by Billy Stormes, Sep 14, 2018.

  1. Billy Stormes

    Billy Stormes New Member

    Joined:
    Oct 16, 2017
    Messages:
    7
    Likes Received:
    0
    Am trying to set up vanilla mob over rides with world scaleing leveling and want them to drop items per level. I can get them to drop from basic drops but the drops per lvl isnt working. Can this be done on vanilla mobs if so how?
     
    #1
  2. Omanoctoa

    Omanoctoa Active Member
    Supporter Premium Supporter

    Joined:
    Mar 10, 2016
    Messages:
    407
    Likes Received:
    36
    It is possible, yes, however I don't recommend doing it. I recommend creating a clone of the vanilla mob and give that mob scaled leveling and per-level drops. If you override the vanilla mob this can have negative side-effects later on, and overrides mob eggs, spawners and so on.

    To actually influence drops per level, simply use drop tables and give them the level condition
    Code:
    Conditions:
      level >3
    Drop Tables are the way to go :)
     
    #2
  3. Billy Stormes

    Billy Stormes New Member

    Joined:
    Oct 16, 2017
    Messages:
    7
    Likes Received:
    0
    Im not real experienced with doing these so can you explain how to do the conditions in drop table Ive tried it and cant get it to work.
     
    #3
  4. Omanoctoa

    Omanoctoa Active Member
    Supporter Premium Supporter

    Joined:
    Mar 10, 2016
    Messages:
    407
    Likes Received:
    36
    The example page for Drops is very old and has a lot of faults, and a broken example on the page that makes things very confusing. Here is a 'paperzombie' who by default has a chance to drop about 4 pieces of paper. With each 5 levels however, he has a 50% chance to drop 10 more paper (so up to 24 at level 10) as well as drop some books if level 15 or higher. However, this is a very advanced method and not necessary if you only want to increase the drops 1-to-1 per level.

    Notice the line is Caps, DropsPerLevel. For each level increase, the paperzombie has a 50% chance to drop one more gold nugget, on top of all the paper and the chance for more paper at 5, 10 and 15 levels. So at level 15, it would probably drop 15 nuggets!

    The paperzombie mob:
    Code:
    paperzombie:
      Type: zombie
      Health: 60
      LevelModifiers:
        Health: 5
        Damage: 0.5
      Drops:
      - exp 75-125 1
      - paper 1-4 0.3
      - drops_paperzombie_lvl_5
      - drops_paperzombie_lvl_10
      - drops_paperzombie_lvl_15
      DropsPerLevel:
      - GOLD_NUGGET 1 0.5
    
    The paperzombie's drop tables. Notice there are 3 of them each with a level condition (5-9, etc), this allows us to specify different drops for different levels. I used paper as an example

    Code:
    drops_paperzombie_lvl_5:
      Conditions:
      - inbiome ICE_PLAINS
      - playerwithin 20
      - level 5-9
      Drops:
      - paper 10 0.5
    drops_paperzombie_lvl_10:
      Conditions:
      - inbiome ICE_PLAINS
      - playerwithin 20
      - level 10-14
      Drops:
      - paper 10 0.5
    drops_paperzombie_lvl_15:
      Conditions:
      - inbiome ICE_PLAINS
      - playerwithin 20
      - level >15
      Drops:
      - book 4 0.5
    
    If all you want is to increase the mob's drops 1-to-1 for each level increase, this is what you want:
    Code:
      DropsPerLevel:
      - GOLD_NUGGET 1 0.5
     
    #4
  5. Billy Stormes

    Billy Stormes New Member

    Joined:
    Oct 16, 2017
    Messages:
    7
    Likes Received:
    0
    ok thanks and your right the manual is a little out dated and some of it is confuseing. I will try it this way I can make tables for every 3 lvls and just use it for all mobs plus their normal drops should work well. now to just figure out how to do skins for mobs and will be set.
     
    #5
  6. Omanoctoa

    Omanoctoa Active Member
    Supporter Premium Supporter

    Joined:
    Mar 10, 2016
    Messages:
    407
    Likes Received:
    36
    Look at the disguises page on the Manual. It requires lib's disguises to work and allows you to disguise mobs as players with set skins.
     
    #6
  7. Billy Stormes

    Billy Stormes New Member

    Joined:
    Oct 16, 2017
    Messages:
    7
    Likes Received:
    0
    thanks I finally got that figured out too using libs and BossSkins plugin took a bit to figure out but got it Is there a way to do like a drop table inside a drop table cause my mobs got to over lvl 100 and to have to put all those on everymob would take alot of room Is there a way to have 1 table that referances all the lvl drop tables so I just have to put like the main table on each mob?
    .
     
    #7
  8. Omanoctoa

    Omanoctoa Active Member
    Supporter Premium Supporter

    Joined:
    Mar 10, 2016
    Messages:
    407
    Likes Received:
    36
    Of course, though you will still need to make a few specific per-mob tables with the MythicMobType condition so creepers don't start dropping rotten flesh :D

    But yes, you can nest Drop Tables inside Drop Tables.
     
    #8

Share This Page