Overview
Minecraft Web Client supports advanced resource pack functionality including custom textures, GUI elements, block models, and server resource packs. You can install resource packs from ZIP files and customize almost every visual aspect of the game.Features
- Custom Textures: Block textures, item textures, and armor models
- Custom GUI: Replace UI elements with resource pack assets
- Block Models & Blockstates: Custom block models and states
- Server Resource Packs: Automatic download and installation from servers (with proper CORS)
- Multiple Namespaces: Support for custom namespaces beyond
minecraft:
Installing a Resource Pack
Prepare Your Resource Pack
Ensure your resource pack is in ZIP format and contains a
pack.mcmeta file at the root. The client will validate this file before installation.Install the Pack
Drag and drop the resource pack ZIP file into the browser window, or use the in-game menu to select a file.The installation process will:
- Validate the
pack.mcmetafile - Extract all files to the browser’s file system
- Process textures, models, and blockstates
- Update the atlas textures
Server Resource Packs
When joining a server that provides a resource pack, you’ll see a prompt to download and install it.Server Resource Pack Settings
Configure how the client handles server resource packs in Settings:- Prompt (default): Ask before downloading
- Always: Automatically download and install
- Never: Reject all server resource packs
Converting Server Resource Pack to User Pack
You can save a server-provided resource pack permanently:/resourcepack/ to /data/resourcePacks/my-pack-name/ and enables it as a regular user resource pack.
Technical Details
Resource Pack Structure
The client supports the standard Minecraft resource pack format:Installation Path
Resource packs are installed to:- User packs:
/data/resourcePacks/{name}/ - Server packs:
/resourcepack/
Texture Processing
During installation (fromsrc/resourcePack.ts:210-309):
Advanced Usage
Checking Active Resource Pack
Reloading Resource Pack
Uninstalling Resource Pack
Supported Features
Block Textures
Custom textures for all blocks with namespace support
Item Textures
Custom item textures and models
Custom Models
Block models, item models, and custom model data
Blockstates
Custom blockstate definitions
Troubleshooting
Resource Pack Not Loading
- Ensure the ZIP file contains
pack.mcmetaat the root - Check browser console for errors
- Verify textures are in PNG format
- Confirm file paths match Minecraft conventions
Server Resource Pack CORS Error
If you see a CORS error when downloading a server resource pack:Performance Issues
Large resource packs may cause slowdowns during installation. The client:- Processes all textures on installation
- Creates atlas textures for blocks and items
- Stores data in browser file system (RAM)
On iOS, there’s a ~300 MB file limit for resource packs stored in memory.
Related Settings
Fromsrc/defaultOptions.ts:46-48:
See Also
- Settings - Configure resource pack options
- Customization - UI customization options
