Theme

alex/beta-minecraft-rust

Minecraft Beta 1.7.3 Rewrite

BRANCH main
main
SNAPSHOT Draw terrain GPU-driven from packed per-section buffers with GPU occlusion culling, add a render distance slider (2-128) with a quad/disk shape, cut chunk bookkeeping at high render distances, and fix a light underflow at y=0
DOWNLOAD
Download file

root / crates / common / src / world / mod.rs

//! Block definitions, chunk storage and tile entities.

pub mod bed;
mod block;
pub mod chunk;
pub mod fluid;
pub mod light;
mod material;
pub mod redstone;
pub mod shape;
pub mod sky;
pub mod texture;
mod tile_entity;
pub mod weather;

pub use block::{Block, Layer, Properties, Shape, StepSound};
pub use chunk::{Chunk, ChunkPos};
pub use material::Material;
pub use tile_entity::{CHEST_SIZE, DISPENSER_SIZE, FURNACE_SIZE, TileEntity};