English | Русский
Empty mod for Minecraft 1.12.2 with mixins support.
For building:
- JDK 1.8,
- Docker and Docker Compose.
For development:
- IntelliJ IDEA or Visual Studio Code.
-
Build modification:
./gradlew build
-
Build server image:
docker build --file docker/Server/Dockerfile --progress=plain --target final --tag mcforge1.12.2-empty-mod:latest .Or run build script from
docker/Server/folder in root of the repository.
-
Launch all tests:
./gradlew test
- Copy JAR files from
build/libs/tomods/folder of Minecraft.
-
Configure
.envandserver.propertiesfiles.See
.envandserver.propertiesexamples indocker/Server/folder. -
Run command to run server in container:
docker compose up -d
List of environment variables used by server container:
| Variable | Description |
|---|---|
IMAGE_REGISTRY |
Server image registry. |
IMAGE_TAG |
Server image tag. |
EULA |
Minecraft license agreement. |
SERVER_PORT |
Server port on the host. |
VOLUME_WORLD |
Path to world/ folder. |
VOLUME_CONFIG |
Path to config/ folder. |
VOLUME_REPORTS |
Path to crash-reports/ folder. |
VOLUME_PROPERTIES |
Path to server.properties config. |
Contents of this repository licensed under terms of the MIT license unless otherwise specified. See this file for details.