mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Tall Grass now drops Melon and Pumpkin seeds with a probability of 1/15
This commit is contained in:
parent
02150da862
commit
35119befd9
1 changed files with 6 additions and 0 deletions
|
|
@ -56,6 +56,12 @@ class TallGrassBlock extends FlowableBlock{
|
|||
if(mt_rand(1,15) === 1){//Beetroot Seeds
|
||||
$drops[] = array(BEETROOT_SEEDS, 0, 1);
|
||||
}
|
||||
if(mt_rand(1,20) === 1){//Melon Seeds
|
||||
$drops[] = array(MELON_SEEDS, 0, 1);
|
||||
}
|
||||
if(mt_rand(1,15) === 1){//Melon Seeds
|
||||
$drops[] = array(PUMPKIN_SEEDS, 0, 1);
|
||||
}
|
||||
return $drops;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue