Eaglercraft uses EPK (Eaglercraft Package) files to bundle game assets — textures, sounds, models, and more. You can create a custom resource pack by editing assets in the repository and recompiling the EPK, then deploying it to your hosted client.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/lDEVinux/eaglercraft/llms.txt
Use this file to discover all available pages before exploring further.
What is an EPK File?
EPK is a compressed archive format specific to Eaglercraft. When the client loads, it fetchesassets.epk (the path configured in assetsURI) and unpacks all game assets from it. The archive contains:
- All block, item, and entity textures
- In-game sounds and music tracks
- Font, GUI, and other UI resources
- Miscellaneous game data files
lwjgl-rundir/resources/ by the epkcompiler/ tooling included in the repository.
Prerequisites
- Java must be installed. You can download it from java.com.
- A local copy of the Eaglercraft repository (clone or fork) that includes the
lwjgl-rundir/resources/folder with all source assets.
Editing Assets
Clone or copy the repository
Obtain a local copy of the Eaglercraft repository so you have access to the
lwjgl-rundir/resources/ source asset tree.Edit files in lwjgl-rundir/resources/
Modify textures (
.png), sounds (.mp3, .ogg), or any other files inside lwjgl-rundir/resources/. These are the source assets that will be packaged into the EPK.Navigate to the epkcompiler/ folder
Open a terminal (or File Explorer on Windows) and go to the
epkcompiler/ directory in the repository root.Deploying Your Resource Pack
Locate the compiled assets.epk
After compilation finishes, the updated archive is written to
javascript/assets.epk inside the repository.Copy assets.epk to your web server
Upload
javascript/assets.epk to your web server, replacing the existing assets.epk file that your hosted client currently serves.Asset Overrides (No EPK Recompile)
If you only need to replace a small number of files — most commonly music tracks — you can use theassetOverrides option in eaglercraftOpts to swap individual EPK paths for external URLs at runtime, without touching the EPK file at all.
index.html