Cuberite
A lightweight, fast and extensible game server for Minecraft
src
Blocks
BlockQuartz.h
Go to the documentation of this file.
1
2
#pragma once
3
4
#include "
BlockHandler.h
"
5
6
7
8
9
10
class
cBlockQuartzHandler
final :
11
public
cBlockHandler
12
{
13
using
Super
=
cBlockHandler
;
14
15
public
:
16
17
using
Super::Super;
18
19
private
:
20
21
virtual
ColourID
GetMapBaseColourID
(
NIBBLETYPE
a_Meta)
const override
22
{
23
UNUSED
(a_Meta);
24
return
8;
25
}
26
} ;
BlockHandler.h
NIBBLETYPE
unsigned char NIBBLETYPE
The datatype used by nibbledata (meta, light, skylight)
Definition:
ChunkDef.h:44
ColourID
Byte ColourID
Definition:
Globals.h:162
UNUSED
#define UNUSED
Definition:
Globals.h:72
cBlockHandler
Definition:
BlockHandler.h:26
cBlockHandler::cBlockHandler
constexpr cBlockHandler(BLOCKTYPE a_BlockType)
Definition:
BlockHandler.h:29
cBlockQuartzHandler
Definition:
BlockQuartz.h:12
cBlockQuartzHandler::GetMapBaseColourID
virtual ColourID GetMapBaseColourID(NIBBLETYPE a_Meta) const override
Returns the base colour ID of the block, as will be represented on a map, as per documentation: https...
Definition:
BlockQuartz.h:21
Generated on Fri Oct 25 2024 05:01:08 for Cuberite by
1.9.1