This project is still work in progress and is not fully documented yet (but most /help <command>
messages are pretty self-explanatory). Pico aims to support most building features found on server softwares such as MCGalaxy or LegendCraft. This includes:
-
Undoing
-
Copy/pasting
-
Repeating commands
-
Brushes
-
All basic drawing commands:
/Fill
,/Outline
,/Tree
, etc. -
Many convenient commands:
/Ascend
,/ReachDistance
,/Mark
, etc.
To install the plugin, move pico.dylib
(or .dll
or .so
) in the ClassiCube/plugins
directory.
Before compiling, clone the repository. You will also need to clone ClassiCube
for resolving header files.
git clone https://github.com/dflat2/pico.git
cd pico
git clone https://github.com/ClassiCube/ClassiCube --depth 1 --branch 1.3.6
You must have a C compiler installed (for example gcc, which can be installed with apt install build-essential
on Ubuntu). Then, run this command from the root directory of the repository:
gcc `find src/ -name '*.c'` -I. -I./src -o pico.so -shared -fPIC
You may need to add -lm
after find src/ -name
, as some object files require <math.h>
.
Run this command from the root directory of the repository.
gcc `find src/ -name '*.c'` -I. -I./src -o pico.dylib -shared -undefined dynamic_lookup
Note. If your Mac supports arm
and if you downloaded ClassiCube from https://classicube.net, you will probably need to append -arch x86_64
(otherwise it will compile for arm
and not work as the client is on x86_64
).
I did not test compiling on Windows yet. But you may follow the instructions documented in the ClassiCube repository: Using mingw-w64. Then for the compiling part:
gcc `find src/ -name '*.c'` -I. -I./src -o pico.dll -shared -L . -lClassiCube