Cuberite
A lightweight, fast and extensible game server for Minecraft
Namespaces | Functions
DaylightSensorHandler.h File Reference
#include "World.h"
Include dependency graph for DaylightSensorHandler.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 DaylightSensorHandler
 

Functions

static void DaylightSensorHandler::ForValidSourcePositions (const cChunk &a_Chunk, Vector3i a_Position, BLOCKTYPE a_BlockType, NIBBLETYPE a_Meta, ForEachSourceCallback &Callback)
 
static PowerLevel DaylightSensorHandler::GetPowerDeliveredToPosition (const cChunk &a_Chunk, Vector3i a_Position, BLOCKTYPE a_BlockType, Vector3i a_QueryPosition, BLOCKTYPE a_QueryBlockType, bool IsLinked)
 
static PowerLevel DaylightSensorHandler::GetPowerLevel (const cChunk &a_Chunk, const Vector3i a_Position)
 
static void DaylightSensorHandler::Update (cChunk &a_Chunk, cChunk &CurrentlyTicking, Vector3i a_Position, BLOCKTYPE a_BlockType, NIBBLETYPE a_Meta, const PowerLevel Power)