summaryrefslogblamecommitdiffstats
path: root/src/Blocks/BlockHopper.h
blob: 91ad91bffcd967df49488bd2ddd73d40b67a6e13 (plain) (tree)
1
2
3
4
5
6
7
8
9




                                                                                       
                          


 
                                 
                                                                                                                                                                           
 
                                                                                                                                                                                   
 
       
 
                           
 
        
 
                                                                             



                               
   

// BlockHopper.h

// Declares the cBlockHopperHandler class representing the handler for the Hopper block

#include "Mixins/Mixins.h"



class cBlockHopperHandler final :
	public cClearMetaOnDrop<cMetaRotator<cBlockEntityHandler, 0x7, E_META_HOPPER_FACING_ZP, E_META_HOPPER_FACING_XM, E_META_HOPPER_FACING_ZM, E_META_HOPPER_FACING_XP>>
{
	using Super = cClearMetaOnDrop<cMetaRotator<cBlockEntityHandler, 0x7, E_META_HOPPER_FACING_ZP, E_META_HOPPER_FACING_XM, E_META_HOPPER_FACING_ZM, E_META_HOPPER_FACING_XP>>;

public:

	using Super::Super;

private:

	virtual ColourID GetMapBaseColourID(NIBBLETYPE a_Meta) const override
	{
		UNUSED(a_Meta);
		return 11;
	}
} ;