mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-03 16:49:53 +00:00
Mushroom Stew and Beetroot Soup are no longer stackable
This commit is contained in:
parent
6e9b70c9cb
commit
7b9edffa47
@ -25,6 +25,8 @@ class Item{
|
|||||||
WHEAT_SEEDS => "WheatSeedsItem",
|
WHEAT_SEEDS => "WheatSeedsItem",
|
||||||
PUMPKIN_SEEDS => "PumpkinSeedsItem",
|
PUMPKIN_SEEDS => "PumpkinSeedsItem",
|
||||||
MELON_SEEDS => "MelonSeedsItem",
|
MELON_SEEDS => "MelonSeedsItem",
|
||||||
|
MUSHROOM_STEW => "MushroomStewItem",
|
||||||
|
BEETROOT_SOUP => "BeetrootSoupItem",
|
||||||
CARROT => "CarrotItem",
|
CARROT => "CarrotItem",
|
||||||
POTATO => "PotatoItem",
|
POTATO => "PotatoItem",
|
||||||
BEETROOT_SEEDS => "BeetrootSeedsItem",
|
BEETROOT_SEEDS => "BeetrootSeedsItem",
|
||||||
|
28
src/material/item/generic/BeetrootSoup.php
Normal file
28
src/material/item/generic/BeetrootSoup.php
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* ____ _ _ __ __ _ __ __ ____
|
||||||
|
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
|
||||||
|
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
|
||||||
|
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
|
||||||
|
* |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_|
|
||||||
|
*
|
||||||
|
* 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.
|
||||||
|
*
|
||||||
|
* @author PocketMine Team
|
||||||
|
* @link http://www.pocketmine.net/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
class BeetrootSoupItem extends Item{
|
||||||
|
public function __construct($meta = 0, $count = 1){
|
||||||
|
parent::__construct(BEETROOT_SOUP, 0, $count, "Beetroot Soup");
|
||||||
|
$this->maxStackSize = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
28
src/material/item/generic/MushroomStew.php
Normal file
28
src/material/item/generic/MushroomStew.php
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* ____ _ _ __ __ _ __ __ ____
|
||||||
|
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
|
||||||
|
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
|
||||||
|
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
|
||||||
|
* |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_|
|
||||||
|
*
|
||||||
|
* 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.
|
||||||
|
*
|
||||||
|
* @author PocketMine Team
|
||||||
|
* @link http://www.pocketmine.net/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
class MushroomStewItem extends Item{
|
||||||
|
public function __construct($meta = 0, $count = 1){
|
||||||
|
parent::__construct(MUSHROOM_STEW, 0, $count, "Mushroom Stew");
|
||||||
|
$this->maxStackSize = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user