mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-08-20 09:57:09 +00:00
Stacked Doors & 3 Crafted
This commit is contained in:
parent
a195ac7172
commit
ce82c0bcf8
|
|
@ -15,7 +15,7 @@ using namespace std;
|
||||||
DoorItem::DoorItem(int id, Material *material) : Item(id)
|
DoorItem::DoorItem(int id, Material *material) : Item(id)
|
||||||
{
|
{
|
||||||
this->material = material;
|
this->material = material;
|
||||||
maxStackSize = 1;
|
maxStackSize = 64;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool DoorItem::useOn(shared_ptr<ItemInstance> instance, shared_ptr<Player> player, Level *level, int x, int y, int z, int face, float clickX, float clickY, float clickZ, bool bTestUseOnOnly)
|
bool DoorItem::useOn(shared_ptr<ItemInstance> instance, shared_ptr<Player> player, Level *level, int x, int y, int z, int face, float clickX, float clickY, float clickZ, bool bTestUseOnOnly)
|
||||||
|
|
|
||||||
|
|
@ -178,7 +178,7 @@ Recipes::Recipes()
|
||||||
L'#', Tile::mossyCobblestone,
|
L'#', Tile::mossyCobblestone,
|
||||||
L'S');
|
L'S');
|
||||||
|
|
||||||
addShapedRecipy(new ItemInstance(Item::door_wood, 1), //
|
addShapedRecipy(new ItemInstance(Item::door_wood, 3), //
|
||||||
L"sssctg",
|
L"sssctg",
|
||||||
L"##", //
|
L"##", //
|
||||||
L"##", //
|
L"##", //
|
||||||
|
|
@ -187,7 +187,7 @@ Recipes::Recipes()
|
||||||
L'#', Tile::wood,
|
L'#', Tile::wood,
|
||||||
L'S');
|
L'S');
|
||||||
|
|
||||||
addShapedRecipy(new ItemInstance(Item::door_iron, 1), //
|
addShapedRecipy(new ItemInstance(Item::door_iron, 3), //
|
||||||
L"ssscig",
|
L"ssscig",
|
||||||
L"##", //
|
L"##", //
|
||||||
L"##", //
|
L"##", //
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue