CraftBook icon indicating copy to clipboard operation
CraftBook copied to clipboard

More custom drop options

Open LadyCailinBot opened this issue 10 years ago • 1 comments

CRAFTBOOK-3078 - Reported by Nabawi.Azizul

Is it possible to make another drop depend on what you use?

For example : IronOre: block: "IRON_ORE" drops: CobblestoneExplosion: item: "COBBLESTONE:0" chance: 100 require: EXPLODE or CREEPER //environment effect Rock: item: "SNOW_BALL:0" chance: 30 require: HAND //either holding blocks or not IronOre: item: "IRON_ORE:0" chance: 100 require: tool_pickaxe //any pickaxe IronIngot: item: "IRON_INGOT:0" chance: 100 require: "DIAMOND_PICKAXE" //specific item (with meta support?) type: block append: false

"require:" is a command which items/blocks they can use in order to get the drop. It can use any items, blocks and event environment effect. If it's not using "require:", it can be earned in any way.

Well, if "require:" sounds silly, you can change it. I'm not the smart enough to think one.

Mini request, can you make decimal number for percentage?

LadyCailinBot avatar Nov 30 '14 05:11 LadyCailinBot

Comment by Nabawi.Azizul

Forgot to mention, this also can be done on entity (because sheep not dropping cooked beef when burnt to death)

LadyCailinBot avatar Dec 01 '14 10:12 LadyCailinBot