Cuberite
A lightweight, fast and extensible game server for Minecraft
BlockBrewingStand.h
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #include "BlockEntity.h"
5 #include "Mixins.h"
6 
7 
8 
9 
10 
12  public cClearMetaOnDrop<cMetaRotator<cBlockEntityHandler, 0x07, 0x02, 0x05, 0x03, 0x04>>
13 {
15 
16 public:
17 
19  super(a_BlockType)
20  {
21  }
22 
23 
24 
25 
26 
27  virtual ColourID GetMapBaseColourID(NIBBLETYPE a_Meta) override
28  {
29  UNUSED(a_Meta);
30  return 6;
31  }
32 } ;
33 
34 
35 
36 
unsigned char BLOCKTYPE
The datatype used by blockdata.
Definition: ChunkDef.h:42
unsigned char NIBBLETYPE
The datatype used by nibbledata (meta, light, skylight)
Definition: ChunkDef.h:45
cBlockBrewingStandHandler(BLOCKTYPE a_BlockType)
#define UNUSED
Definition: Globals.h:152
Byte ColourID
Definition: Globals.h:118
Mixin to clear the block&#39;s meta value when converting to a pickup.
Definition: Mixins.h:55
virtual ColourID GetMapBaseColourID(NIBBLETYPE a_Meta) override
Returns the base colour ID of the block, as will be represented on a map, as per documentation: https...