Expand description
§Steel Utils
This crate contains a collection of utilities used by the Steel Minecraft server.
Re-exports§
pub use color::ArgbColor;pub use color::RgbColor;pub use direction::Direction;pub use downcast::Downcast;pub use downcast::DowncastType;pub use downcast::DowncastTypeKey;pub use downcast::ErasedType;pub use geometry::BlockLocalAabb;pub use geometry::BoundingBox;pub use geometry::WorldAabb;pub use rotation::Rotation;pub use types::BlockPos;pub use types::BlockStateId;pub use types::ChunkPos;pub use types::GlobalPos;pub use types::Identifier;pub use types::PackedBlockPos;pub use types::PackedChunkLocalXZ;pub use types::PackedChunkPos;pub use types::PackedSectionBlockPos;pub use types::PackedSectionPos;pub use types::SectionPos;pub use uuid_ext::UuidExt;
Modules§
- axis
- axis
- block_
util - Vanilla
BlockUtilhelpers. VanillaBlockUtilhelpers shared by gameplay systems. - climate
- Climate system for biome selection. Climate system for biome selection in world generation.
- codec
- This module contains various codecs for reading and writing data.
- color
- Packed RGB and ARGB colors. Packed color values used by Vanilla codecs and network payloads.
- direction
- Direction enum for the six cardinal directions. Direction enum representing the six cardinal directions in Minecraft.
- downcast
- Deterministic concrete-type downcasting for erased Steel objects. Deterministic concrete-type downcasting for erased Steel objects.
- entity_
events - front_
vec 🔒 - geometry
- Shared geometry primitives. Geometry primitives shared by registry data, physics, and world queries.
- hash
- CRC32C hashing for component validation. CRC32C hashing for component validation.
- java
- Java standard-library compatibility helpers. Java standard-library behavior used by vanilla parsing.
- locks
- A module for custom locks. Lock wrappers for debug checks and deadlock prevention.
- logger
- Utilities for Steel logging.
- nbt
- Vanilla-compatible NBT helpers. Vanilla-compatible NBT helpers.
- random
- This module contains utilities for random number generation.
- registry
- helpful tools for registry
- rotation
- Vanilla’s
Rotation— horizontal rotations around the Y axis. - saved_
data - Data saving helpers Per-world saved data storage.
- serial
- This module contains traits for serializing and deserializing data.
- text
- This module contains everything related to text components.
- threading
- Thread-count selection helpers.
- translations
- translations_
registry - types
- A module for common types.
- uuid_
ext - UUID extension trait for Minecraft NBT serialization. UUID extension trait for Minecraft-compatible NBT serialization.
- value_
providers - Vanilla-compatible value provider types (
VerticalAnchor,HeightProvider,FloatProvider). Vanilla-compatible value providers used by world generation and features. - version
Macros§
- chat
- A log macro for chat messages, provide first the player name, and then the format.
- command
- A log macro for commands, provide first the player name, and then the format.
- console
- A log macro for console input.
Structs§
- Front
Vec - Its like a vec but with reserveable front space.
Its meant for our packet serialization,
you can just put the len of the packet in front without reallocating
keep in mind that calling multiple
set_in_front()sets the data in reverse order compared toextend_from_slice()
Constants§
- MC_
VERSION - The Minecraft version this server supports.