Skip to content

PickHaxe Command

Eric edited this page Nov 10, 2023 · 1 revision

The pickhaxe command is versatile and provides many utilities to assist in the development of Minecraft mods using Haxe.

Commands

help

Displays information on all available commands.

pickhaxe help

setup

Installs a script which associates the pickhaxe command with haxelib run pickhaxe, making use of the tool more convenient.

pickhaxe setup

init

Initializes a new sample project in the current folder.

pickhaxe init

template

Downloads an existing sample project from the PickHaxe Samples repository.

pickhaxe template --list
pickhaxe template madeinhaxe

build

Builds the PickHaxe project in the current folder into a development JAR.

pickhaxe build fabric 1.20.2
pickhaxe build forge 1.19.4 --clean --make

make

Makes the compiled PickHaxe development mod (as produced by build) into an obfuscated JAR for use in Minecraft.

pickhaxe build fabric 1.20.2
pickhaxe build forge 1.19.4 --clean --make

runClient

Performs a PickHaxe build to create a development JAR, then launches a development build of Minecraft which includes that mod.

pickhaxe runClient forge 1.20.2
pickhaxe runClient forge 1.20.2 --no-build

clean

Cleans the contents of the ./generated/ folder, to perform a new mod build from scratch.

pickhaxe clean

gradlew

Executes a specific Gradle task, with all the appropriate parameters to make the custom build.gradle script work. For use in development and debugging only.

pickhaxe gradlew fabric 1.20.2 processResources
Clone this wiki locally