2013-07-29 11:13:03 +00:00
|
|
|
|
|
|
|
// BlockDropSpenser.h
|
|
|
|
|
|
|
|
// Declares the cBlockDropSpenserHandler class representing the BlockHandler for Dropper and Dispenser blocks
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2019-10-16 08:06:34 +00:00
|
|
|
#include "Mixins.h"
|
2013-08-05 08:43:43 +00:00
|
|
|
|
2013-07-29 11:13:03 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-10-05 10:27:14 +00:00
|
|
|
class cBlockDropSpenserHandler final :
|
2021-05-14 09:42:08 +00:00
|
|
|
public cDisplacementYawRotator<cClearMetaOnDrop<cBlockEntityHandler>, 0x07, 0x03, 0x04, 0x02, 0x05, 0x01, 0x00>
|
2013-07-29 11:13:03 +00:00
|
|
|
{
|
2021-05-14 09:42:08 +00:00
|
|
|
using Super = cDisplacementYawRotator<cClearMetaOnDrop<cBlockEntityHandler>, 0x07, 0x03, 0x04, 0x02, 0x05, 0x01, 0x00>;
|
2019-10-16 08:06:34 +00:00
|
|
|
|
2013-07-29 11:13:03 +00:00
|
|
|
public:
|
2019-10-16 08:06:34 +00:00
|
|
|
|
2020-09-20 13:50:52 +00:00
|
|
|
using Super::Super;
|
2019-10-16 08:06:34 +00:00
|
|
|
|
2020-09-20 13:50:52 +00:00
|
|
|
private:
|
2019-10-16 08:06:34 +00:00
|
|
|
|
2020-09-20 13:50:52 +00:00
|
|
|
virtual ColourID GetMapBaseColourID(NIBBLETYPE a_Meta) const override
|
2015-06-30 14:50:15 +00:00
|
|
|
{
|
|
|
|
UNUSED(a_Meta);
|
|
|
|
return 11;
|
|
|
|
}
|
2013-07-29 11:13:03 +00:00
|
|
|
} ;
|