> For the complete documentation index, see [llms.txt](https://trek-2.gitbook.io/trek/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://trek-2.gitbook.io/trek/faq.md).

# FAQ

<details>

<summary>How to confirm Trek is working?</summary>

As an op, type `/locate structure trek:`  in chat, it should suggest (autocomplete) structure names. You can also locate any structure with that command and tp to its coordinates.

</details>

<details>

<summary>How to disable certain structures?</summary>

To delete the structure do next steps:

1. Open .zip or .jar file with any archiver;
2. Go to `data/trek/worldgen/structure_set/<dimension>/<rarity>.json` ;
3. Just delete the instance of structure you want like that:

From

```
    {
      "structure": "trek:overworld/medium/all_abandoned",
      "weight": 1
    },
    {
      "structure": "trek:overworld/medium/base_1",
      "weight": 1
    },
    {
      "structure": "trek:overworld/medium/base_2",
      "weight": 1
    },
```

To

```
    {
      "structure": "trek:overworld/medium/all_abandoned",
      "weight": 1
    },
    {
      "structure": "trek:overworld/medium/base_2",
      "weight": 1
    },
```

4. Restart server or minecraft (or world in case of datapack).

</details>

<details>

<summary>How to decrease/increase structure spawn rate?</summary>

To make structure generation more/less spreaded do next steps:

1. Open .zip or .jar file with any archiver;
2. Go to `data/trek/worldgen/structure_set/<dimension>/<rarity>.json;`
3. Change values of parameters `spacing` and `separation` at the end of file.\
   To decrease generation rate - set higher values, to increase - set lower values. Don\`t set `separation` equal or higher than `spacing` , otherwise datapack will break;
4. Restart server or minecraft (or world in case of datapack).

Info for nerds from [wiki](https://minecraft.wiki/w/Structure_set):\
`spacing` - average distance between two neighboring generation attempts. Value between 0 and 4096 (inclusive).\
`separation` - minimum distance (in chunks) between two neighboring attempts. Value between 0 and 4096 (inclusive). Has to be strictly smaller than `spacing`. The maximum distance of two neighboring generation attempts is `2*spacing - separation`.

</details>

<details>

<summary>Is Trek compatible with &#x3C;modname>?</summary>

First of all check [Compatibilities](https://trek-2.gitbook.io/trek/compatibilities.md) page. If your mod is not presented here, define what your mod does and сorrelate it with one of the categories from [Compatibilities](https://trek-2.gitbook.io/trek/compatibilities.md) page. If you still not sure if it is compatible - feel free to ask in our [Discord server](https://discord.gg/tkyANZeXRN). There you can also suggest adding compatibility with your mod.

</details>

<details>

<summary>Is it safe to install/uninstall Trek to/from existing world?</summary>

* Installing Trek in existing world is safe. It will result in structures only generating in new chunks.
* Uninstalling is mostly safe too. It will stop structures from generating in new chunks. There may be some small bugs with existing structures, like unlooted chests will not contain any loot, but these bugs are unnoticable and will not corrupt your world.

</details>
