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
-
Run command in root of the repository to build modification:
./gradlew build
-
Run command to build server image:
docker build --file docker/Server/Dockerfile --progress=plain --target final --tag mcforge1.12-emptymod:latest .
Or run build script from
docker/Server/
folder in root of the repository
-
Run command to launch all tests:
./gradlew test
- Copy JAR files from
build/libs/
tomods/
folder of Minecraft
-
Configure
.env
andserver.properties
filesSee
.env
andserver.properties
examples 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