Skip to content

Latest commit

 

History

History
126 lines (91 loc) · 4.07 KB

File metadata and controls

126 lines (91 loc) · 4.07 KB

Skin3d Documentation

Welcome to the comprehensive documentation for skin3d - a high-performance JavaScript library for rendering interactive Minecraft player models in 3D.

Documentation Index

Getting Started

API Reference

  • API Reference - Complete API documentation with all classes and methods
  • Architecture - Library structure and design patterns

Advanced Topics

Development


Quick Links


What is Skin3d?

Skin3d is a powerful and easy-to-use library for displaying and animating Minecraft player models in web browsers. Built with Three.js and TypeScript, it provides:

Features:

  • Full support for Minecraft Java Edition skins (including HD 64x32 and 64x64)
  • Cape rendering with smooth physics simulation
  • Elytra (wings) support
  • Ear attachments rendering
  • Name tags with Minecraft font styling
  • 8 built-in animations (walking, running, flying, waving, etc.)
  • Orbit controls for camera interaction
  • Custom lighting and background support
  • Responsive and performance-optimized rendering
  • ESM and UMD bundle formats

Core Modules

Render

The main rendering engine that manages the 3D scene, camera, and lighting. Handles all WebGL rendering and provides the primary API for users.

Model

Contains all player model components:

  • SkinObject - Minecraft player skin mesh
  • CapeObject - Cape mesh with physics
  • ElytraObject - Wings mesh
  • EarsObject - Ear meshes
  • PlayerObject - Combined player model

Animation

Pre-built animation system with:

  • IdleAnimation - Standing still
  • WalkingAnimation - Walking motion
  • RunningAnimation - Running motion
  • FlyingAnimation - Flying/hovering
  • WaveAnimation - Waving hand
  • CrouchAnimation - Crouching pose
  • HitAnimation - Getting hit animation
  • FunctionAnimation - Custom animations

Nametag

Renders floating name tags above the player with customizable styling and Minecraft font support.


Recent Updates

Version 0.1.0 (December 2025)

Major Changes:

  • Modular Architecture: Refactored library structure for better code organization
  • 📦 New Export System: Improved module exports through centralized index.ts
  • 🎨 Enhanced Documentation: TypeDoc-generated API reference with material theme
  • 🧹 Dependency Cleanup: Removed unused polyfills, optimized production footprint

Files Updated:

  • Render.ts - Core rendering engine (replaces legacy skin3d.ts)
  • Model.ts - Player model and mesh management
  • Animation.ts - Animation system
  • Nametag.ts - Name tag rendering
  • index.ts - Main entry point

Browser Support

Skin3d requires a modern browser with WebGL support:

  • Chrome/Chromium 60+
  • Firefox 55+
  • Safari 11+
  • Edge 79+

Getting Help


License

Skin3d is released under the MIT License. See LICENSE for details.


Made with ❤️ by Cosmic-fi