User Tools

Site Tools


editing_voxels

**This is an old revision of the document!**

Programming::Editing Voxel Data

Peek types and what they mean

Name Arguments Return Throws Exceptions
world.peek() int x, int y, int z ChunkVoxelContext Yes
world.peek() Vector3dc location ChunkVoxelContext Yes
world.peekSafely() int x, int y, int z WorldVoxelContext No
world.peekSafely() Vector3dc location WorldVoxelContext No
world.peekSimple() int x, int y, int z Voxel No
world.peekRaw() int x, int y, int z int No
chunk.peek() int x, int y, int z ChunkVoxelContext No
chunk.peek() Vector3dc location ChunkVoxelContext No
chunk.peekSimple() int x, int y, int z Voxel No
chunk.peekRaw() int x, int y, int z int No

Poke types and what they mean

Name Arguments Return Triggers Updates Throws Exceptions
world.poke() x, y, z, voxel, sunlight, blocklight, metadata, cause VoxelContext Yes Yes
world.poke() futureVoxelContext, cause VoxelContext Yes Yes
world.pokeSimple() x, y, z, voxel, sunlight, blocklight, metadata void Yes No
world.pokeSimple() futureVoxelContext void Yes No
world.pokeSimpleSilently() x, y, z, voxel, sunlight, blocklight, metadata void No No
world.pokeSimpleSilently() futureVoxelContext void No No
world.pokeRaw() x, y, z, raw_data_bits void Yes No
world.pokeRawSilently() x, y, z, raw_data_bits void No No
editing_voxels.1516880068.txt.gz · Last modified: 2018/01/25 12:34 by gobrosse