scripting-libraries
Reusable libraries and utilities powering FoxyStar projects.
Overview
This repository contains a set of modular packages used to build and maintain FoxyStar content and systems. They are designed to be reusable, type-safe, and independent where possible.
Packages
@foxystar/core
Core primitives and utilities shared across the FoxyStar ecosystem.
@foxystar/math
A collection of math, geometry, and procedural utilities for simulations, games, and systems.
@foxystar/events
A lightweight decorator-based event system for working with event signals such as those from Minecraft: Bedrock Edition's Scripting API.
@foxystar/molang
A fast, extensible, and safe implementation of the Molang expression language.
@foxystar/patches
A lightweight, type-safe patching system for extending and modifying class behavior using decorators.
@foxystar/minecraft
Utilities and helpers for working with the @minecraft/server
Goals
- Build reusable and modular systems
- Keep packages small and focused
- Maintain strong type safety across the ecosystem
- Separate core logic from environment-specific implementations
Notes
- Packages are designed to be used independently where possible
- Some packages (like
@foxystar/events) integrate with external APIs - Lower-level packages (e.g.
core,math) aim to remain environment-agnostic