Skip to content

Flatcase Splitting Settings (v1)

Endor H edited this page Sep 2, 2024 · 3 revisions

Important

You're reading documentation for v1 of the Smart Completion mod. To read about the flatcase splitting settings for the latest version of this mod, go here.

This mod uses a list of known words to split commands spelled in flatcase, found at the command_splitting.json file. This file must be located within a smart-completion folder inside your resource pack.

File structure

The structure of this file consists of 2 arrays:

  • words a list of words to find in commands (longer words are always preferred)
  • suffixes a list of suffixes to merge into found words if gaps are left between them (it's just a dumb feature, you may ignore this)

Additionally, a replace boolean key may be defined, if you wish to replace the lists defined by resource packs with lower priority, rather than add to them.

Example

{
  "replace": false,
  "words": [
    "mine",
    "craft"
  ]
}

You can also see how the default command_splitting.json file looks like.