mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
Tall Grass can now drop Carrots, potatoes, beetroot seeds
This commit is contained in:
parent
2044269d86
commit
02150da862
1 changed files with 9 additions and 0 deletions
|
|
@ -47,6 +47,15 @@ class TallGrassBlock extends FlowableBlock{
|
|||
if(mt_rand(1,10) === 1){//Seeds
|
||||
$drops[] = array(WHEAT_SEEDS, 0, 1);
|
||||
}
|
||||
if(mt_rand(1,15) === 1){//Carrots
|
||||
$drops[] = array(CARROT, 0, 1);
|
||||
}
|
||||
if(mt_rand(1,15) === 1){//Potatoes
|
||||
$drops[] = array(POTATO, 0, 1);
|
||||
}
|
||||
if(mt_rand(1,15) === 1){//Beetroot Seeds
|
||||
$drops[] = array(BEETROOT_SEEDS, 0, 1);
|
||||
}
|
||||
return $drops;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue