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 ChunkPosextensions for the Minecraft wire protocol.- difficulty
Difficulty— the difficulty level of the game.- direction
Direction,Axis, andAxisDirection— 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 likeminecraft: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.