Expand description
This module contains everything related to text components.
Modules§
- nbt 🔒
- Vanilla-shaped text rendering for command-visible NBT values.
Structs§
- Display
Resolutor - A [
TextResolutor] for the console
Functions§
- command_
nbt_ component - Renders one NBT tag using vanilla’s command-component syntax highlighting.
- hash_
click_ 🔒fields - hash_
component_ 🔒as_ map - Hash this component as a map structure (for non-collapsible components).
- hash_
content_ 🔒fields - hash_
format_ 🔒fields - Hash the style fields into the provided entries list for map hashing.
Field names match Minecraft’s
Style.Serializer.MAP_CODEC. - hash_
hover_ 🔒fields