[MECH] OtherDrops 2.8- Ultimate block/mob/player drop editing [1.5.2]

Discussion in 'Archived: Plugin Releases' started by Zarius, Jun 12, 2011.

  1. Offline

    Zarius

    [​IMG]


    Want to fix glass/stairs/boat drops? Want to gather ice/glowstone/grass in a balanced manner? Want to smelt ore with golden tools? Want to cause chaos with undead that rise again? Now you can, simply by enabling the included example files or delve into the more advanced customisation and make drops work the way you want.

    OtherBlocks aims to give you ultimate control over what item that blocks/entities drop when destroyed, depending on how they were destroyed. Compatible with WorldGuard. Lightweight! Only scans what it needs to and ignores the rest.
    Download: BukkitDev (download link on there) | Source Code

    Included Modules
    * Fix undroppables: fix drops for stairs, glass (don't use your hands - ouch), boats & bookshelves (1.8 stairs included)
    * Gold tools (basic): gold tools have a chance of dropping the complete block for grass, ice & glowstone.
    * Gold tools (smelt): gold tools have a chance of mining an ingot directly from ores.
    * Ore Extraction: using the usual tools, ingots are ripped out of ores, leaving the stone behind.
    * Leaf overhaul: adds leaf drops (apples, cocoa, leaves, sticks & a very small chance of golden apple).
    * Undead Chaos: beware the night! Zombies & skeletons rise again and even players rise back from the dead (player deaths spawn more zombies/skeletons).
    * and more...

    Custom Configuration Examples
    Code:
        # Simple glass drop fix
        GLASS:
          - drop: GLASS
     
        # Players drop Zombies on death, 50% of the time
        PLAYER:
          - drop: CREATURE_ZOMBIE
            chance: 50%
     
        # Spiders killed with any sword at night have a 10% chance to drop web,
        # otherwise they drop whatever they normally would
        CREATURE_SPIDER:
          - tool: ANY_SWORD
            time: NIGHT
            drop: WEB
            chance: 10%
     
        # Trees drop apples (or cocoa from birch trees)
        SPECIAL_LEAFDECAY@GENERIC:
          - drop: APPLE
            chance: 5%
        SPECIAL_LEAFDECAY@BIRCH:
          - drop: DYE@BROWN
            chance: 5%
    
    If you are getting errors with the word "snakeyaml" in it, your config file isn't properly formatted.
    Test it on this website (or this one).

    See the dev.bukkit page for full details on how to set up OtherDrops, a complete parameters list and further examples.


    Changelog

    Newest changelog details here.


    Main author: @Zarius
    Contributors: @Celtic Minstrel, raws
    Original author: @cyklo
     
  2. Offline

    Zarius

    That's odd... Can you post your configuration?
     
  3. Offline

    Tanite

    Tons of this in my console. Is this a spout conflict maybe?

    Show Spoiler
    Code:
    2011-09-29 18:46:22 [SEVERE] Could not pass event PLAYER_INTERACT to OtherDrops
    java.lang.NullPointerException
            at com.gmail.zariust.otherdrops.subject.BlockTarget.<init>(BlockTarget.java:43)
            at com.gmail.zariust.otherdrops.event.OccurredDropEvent.<init>(OccurredDropEvent.java:176)
            at com.gmail.zariust.otherdrops.listener.OdPlayerListener.onPlayerInteract(OdPlayerListener.java:40)
            at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:314)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:168)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:139)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:560)
            at net.minecraft.server.Packet15Place.a(SourceFile:57)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:500)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    


    cb1185/otherdrops 2.0b1/spout 381
     
  4. Offline

    Zarius

    Thanks for thar, looks like a new error, will look into it. Nothing to do with Spout though so don't worry about that.
     
  5. Offline

    Celtic Minstrel

    Uh, what? How on earth do we have a null block? :confused:

    EDIT: OH. Player interact with air. Didn't think of that. How should we deal with that; ignore it?
     
  6. Offline

    Zarius

    I was planning on ignoring it for now.
     
  7. Offline

    Celtic Minstrel

    Well, interacting with air is kinda out of the scope of this plugin, so that seems a reasonable policy. :)
     
  8. Offline

    Ed Marshall

    First of all, great mod.

    I have been running into one problem, however. When a player throws a tool on the ground and then picks it back up, it is fully repaired. Am I missing something in the config file, is this a known issue or what? I didn't read the entire thread, but a search of the thread got me nothing useful. (OtherDrops is the only plugin I am using)
     
  9. Offline

    Celtic Minstrel

    That can't be anything to do with this plugin... it doesn't deal with dropping items from inventory and picking up items from the ground.
     
  10. Offline

    Kamilio

    Well what my original setup was, was basically the catballs config with just some small tweeks in percentages and junk. But now I just manually added time: [day,night] to every drop entity so it's good. Maybe I screwed something up, Idk :p

    Is it possible to add a chance % to the toolexcept?
    For example:
    I want Iron Ore to have a 40% chance of actually dropping, (Which Works), and when someone breaks it with a Gold Pickaxe, they have a 80% of actually dropping.

    Code:
    IRON_ORE:
            - tool: ANY_PICKAXE
              toolexcept: GOLD_PICKAXE
              time: [DAY,NIGHT]
              drop: NOTHING
              chance: 60%
    
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 15, 2016
  11. Offline

    Celtic Minstrel

    You could try this.
    Code:
    IRON_ORE:
      - tool: ANY_PICKAXE
        time: [DAY, NIGHT]
        dropgroup: Iron Ore
        drops:
          - toolexcept: GOLD_PICKAXE
            drop: NOTHING
            chance: 60%
          - tool: GOLD_PICKAXE
            drop: NOTHING
            chance: 20%
     
  12. Offline

    Darkone003

    Leaf decay isn't working for me, heres my config, everything works but leaf decay, no errors or anything, decay just drops as if I hadn't done anything at all.

    Oh and boats don't work either but I'm sure that's something dumb on my part, I haven't had a chance to look at that yet. >.<

    Edit: Using Beta 6
     
  13. Offline

    Zarius

    I think the SPECIAL_LEAFDECAY tag broke in beta 6, I'll look into fixing it but in the meantime you can use:
    Code:
      LEAVES:
        - action: LEAF_DECAY
          drop: #whatever...
    
    Just got home from holidays and will be doing a bunch of testing and fixing this weekend so a new release fixing this shouldn't be far away.
     
    Darkone003 likes this.
  14. Offline

    Celtic Minstrel

    Actually you should probably switch to using that anyway, since SPECIAL_LEAFDECAY is deprecated and will probably be removed eventually.
     
    Darkone003 likes this.
  15. Offline

    Darkone003

    Alright that worked thanks guys!
     
  16. Offline

    grinch843

    @Zarius

    Any chance of getting a RANDOM drop option? Something like this,

    Code:
    CREATURE_SPIDER:
        -tool: GOLD_SWORD
         drop: RANDOM chance: 100%
         quantity: 1-5
    
    This would give you a chance to get 1 to 5 random dorps.

    Thanks,
    Grinch.....
     
  17. Offline

    Celtic Minstrel

    @grinch843 - I'm guessing what you want is for OtherDrops to choose a random item? That should be possible with ANY_ITEM, ANY_BLOCK, ANY_OBJECT, or ANY_CREATURE. I'm not sure if just ANY alone will work, but probably not.
     
  18. Offline

    Zarius

    @grinch843

    Or if you wanted your own list of random items:
    Code:
    alias:
      - &loot1 {APPLE, DIAMOND, DIRT, LEAVES, COW, GRASS, ICE, FENCE} # etc. - add any other random items here.
    
    otherdrops:
      GRASS:
        - drop: *loot1
          quantity: 1-5
    
    Though I'm not sure if currently they will choose 5 different random items from the list or drop 5 of the same item chosen at random from the list.
     
  19. Offline

    Celtic Minstrel

    What it does is runs the drop quantity times, and since selecting an item is part of running the drop, a different item could be chosen each time.
     
  20. Offline

    Zarius

    Cool, that's the way I was hoping :) Should work nice for making your own loot tables.
     
  21. Offline

    Celtic Minstrel

    I checked the code before posting just to make sure. ;)
     
  22. Offline

    ariennex

    Oi! You gave me a heart attack, leave for a few weeks, come back for updates, OtherBlocks, null search!? *panics!*
    I suppose OtherDrops is a slightly more fitting name, but it still gave me a scare! ^_^
     
  23. Offline

    Ed Marshall

    It's not something to do with dropping or picking up. I've tested it a little better. Essentially what is happening is that damage to tools caused by breaking blocks (damage to tools caused by killing mobs is permanent) is being negated when the item is moved from one slot to another. I just happened to only notice it when I dropped an item. The item can completely break, but be invisible. When the invisible item is moved, it repairs all damage. Dropping the item and picking it back up does the same, as does swapping it out of a slot with another item.

    Is this something I can fix in my config with the damagetool entry?

    Here is some fraps of what is happening:
    http://www.youtube.com/watch?v=jXbA0nqrvOo

    I can post my config if you like. Thanks in advance for any help you can give.
     
  24. Offline

    Celtic Minstrel

    Ah, you're referring to client de-sync. I guess OtherDrops is cancelling tool damage somehow. That's not supposed to happen, though. I'll take a look. Does it happen for all blocks or only some blocks? Can you post your config?
     
  25. Offline

    Raycrash

    Code:
    2011-10-02 05:06:38 [WARNING] [OtherDrops:2.0-beta6] Error: unknown entity target (CraftFallingSand) - please let the developer know.
     
  26. Offline

    Celtic Minstrel

    @Raycrash – You're the second person to report that. Do you have any idea what caused it?
     
  27. Offline

    Raycrash

    There was a player in creative mode who edited a lot. (gravel I think)
    Other then this I don't know, could other plugins cause this ?
     
  28. Offline

    Celtic Minstrel

    Probably not. I think the most likely cause would be clicking sand or gravel while it's falling, but I'm not sure.
     
  29. Offline

    Ed Marshall

    Code:
    otherdrops:
    
            GRASS:
                - tool: AIR
                  drop: DIRT
                  quantity: 1
                  chance: 5
                - tool: WOOD_SPADE
                  drop: DIRT
                  quantity: 1
                  chance: 10
                - tool: STONE_SPADE
                  drop: DIRT
                  quantity: 1
                  chance: 15
                - tool: IRON_SPADE
                  drop: DIRT
                  quantity: 1
                  chance: 20
                - tool: DIAMOND_SPADE
                  drop: DIRT
                  quantity: 1
                  chance: 25
                - tool: GOLD_SPADE
                  drop: DIRT
                  quantity: 1
                  chance: 50
                - tool: ANY
                  world: hcworld
                  drop: DIRT
                  quantity: 1
                  chance: 5
                - tool: ALL
                  world: hcworld
                  drop: AIR
                  quantity: 1
                  chance: 100
    
            DIRT:
                - tool: AIR
                  drop: DIRT
                  quantity: 1
                  chance: 5
                - tool: WOOD_SPADE
                  drop: DIRT
                  quantity: 1
                  chance: 10
                - tool: STONE_SPADE
                  drop: DIRT
                  quantity: 1
                  chance: 15
                - tool: IRON_SPADE
                  drop: DIRT
                  quantity: 1
                  chance: 20
                - tool: DIAMOND_SPADE
                  drop: DIRT
                  quantity: 1
                  chance: 25
                - tool: GOLD_SPADE
                  drop: DIRT
                  quantity: 1
                  chance: 50
                - tool: ANY
                  world: hcworld
                  drop: DIRT
                  quantity: 1
                  chance: 5
                - tool: ALL
                  world: hcworld
                  drop: AIR
                  quantity: 1
                  chance: 100
    
            NETHERRACK:
                - tool: AIR
                  drop: NETHERRACK
                  quantity: 1
                  chance: 5
                - tool: WOOD_SPADE
                  drop: NETHERRACK
                  quantity: 1
                  chance: 10
                - tool: STONE_SPADE
                  drop: NETHERRACK
                  quantity: 1
                  chance: 15
                - tool: IRON_SPADE
                  drop: NETHERRACK
                  quantity: 1
                  chance: 20
                - tool: DIAMOND_SPADE
                  drop: NETHERRACK
                  quantity: 1
                  chance: 25
                - tool: GOLD_SPADE
                  drop: NETHERRACK
                  quantity: 1
                  chance: 50
                - tool: ANY
                  world: hcworld
                  drop: NETHERRACK
                  quantity: 1
                  chance: 5
                - tool: ALL
                  world: hcworld
                  drop: AIR
                  quantity: 1
                  chance: 100
    
            SOUL_SAND:
                - tool: AIR
                  drop: SOUL_SAND
                  quantity: 1
                  chance: 5
                - tool: WOOD_SPADE
                  drop: SOUL_SAND
                  quantity: 1
                  chance: 10
                - tool: STONE_SPADE
                  drop: SOUL_SAND
                  quantity: 1
                  chance: 15
                - tool: IRON_SPADE
                  drop: SOUL_SAND
                  quantity: 1
                  chance: 20
                - tool: DIAMOND_SPADE
                  drop: SOUL_SAND
                  quantity: 1
                  chance: 25
                - tool: GOLD_SPADE
                  drop: SOUL_SAND
                  quantity: 1
                  chance: 50
                - tool: ANY
                  world: hcworld
                  drop: SOUL_SAND
                  quantity: 1
                  chance: 5
                - tool: ALL
                  world: hcworld
                  drop: AIR
                  quantity: 1
                  chance: 100
    
            GLOWSTONE:
                - tool: WOOD_PICKAXE
                  drop: GLOWSTONE_DUST
                  quantity: 1
                  chance: 10
                - tool: STONE_PICKAXE
                  drop: GLOWSTONE_DUST
                  quantity: 2
                  chance: 15
                - tool: IRON_PICKAXE
                  drop: GLOWSTONE_DUST
                  quantity: 3
                  chance: 20
                - tool: DIAMOND_PICKAXE
                  drop: GLOWSTONE_DUST
                  quantity: 4
                  chance: 25
                - tool: GOLD_PICKAXE
                  drop: GLOWSTONE_DUST
                  quantity: 4
                  chance: 50
                - tool: ALL
                  world: hcworld
                  drop: AIR
                  quantity: 1
                  chance: 100
    
            STONE:
                - tool: WOOD_PICKAXE
                  drop: COBBLESTONE
                  quantity: 1
                  chance: 5
                - tool: STONE_PICKAXE
                  drop: COBBLESTONE
                  quantity: 1
                  chance: 10
                - tool: IRON_PICKAXE
                  drop: COBBLESTONE
                  quantity: 1
                  chance: 15
                - tool: DIAMOND_PICKAXE
                  drop: COBBLESTONE
                  quantity: 1
                  chance: 25
                - tool: GOLD_PICKAXE
                  drop: STONE
                  quantity: 1
                  chance: 50
                - tool: ALL
                  world: hcworld
                  drop: AIR
                  quantity: 1
                  chance: 100
    
            BRICK:
                - tool: WOOD_PICKAXE
                  drop: BRICK
                  quantity: 1
                  chance: 5
                - tool: STONE_PICKAXE
                  drop: BRICK
                  quantity: 1
                  chance: 10
                - tool: IRON_PICKAXE
                  drop: BRICK
                  quantity: 1
                  chance: 15
                - tool: DIAMOND_PICKAXE
                  drop: BRICK
                  quantity: 1
                  chance: 25
                - tool: GOLD_PICKAXE
                  drop: BRICK
                  quantity: 1
                  chance: 50
                - tool: ALL
                  world: hcworld
                  drop: AIR
                  quantity: 1
                  chance: 100
    
            SANDSTONE:
                - tool: WOOD_PICKAXE
                  drop: SANDSTONE
                  quantity: 1
                  chance: 5
                - tool: STONE_PICKAXE
                  drop: SANDSTONE
                  quantity: 1
                  chance: 10
                - tool: IRON_PICKAXE
                  drop: SANDSTONE
                  quantity: 1
                  chance: 15
                - tool: DIAMOND_PICKAXE
                  drop: SANDSTONE
                  quantity: 1
                  chance: 25
                - tool: GOLD_PICKAXE
                  drop: SANDSTONE
                  quantity: 1
                  chance: 50
                - tool: ALL
                  world: hcworld
                  drop: AIR
                  quantity: 1
                  chance: 100
    
            COBBLESTONE:
                - tool: WOOD_PICKAXE
                  drop: COBBLESTONE
                  quantity: 1
                  chance: 5
                - tool: STONE_PICKAXE
                  drop: COBBLESTONE
                  quantity: 1
                  chance: 10
                - tool: IRON_PICKAXE
                  drop: COBBLESTONE
                  quantity: 1
                  chance: 15
                - tool: DIAMOND_PICKAXE
                  drop: COBBLESTONE
                  quantity: 1
                  chance: 25
                - tool: GOLD_PICKAXE
                  drop: COBBLESTONE
                  quantity: 1
                  chance: 50
                - tool: ALL
                  world: hcworld
                  drop: AIR
                  quantity: 1
                  chance: 100
    
            MOSSY_COBBLESTONE:
                - tool: WOOD_PICKAXE
                  drop: MOSSY_COBBLESTONE
                  quantity: 1
                  chance: 5
                - tool: STONE_PICKAXE
                  drop: MOSSY_COBBLESTONE
                  quantity: 1
                  chance: 10
                - tool: IRON_PICKAXE
                  drop: MOSSY_COBBLESTONE
                  quantity: 1
                  chance: 15
                - tool: DIAMOND_PICKAXE
                  drop: MOSSY_COBBLESTONE
                  quantity: 1
                  chance: 25
                - tool: GOLD_PICKAXE
                  drop: MOSSY_COBBLESTONE
                  quantity: 1
                  chance: 50
                - tool: ALL
                  world: hcworld
                  drop: AIR
                  quantity: 1
                  chance: 100
    
            OBSIDIAN:
                - tool: DIAMOND_PICKAXE
                  drop: OBSIDIAN
                  quantity: 1
                  chance: 25
                - tool: ALL
                  world: hcworld
                  drop: AIR
                  quantity: 1
                  chance: 100
    
            WOOD:
                - tool: AIR
                  drop: WOOD
                  quantity: 1
                  chance: 5
                - tool: WOOD_AXE
                  drop: WOOD
                  quantity: 1
                  chance: 10
                - tool: STONE_AXE
                  drop: LOG
                  quantity: 1
                  chance: 15
                - tool: IRON_AXE
                  drop: WOOD
                  quantity: 1
                  chance: 20
                - tool: DIAMOND_AXE
                  drop: WOOD
                  quantity: 1
                  chance: 25
                - tool: GOLD_AXE
                  drop: WOOD
                  quantity: 1
                  chance: 50
                - tool: ANY
                  world: hcworld
                  drop: WOOD
                  quantity: 1
                  chance: 5
                - tool: ALL
                  world: hcworld
                  drop: AIR
                  quantity: 1
                  chance: 100
    
            LOG@GENERIC:
                - tool: AIR
                  drop: LOG@GENERIC
                  quantity: 1
                  chance: 5
                - tool: WOOD_AXE
                  drop: LOG@GENERIC
                  quantity: 1
                  chance: 10
                - tool: STONE_AXE
                  drop: LOG@GENERIC
                  quantity: 1
                  chance: 15
                - tool: IRON_AXE
                  drop: LOG@GENERIC
                  quantity: 1
                  chance: 20
                - tool: DIAMOND_AXE
                  drop: LOG@GENERIC
                  quantity: 1
                  chance: 25
                - tool: GOLD_AXE
                  drop: LOG@GENERIC
                  quantity: 1
                  chance: 50
                - tool: ANY
                  world: hcworld
                  drop: LOG@GENERIC
                  quantity: 1
                  chance: 5
                - tool: ALL
                  world: hcworld
                  drop: AIR
                  quantity: 1
                  chance: 100
    
            LOG@BIRCH:
                - tool: AIR
                  drop: LOG@BIRCH
                  quantity: 1
                  chance: 5
                - tool: WOOD_AXE
                  drop: LOG@BIRCH
                  quantity: 1
                  chance: 10
                - tool: STONE_AXE
                  drop: LOG@BIRCH
                  quantity: 1
                  chance: 15
                - tool: IRON_AXE
                  drop: LOG@BIRCH
                  quantity: 1
                  chance: 20
                - tool: DIAMOND_AXE
                  drop: LOG@BIRCH
                  quantity: 1
                  chance: 25
                - tool: GOLD_AXE
                  drop: LOG@BIRCH
                  quantity: 1
                  chance: 50
                - tool: ANY
                  world: hcworld
                  drop: LOG@BIRCH
                  quantity: 1
                  chance: 5
                - tool: ALL
                  world: hcworld
                  drop: AIR
                  quantity: 1
                  chance: 100
    
            LOG@REDWOOD:
                - tool: AIR
                  drop: LOG@REDWOOD
                  quantity: 1
                  chance: 5
                - tool: WOOD_AXE
                  drop: LOG@REDWOOD
                  quantity: 1
                  chance: 10
                - tool: STONE_AXE
                  drop: LOG@REDWOOD
                  quantity: 1
                  chance: 15
                - tool: IRON_AXE
                  drop: LOG@REDWOOD
                  quantity: 1
                  chance: 20
                - tool: DIAMOND_AXE
                  drop: LOG@REDWOOD
                  quantity: 1
                  chance: 25
                - tool: GOLD_AXE
                  drop: LOG@REDWOOD
                  quantity: 1
                  chance: 50
                - tool: ANY
                  world: hcworld
                  drop: LOG@BIRCH
                  quantity: 1
                  chance: 5
                - tool: ALL
                  world: hcworld
                  drop: AIR
                  quantity: 1
                  chance: 100
    
            SAPLING:
                - tool: ANY_AXE
                  world: hcworld
                  drop: SAPLING
                  quantity: 5
                  chance: 5
                - tool: ALL
                  world: hcworld
                  drop: AIR
                  quantity: 1
                  chance: 100
    
            SAND:
                - tool: AIR
                  drop: SAND
                  quantity: 1
                  chance: 5
                - tool: WOOD_SPADE
                  drop: SAND
                  quantity: 1
                  chance: 10
                - tool: STONE_SPADE
                  drop: SAND
                  quantity: 1
                  chance: 15
                - tool: IRON_SPADE
                  drop: SAND
                  quantity: 1
                  chance: 20
                - tool: DIAMOND_SPADE
                  drop: SAND
                  quantity: 1
                  chance: 25
                - tool: GOLD_SPADE
                  drop: SAND
                  quantity: 1
                  chance: 50
                - tool: ANY
                  world: hcworld
                  drop: SAND
                  quantity: 1
                  chance: 5
                - tool: ALL
                  world: hcworld
                  drop: AIR
                  quantity: 1
                  chance: 100
    
            SNOW:
                - tool: AIR
                  drop: SNOW_BALL
                  quantity: 1
                  chance: 10
                - tool: WOOD_SPADE
                  drop: SNOW_BALL
                  quantity: 1-2
                  chance: 15
                - tool: STONE_SPADE
                  drop: SNOW_BALL
                  quantity: 1-3
                  chance: 25
                - tool: IRON_SPADE
                  drop: SNOW_BALL
                  quantity: 1-4
                  chance: 50
                - tool: DIAMOND_SPADE
                  drop: SNOW_BALL
                  quantity: 1-5
                  chance: 50
                - tool: GOLD_SPADE
                  drop: SNOW_BALL
                  quantity: 1-6
                  chance: 50
                - tool: ANY
                  world: hcworld
                  drop: SNOW_BALL
                  quantity: 1
                  chance: 5
                - tool: ALL
                  world: hcworld
                  drop: AIR
                  quantity: 1
                  chance: 100
    
            CLAY:
                - tool: WOOD_SPADE
                  drop: CLAY_BALL
                  quantity: 1
                  chance: 10
                - tool: STONE_SPADE
                  drop: CLAY_BALL
                  quantity: 1-2
                  chance: 15
                - tool: IRON_SPADE
                  drop: CLAY_BALL
                  quantity: 2-3
                  chance: 20
                - tool: DIAMOND_SPADE
                  drop: CLAY_BALL
                  quantity: 3-4
                  chance: 25
                - tool: GOLD_SPADE
                  drop: CLAY_BALL
                  quantity: 4
                  chance: 50
                - tool: ALL
                  world: hcworld
                  drop: AIR
                  quantity: 1
                  chance: 100
    
            SNOW_BLOCK:
                - tool: AIR
                  drop: SNOW_BALL
                  quantity: 1
                  chance: 5
                - tool: WOOD_SPADE
                  drop: SNOW_BALL
                  quantity: 1
                  chance: 10
                - tool: STONE_SPADE
                  drop: SNOW_BALL
                  quantity: 1
                  chance: 15
                - tool: IRON_SPADE
                  drop: SNOW_BALL
                  quantity: 1
                  chance: 20
                - tool: DIAMOND_SPADE
                  drop: SNOW_BALL
                  quantity: 1
                  chance: 25
                - tool: GOLD_SPADE
                  drop: SNOW_BALL
                  quantity: 1
                  chance: 50
                - tool: ANY
                  world: hcworld
                  drop: SNOW_BALL
                  quantity: 1
                  chance: 5
                - tool: ALL
                  world: hcworld
                  drop: AIR
                  quantity: 1
                  chance: 100
    
            GRAVEL:
                - tool: AIR
                  drop: GRAVEL
                  quantity: 1
                  chance: 5
                - tool: WOOD_SPADE
                  drop: GRAVEL
                  quantity: 1
                  chance: 10
                - tool: STONE_SPADE
                  drop: GRAVEL
                  quantity: 1
                  chance: 15
                - tool: IRON_SPADE
                  drop: GRAVEL
                  quantity: 1
                  chance: 20
                - tool: DIAMOND_SPADE
                  drop: GRAVEL
                  quantity: 1
                  chance: 25
                - tool: GOLD_SPADE
                  drop: GRAVEL
                  quantity: 1
                  chance: 50
                - tool: AIR
                  drop: FLINT
                  quantity: 1
                  chance: 1
                - tool: WOOD_SPADE
                  drop: FLINT
                  quantity: 1
                  chance: 2
                - tool: STONE_SPADE
                  drop: FLINT
                  quantity: 1
                  chance: 3
                - tool: IRON_SPADE
                  drop: FLINT
                  quantity: 1
                  chance: 4
                - tool: DIAMOND_SPADE
                  drop: FLINT
                  quantity: 1
                  chance: 5
                - tool: GOLD_SPADE
                  drop: FLINT
                  quantity: 1-2
                  chance: 10
                - tool: ANY
                  world: hcworld
                  drop: GRAVEL
                  quantity: 1
                  chance: 5
                - tool: ALL
                  world: hcworld
                  drop: AIR
                  quantity: 1
                  chance: 100
    
            GOLD_ORE:
                - tool: IRON_PICKAXE
                  drop: GOLD_ORE
                  quantity: 1
                  chance: 20
                - tool: DIAMOND_PICKAXE
                  drop: GOLD_ORE
                  quantity: 1
                  chance: 25
                - tool: GOLD_PICKAXE
                  drop: GOLD_ORE
                  quantity: 1
                  chance: 50
                - tool: ALL
                  world: hcworld
                  drop: AIR
                  quantity: 1
                  chance: 100
    
            DIAMOND_ORE:
                - tool: STONE_PICKAXE
                  drop: DIAMOND
                  quantity: 1
                  chance: 15
                - tool: IRON_PICKAXE
                  drop: DIAMOND
                  quantity: 1
                  chance: 20
                - tool: DIAMOND_PICKAXE
                  drop: DIAMOND
                  quantity: 1
                  chance: 25
                - tool: GOLD_PICKAXE
                  drop: DIAMOND
                  quantity: 1
                  chance: 50
                - tool: ALL
                  world: hcworld
                  drop: AIR
                  quantity: 1
                  chance: 100
    
            REDSTONE_ORE:
                - tool: IRON_PICKAXE
                  drop: REDSTONE
                  quantity: 1
                  chance: 20
                - tool: DIAMOND_PICKAXE
                  drop: REDSTONE
                  quantity: 2
                  chance: 25
                - tool: GOLD_PICKAXE
                  drop: REDSTONE
                  quantity: 3
                  chance: 50
                - tool: ALL
                  world: hcworld
                  drop: AIR
                  quantity: 1
                  chance: 100
    
            GLOWING_REDSTONE_ORE:
                - tool: IRON_PICKAXE
                  drop: REDSTONE
                  quantity: 1
                  chance: 20
                - tool: DIAMOND_PICKAXE
                  drop: REDSTONE
                  quantity: 2
                  chance: 25
                - tool: GOLD_PICKAXE
                  drop: REDSTONE
                  quantity: 3
                  chance: 50
                - tool: ALL
                  world: hcworld
                  drop: AIR
                  quantity: 1
                  chance: 100
    
            IRON_ORE:
                - tool: STONE_PICKAXE
                  drop: IRON_ORE
                  quantity: 1
                  chance: 15
                - tool: IRON_PICKAXE
                  drop: IRON_ORE
                  quantity: 1
                  chance: 20
                - tool: DIAMOND_PICKAXE
                  drop: IRON_ORE
                  quantity: 1
                  chance: 25
                - tool: GOLD_PICKAXE
                  drop: IRON_ORE
                  quantity: 1
                  chance: 50
                - tool: ALL
                  world: hcworld
                  drop: AIR
                  quantity: 1
                  chance: 100
    
            COAL_ORE:
                - tool: STONE_PICKAXE
                  drop: COAL
                  quantity: 1
                  chance: 10
                - tool: IRON_PICKAXE
                  drop: COAL
                  quantity: 1
                  chance: 15
                - tool: DIAMOND_PICKAXE
                  drop: COAL
                  quantity: 1
                  chance: 25
                - tool: GOLD_PICKAXE
                  drop: COAL
                  quantity: 1-2
                  chance: 50
                - tool: ALL
                  world: hcworld
                  drop: AIR
                  quantity: 1
                  chance: 100
    
            LEAVES:
                - tool: SHEARS
                  drop: LEAVES
                  quantity: 1
                  chance: 25
                - tool: SHEARS
                  drop: APPLE
                  quantity: 1
                  chance: 10
                - tool: SHEARS
                  drop: SAPLING
                  quantity: 1
                  chance: 5
                - tool: ALL
                  world: hcworld
                  drop: AIR
                  quantity: 1
                  chance: 100
    
            SPECIAL_LEAFDECAY:
                - tool: ANY
                  world: hcworld
                  drop: SAPLING
                  quantity: 1
                  chance: 1
                - tool: ALL
                  drop: AIR
                  quantity: 1
                  chance: 100
    
            LAPIS_ORE:
                - tool: STONE_PICKAXE
                  drop: DYE
                  color: BLUE
                  quantity: 2
                  chance: 15
                - tool: IRON_PICKAXE
                  drop: DYE
                  color: BLUE
                  quantity: 3
                  chance: 20
                - tool: DIAMOND_PICKAXE
                  drop: DYE
                  color: BLUE
                  quantity: 4
                  chance: 25
                - tool: GOLD_PICKAXE
                  drop: DYE
                  color: BLUE
                  quantity: 5
                  chance: 50
                - tool: ALL
                  world: hcworld
                  drop: AIR
                  quantity: 1
                  chance: 100
    
            RED_ROSE:
                - tool: AIR
                  drop: RED_ROSE
                  quantity: 1
                  chance: 5
                - tool: WOOD_HOE
                  drop: RED_ROSE
                  quantity: 1
                  chance: 10
                - tool: STONE_HOE
                  drop: RED_ROSE
                  quantity: 1
                  chance: 15
                - tool: IRON_HOE
                  drop: RED_ROSE
                  quantity: 1
                  chance: 20
                - tool: DIAMOND_HOE
                  drop: RED_ROSE
                  quantity: 1
                  chance: 25
                - tool: GOLD_HOE
                  drop: RED_ROSE
                  quantity: 1
                  chance: 50
                - tool: ANY
                  world: hcworld
                  drop: RED_ROSE
                  quantity: 1
                  chance: 5
                - tool: ALL
                  world: hcworld
                  drop: AIR
                  quantity: 1
                  chance: 100
    
            YELLOW_FLOWER:
                - tool: AIR
                  drop: YELLOW_FLOWER
                  quantity: 1
                  chance: 5
                - tool: WOOD_HOE
                  drop: YELLOW_FLOWER
                  quantity: 1
                  chance: 10
                - tool: STONE_HOE
                  drop: YELLOW_FLOWER
                  quantity: 1
                  chance: 15
                - tool: IRON_HOE
                  drop: YELLOW_FLOWER
                  quantity: 1
                  chance: 20
                - tool: DIAMOND_HOE
                  drop: YELLOW_FLOWER
                  quantity: 1
                  chance: 25
                - tool: GOLD_HOE
                  drop: YELLOW_FLOWER
                  quantity: 1
                  chance: 50
                - tool: ANY
                  world: hcworld
                  drop: YELLOW_FLOWER
                  quantity: 1
                  chance: 5
                - tool: ALL
                  world: hcworld
                  drop: AIR
                  quantity: 1
                  chance: 100
    
            RED_MUSHROOM:
                - tool: AIR
                  drop: RED_MUSHROOM
                  quantity: 1
                  chance: 5
                - tool: WOOD_HOE
                  drop: RED_MUSHROOM
                  quantity: 1
                  chance: 10
                - tool: STONE_HOE
                  drop: RED_MUSHROOM
                  quantity: 1
                  chance: 15
                - tool: IRON_HOE
                  drop: RED_MUSHROOM
                  quantity: 1
                  chance: 20
                - tool: DIAMOND_HOE
                  drop: RED_MUSHROOM
                  quantity: 1
                  chance: 25
                - tool: GOLD_HOE
                  drop: RED_MUSHROOM
                  quantity: 1
                  chance: 50
                - tool: WOOD_SPADE
                  drop: RED_MUSHROOM
                  quantity: 1
                  chance: 10
                - tool: STONE_SPADE
                  drop: RED_MUSHROOM
                  quantity: 1
                  chance: 15
                - tool: IRON_SPADE
                  drop: RED_MUSHROOM
                  quantity: 1
                  chance: 20
                - tool: DIAMOND_SPADE
                  drop: RED_MUSHROOM
                  quantity: 1
                  chance: 25
                - tool: GOLD_SPADE
                  drop: RED_MUSHROOM
                  quantity: 1
                  chance: 50
                - tool: ANY
                  world: hcworld
                  drop: RED_MUSHROOM
                  quantity: 1
                  chance: 5
                - tool: ALL
                  world: hcworld
                  drop: AIR
                  quantity: 1
                  chance: 100
    
            BROWN_MUSHROOM:
                - tool: AIR
                  drop: BROWN_MUSHROOM
                  quantity: 1
                  chance: 5
                - tool: WOOD_HOE
                  drop: BROWN_MUSHROOM
                  quantity: 1
                  chance: 10
                - tool: STONE_HOE
                  drop: BROWN_MUSHROOM
                  quantity: 1
                  chance: 15
                - tool: IRON_HOE
                  drop: BROWN_MUSHROOM
                  quantity: 1
                  chance: 20
                - tool: DIAMOND_HOE
                  drop: BROWN_MUSHROOM
                  quantity: 1
                  chance: 25
                - tool: GOLD_HOE
                  drop: BROWN_MUSHROOM
                  quantity: 1
                  chance: 50
                - tool: WOOD_SPADE
                  drop: BROWN_MUSHROOM
                  quantity: 1
                  chance: 10
                - tool: STONE_SPADE
                  drop: BROWN_MUSHROOM
                  quantity: 1
                  chance: 15
                - tool: IRON_SPADE
                  drop: BROWN_MUSHROOM
                  quantity: 1
                  chance: 20
                - tool: DIAMOND_SPADE
                  drop: BROWN_MUSHROOM
                  quantity: 1
                  chance: 25
                - tool: GOLD_SPADE
                  drop: BROWN_MUSHROOM
                  quantity: 1
                  chance: 50
                - tool: ANY
                  world: hcworld
                  drop: BROWN_MUSHROOM
                  quantity: 1
                  chance: 5
                - tool: ALL
                  world: hcworld
                  drop: AIR
                  quantity: 1
                  chance: 100
    
            CACTUS:
                - tool: WOOD_HOE
                  drop: CACTUS
                  quantity: 1
                  chance: 10
                - tool: STONE_HOE
                  drop: CACTUS
                  quantity: 1
                  chance: 15
                - tool: IRON_HOE
                  drop: CACTUS
                  quantity: 1
                  chance: 20
                - tool: DIAMOND_HOE
                  drop: CACTUS
                  quantity: 1
                  chance: 25
                - tool: GOLD_HOE
                  drop: CACTUS
                  quantity: 1
                  chance: 50
                - tool: ALL
                  world: hcworld
                  drop: AIR
                  quantity: 1
                  chance: 100
    
            SUGAR_CANE_BLOCK:
                - tool: WOOD_HOE
                  drop: SUGAR_CANE
                  quantity: 1
                  chance: 10
                - tool: STONE_HOE
                  drop: SUGAR_CANE
                  quantity: 1
                  chance: 15
                - tool: IRON_HOE
                  drop: SUGAR_CANE
                  quantity: 1
                  chance: 20
                - tool: DIAMOND_HOE
                  drop: SUGAR_CANE
                  quantity: 1
                  chance: 25
                - tool: GOLD_HOE
                  drop: SUGAR_CANE
                  quantity: 1
                  chance: 50
                - tool: ALL
                  world: hcworld
                  drop: AIR
                  quantity: 1
                  chance: 100
    
    
    I have tested nearly every block except those in the nether. It is happening with all of them. Tool damage from all mobs still works normally. Right-clicking on sheep with shears also damages the tool properly.

    There is a 30k character limit so I wasn't able to post my entire config. But, hopefully that's enough to find format errors if any.
     
  30. Offline

    Celtic Minstrel

    Hm. Does it happen in all worlds? Which world were you doing your testing in?

    Currently my suspicion is that it's related to 100% chances and/or AIR drops, though I'm not sure.
     
  31. Offline

    Ed Marshall

    It's happening in "hcworld". I will test it in another world.

    I use the 100% AIR drops to negate the default drops. Is there a better way to do that? Changed the AIR drops to 99%, no difference.

    Unmodified blocks behave normally as far as tool damage goes: Tested it on the giant mushroom blocks.
     

Share This Page