1
0
cuberite-2a/source/Blocks/BlockEnderchest.h
luksor111@gmail.com 8ca150b700 Added initial adventure mode support
Added missing Emerald crafting recipe
You get more fall damage when jumping
Torch no longer protects players from fall damage
Fixed Ender Chest drops

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1070 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-27 19:55:23 +00:00

29 lines
431 B
C++

#pragma once
#include "BlockHandler.h"
class cBlockEnderchestHandler :
public cBlockHandler
{
public:
cBlockEnderchestHandler(BLOCKTYPE a_BlockType)
: cBlockHandler(a_BlockType)
{
}
virtual void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_BlockMeta) override
{
//todo: Drop Ender Chest if using silk touch pickaxe
a_Pickups.push_back(cItem(E_BLOCK_OBSIDIAN, 8, 0));
}
} ;