mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Furnaces and Burning items
This commit is contained in:
52
src/recipes/FuelData.php
Normal file
52
src/recipes/FuelData.php
Normal file
@ -0,0 +1,52 @@
|
||||
<?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 FuelData{
|
||||
public static $duration = array(
|
||||
COAL => 80,
|
||||
TRUNK => 15,
|
||||
WOODEN_PLANKS => 15,
|
||||
SAPLING => 5,
|
||||
WOODEN_AXE => 10,
|
||||
WOODEN_PICKAXE => 10,
|
||||
WOODEN_SWORD => 10,
|
||||
WOODEN_SHOVEL => 10,
|
||||
WOODEN_HOE => 10,
|
||||
STICK => 5,
|
||||
FENCE => 15,
|
||||
FENCE_GATE => 15,
|
||||
WOODEN_STAIRS => 15,
|
||||
TRAPDOOR => 15,
|
||||
WORKBENCH => 15,
|
||||
BOOKSHELF => 15,
|
||||
CHEST => 15,
|
||||
LAVA_BUCKET => 1000,
|
||||
|
||||
);
|
||||
|
||||
}
|
46
src/recipes/SmeltingData.php
Normal file
46
src/recipes/SmeltingData.php
Normal file
@ -0,0 +1,46 @@
|
||||
<?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 SmeltingData{
|
||||
public static $product = array(
|
||||
COBBLESTONE => array(STONE, 0),
|
||||
SAND => array(GLASS, 0),
|
||||
TRUNK => array(COAL, 1), //Charcoal
|
||||
GOLD_ORE => array(GOLD_INGOT, 0),
|
||||
IRON_ORE => array(IRON_INGOT, 0),
|
||||
NETHERRACK => array(NETHER_BRICK, 0),
|
||||
RAW_PORKCHOP => array(COOKED_PORKCHOP, 0),
|
||||
CLAY => array(BRICK, 0),
|
||||
RAW_FISH => array(COOKED_FISH, 0),
|
||||
CACTUS => array(DYE, 2),
|
||||
RED_MUSHROOM => array(DYE, 1),
|
||||
RAW_BEEF => array(STEAK, 0),
|
||||
RAW_CHICKEN => array(COOKED_CHICKEN, 0),
|
||||
);
|
||||
|
||||
}
|
Reference in New Issue
Block a user