OtherDrops

226k Downloads

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

clucky opened this issue ยท 3 comments

commented

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
commented

Use This:

SNOW_BLOCK:
- tool: ANY
drop: snowball
dropspread: true
loc-randomise: 3/3/3
- tool: ANY
drop: snowball
dropspread: true
loc-randomise: 3/3/3
- tool: ANY
drop: snowball
dropspread: true
loc-randomise: 3/3/3
- tool: ANY
drop: snowball
dropspread: true
loc-randomise: 3/3/3

commented

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.

commented

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.