Cuberite
A lightweight, fast and extensible game server for Minecraft
Public Attributes | List of all members
cRandomizedBlock Class Reference

Used to store block type, meta, weight and some more params. More...

#include <PieceModifier.h>

Public Attributes

int m_MaxMeta = -1
 Maximum meta to randomize. More...
 
int m_MaxNoiseMeta = 0
 Maximum meta in noise range. More...
 
int m_MinMeta = 0
 Minimum meta to randomize. More...
 
int m_MinNoiseMeta = 0
 Minimum meta in noise range. More...
 
BLOCKTYPE m_Type
 
int m_Weight
 

Detailed Description

Used to store block type, meta, weight and some more params.

Definition at line 25 of file PieceModifier.h.

Member Data Documentation

◆ m_MaxMeta

int cRandomizedBlock::m_MaxMeta = -1

Maximum meta to randomize.

Definition at line 36 of file PieceModifier.h.

◆ m_MaxNoiseMeta

int cRandomizedBlock::m_MaxNoiseMeta = 0

Maximum meta in noise range.

Definition at line 39 of file PieceModifier.h.

◆ m_MinMeta

int cRandomizedBlock::m_MinMeta = 0

Minimum meta to randomize.

Definition at line 33 of file PieceModifier.h.

◆ m_MinNoiseMeta

int cRandomizedBlock::m_MinNoiseMeta = 0

Minimum meta in noise range.

Definition at line 42 of file PieceModifier.h.

◆ m_Type

BLOCKTYPE cRandomizedBlock::m_Type

Definition at line 28 of file PieceModifier.h.

◆ m_Weight

int cRandomizedBlock::m_Weight

Definition at line 30 of file PieceModifier.h.


The documentation for this class was generated from the following file: