Seed placement

This commit is contained in:
Shoghi Cervantes Pueyo 2013-02-04 18:41:23 +01:00
parent 65280d85d1
commit a718294a08
6 changed files with 101 additions and 25 deletions

View file

@ -0,0 +1,33 @@
<?php
/*
-
/ \
/ \
/ PocketMine \
/ MP \
|\ @shoghicp /|
|. \ / .|
| .. \ / .. |
| .. | .. |
| .. | .. |
\ | /
\ | /
\ | /
\ | /
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
*/
class WheatSeedsItem extends Item{
public function __construct($meta = 0, $count = 1){
$this->block = BlockAPI::get(WHEAT_BLOCK);
parent::__construct(WHEAT_SEEDS, 0, $count, "Wheat Seeds");
}
}