Skip to main content

Crate oxidized_mc_types

Crate oxidized_mc_types 

Source
Expand description

Minecraft game types — BlockPos, SectionPos, Vec3, Aabb, Direction, ResourceLocation, GameType, and more.

Re-exports§

pub use aabb::Aabb;
pub use block_pos::BlockPos;
pub use chat_visibility::ChatVisibility;
pub use chunk_pos::ChunkPosExt;
pub use difficulty::Difficulty;
pub use direction::Axis;
pub use direction::AxisDirection;
pub use direction::Direction;
pub use game_type::GameType;
pub use humanoid_arm::HumanoidArm;
pub use particle_status::ParticleStatus;
pub use resource_location::ResourceLocation;
pub use section_pos::SectionPos;
pub use vec2::Vec2;
pub use vec3::Vec3;
pub use vec3i::Vec3i;

Modules§

aabb
Aabb — an immutable axis-aligned bounding box.
block_pos
BlockPos — an immutable block position in the world.
chat_visibility
ChatVisibility — controls which chat messages the client wants to see.
chunk_pos
ChunkPos extensions for the Minecraft wire protocol.
difficulty
Difficulty — the difficulty level of the game.
direction
Direction, Axis, and AxisDirection — cardinal directions in 3D space.
game_type
GameType — the game mode for a player.
humanoid_arm
HumanoidArm — which hand the player uses as their main hand.
particle_status
ParticleStatus — controls the particle rendering level on the client.
resource_location
ResourceLocation — a namespaced identifier like minecraft:stone.
section_pos
SectionPos — an immutable chunk section position (x, y, z).
vec2
Vec2 — an immutable 2D float vector.
vec3
Vec3 — an immutable double-precision 3D vector.
vec3i
Vec3i — an immutable integer 3D vector.