docs: update README

This commit is contained in:
Victor Westerlund 2026-03-13 20:01:42 +01:00
parent 9a405d902d
commit 3ae271fccd

View file

@ -24,26 +24,14 @@ execute unless std:out run return fail
**See the [function reference](#functions) for a full list of available functions**
# Installation
This is not a stand-alone datapack but is instead intended to be placed inside the `data/` directory of your own datapack. Clone this repository into the `data/` directory of your datapack.
Download the datapack as a zip from [the releases page](/vlw/mcfstd/releases) for the version that you require. Place the zip file directly into the `datapacks/` directory of your Minecraft world save directory.
```
git clonne http://codeberg.org/vlw/mcfstd
```
Enable this library in Minecraft by typing the following two commands
```mcfunction
reload
It is highly recommended that you rename the directory that contains this library after you clone it. This will prevent other datapacks that use this library from interfering with yours, and it also prevents your datapacks from interfering with theirs. This is important since other datapacks might use a version of this library that is not compatible with yours.
For example
datapack enable "file/mcfstd-X-X-X.zip" # Where X-X-X would be the version of the datapack
```
data/
mcfstd/
```
would become:
```
data/
std_my_datapack/
```
One that is done, reload your plugins with `/reload` and you should have access to mcfstd functions
# The standard output
This library contains a standard output that is used as an intermediary for arithmetic and comparison operations.