Zarius / Bukkit-OtherBlocks

OtherBlocks (now known as OtherDrops) plugin for Bukkit (dev build: https://www.mediafire.com/?i6ows1g6kus2o0l)
http://dev.bukkit.org/server-mods/otherdrops/
GNU General Public License v3.0
17 stars 17 forks source link

[Bug] loc-randomise broken [Feature Request] dropspread: true alongside loc-randomise #215

Open clucky opened 11 years ago

clucky commented 11 years ago

While attempting to make a snow block place each snowball in a different location, I ran into an issue whereloc-randomise does not work at all. In addition to that, I was also curious if using dropspread: TRUE alongside loc-randomise: 3/3/3 will either place each of the 4 snowballs in a random location, or just spread out the 4 snowballs in the same random location. Here is the code I am attempting to work with:

otherdrops:
    SNOW_BLOCK:
      - tool: ANY
        drop: snowball/4
        dropspread: true
        loc-randomise: 3/3/3
Johnny2525 commented 11 years ago

Use This:

SNOW_BLOCK:

Zarius commented 11 years ago

I don't think dropspread: true does much these days as items like to clump together after they drop (part of normal minecraft).

Johnny's suggestion is good but a bit tricky to work with if you wanted more than a couple of items.

@clucky drop: snowball/4 should probably not be separately randomised but I'm thinking that using quantity: 4 along with the drop should probably randomise the location for each time.

Zarius commented 11 years ago

Nevermind - dropspread: true is still useful (and is the default action of OtherDrops) if you're dropping a large number of items the difference between it and dropspread: false is very apparent.

loc-randomise does seem broken though, will look into that.