API reference
The API reference for every package JSPrismarine publishes, generated from the TypeScript source and its doc comments. Pick a package for its classes, functions and types. Packages says what each one is for and links its README and npm page.
Every package is published under the @jsprismarine scope.
Server
The server itself, its console and the kernel that wires its modules.
Network and protocol
Packets, transports and sign-in, for a server or a client.
World
Terrain, decoration, light, storage and the systems that tick a world.
Gameplay
Blocks, items, entities, commands and the rules that make them vanilla.
- content
- blocks
- block-behaviors
- items
- item-behaviors
- entities
- entity-brains
- entity-goals
- recipes
- loot
- enchantments
- trading
- advancements
- commands
- brigadier
- mcfunction
- predicates
Data and formats
Game data, identifiers, packs, Molang and the file formats they use.
Utilities
Errors, logging and math shared by the other packages.