Documentation ¶
Index ¶
- func ProcessLightUpdates()
- func QueueLightUpdate(w *World, c *chunk.Chunk, x, y, z int)
- type ChunkPos
- type Generator
- type Provider
- type World
- func (w *World) GetBlockLight(x, y, z int) int
- func (w *World) GetBlockState(x, y, z int) uint16
- func (w *World) GetChunk(x, z int) *chunk.Chunk
- func (w *World) GetSkyLight(x, y, z int) int
- func (w *World) LoadChunk(x, z int) *chunk.Chunk
- func (w *World) SetBlockLight(x, y, z int, light int)
- func (w *World) SetBlockState(x, y, z int, state uint16)
- func (w *World) SetSkyLight(x, y, z int, light int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type World ¶
type World struct { Provider Provider Generator Generator // contains filtered or unexported fields }
func (*World) GetBlockLight ¶
func (*World) GetBlockState ¶
func (*World) GetSkyLight ¶
func (*World) LoadChunk ¶
will load a new channel if not loaded already or generate a new one if does not exist at all
func (*World) SetBlockLight ¶
func (*World) SetBlockState ¶
func (*World) SetSkyLight ¶
Click to show internal directories.
Click to hide internal directories.