PocketMine-MP  1.4 - API 1.10.0
 All Classes Namespaces Functions Variables Pages
Fuel.php
1 <?php
2 
3 /*
4  *
5  * ____ _ _ __ __ _ __ __ ____
6  * | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
7  * | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
8  * | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
9  * |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_|
10  *
11  * This program is free software: you can redistribute it and/or modify
12  * it under the terms of the GNU Lesser General Public License as published by
13  * the Free Software Foundation, either version 3 of the License, or
14  * (at your option) any later version.
15  *
16  * @author PocketMine Team
17  * @link http://www.pocketmine.net/
18  *
19  *
20 */
21 
22 namespace pocketmine\inventory;
23 
25 
26 //TODO: remove this
27 abstract class Fuel{
28  public static $duration = [
29  Item::COAL => 1600,
30  Item::COAL_BLOCK => 16000,
31  Item::TRUNK => 300,
32  Item::WOODEN_PLANKS => 300,
33  Item::SAPLING => 100,
34  Item::WOODEN_AXE => 200,
35  Item::WOODEN_PICKAXE => 200,
36  Item::WOODEN_SWORD => 200,
37  Item::WOODEN_SHOVEL => 200,
38  Item::WOODEN_HOE => 200,
39  Item::STICK => 100,
40  Item::FENCE => 300,
41  Item::FENCE_SPRUCE => 300,
42  Item::FENCE_BIRCH => 300,
43  Item::FENCE_JUNGLE => 300,
44  Item::FENCE_ACACIA => 300,
45  Item::FENCE_DARK_OAK => 300,
46  Item::FENCE_GATE => 300,
47  Item::FENCE_GATE_SPRUCE => 300,
48  Item::FENCE_GATE_BIRCH => 300,
49  Item::FENCE_GATE_JUNGLE => 300,
50  Item::FENCE_GATE_ACACIA => 300,
51  Item::FENCE_GATE_DARK_OAK => 300,
52  Item::WOODEN_STAIRS => 300,
53  Item::SPRUCE_WOOD_STAIRS => 300,
54  Item::BIRCH_WOOD_STAIRS => 300,
55  Item::JUNGLE_WOOD_STAIRS => 300,
56  Item::TRAPDOOR => 300,
57  Item::WORKBENCH => 300,
58  Item::BOOKSHELF => 300,
59  Item::CHEST => 300,
60  Item::BUCKET => 20000,
61  ];
62 
63 }