Block Attributes
drop
This attribute defines the id, metadata and stack size of the items that the block does drop.
Examples
// Default value (ID is the block's id)
drop[0] = "ID:0 1";
// ...
drop[15] = "ID:15 1";
// Drops one block of oak wooden planks
drop[0] = "5";
// Drops one block of spruce wooden planks
drop[2] = "5:1";
// Drops two blocks of birch wooden planks
drop[4] = "5:2 2";
// Drops one to five blocks of jungle wooden planks
drop[6] = "5:3 1-5";
// Drops three blocks of a block whose id is in the config file
drop[8] = config.getBlockId("myBlockId") + " 3";
// Drops six blocks with metadata 5 of a block whose id is in the config file
drop[10] = config.getBlockId("myBlockId") + ":5 6";
// Drops 8 items of an item whose id is in the config file
drop[15] = config.getItemId("myItemId") + " 8";
// Drops one to five blocks of birch wooden planks and two jungle wooden planks drop[0] = "5:2 1-5, 5:3 2";
// The same as above but using aliases drop[5] = "birchPlanks 1-5, junglePlanks 2";
drop[0] = "ID:0 1";
// ...
drop[15] = "ID:15 1";
// Drops one block of oak wooden planks
drop[0] = "5";
// Drops one block of spruce wooden planks
drop[2] = "5:1";
// Drops two blocks of birch wooden planks
drop[4] = "5:2 2";
// Drops one to five blocks of jungle wooden planks
drop[6] = "5:3 1-5";
// Drops three blocks of a block whose id is in the config file
drop[8] = config.getBlockId("myBlockId") + " 3";
// Drops six blocks with metadata 5 of a block whose id is in the config file
drop[10] = config.getBlockId("myBlockId") + ":5 6";
// Drops 8 items of an item whose id is in the config file
drop[15] = config.getItemId("myItemId") + " 8";
// Drops one to five blocks of birch wooden planks and two jungle wooden planks drop[0] = "5:2 1-5, 5:3 2";
// The same as above but using aliases drop[5] = "birchPlanks 1-5, junglePlanks 2";