-
Notifications
You must be signed in to change notification settings - Fork 2
Home
You will need to install Fabric and Fabric API to use this mod.
After the installation the mod will already be in work with factory settings. You can modify the settings in "/.minecraft/config/WorldDays.json".
It is recommended to use Cloth Config API and Mod Menu to customize mod much more easily, but it is still possible to play without this mods.
- Open Mod Menu screen and find World Days entry. Then Press "Configure..." button to open Config screen provided by Cloth Config API.
- On the screen you will see two tabs, "General" and "Style". In "General" tab you can find this settings:
- Enable/Disable rendering of Day Counter text
- Count days from 0 or from 1
- Use your custom text or keep the standart localized "Day %d"
- If you prefer to use custom text, you need to input it in field "Custom Text To Use"
- Enable/Disable shadow under the text
- X and Y position of the text
- X and Y position of the shadow, relatively to the text
In the "Style" tab you can find this:
- Bold, Italic, Obfuscated, Strikethrough, Underline style of text.
- Text and Shadow colors in HEX code
- Alpha channel value, which controls the "transparency" of text
- Font size
- Custom Font Identifier. To use custom fonts, check out "Custom Fonts" chapter
- Go to "Options...", than "Video Settings...". You will see "World Days Config" button on top of the screen. Press it, and from there follow instruction above.
- Go to "Options...", than "Video Settings...". On the bottom of the screen you will see "Enable Text Rendering of Day Counter" button. By pressing on it, you can enable/disable the rendering of text from the mod.
- To customize more advanced settings, you will need to go to "/.minecraft/config/WorldDays.json" file and edit it by yourself. Then restart the game to apply changes.
To use your Custom Fonts in game, you will need to additionally install resourcepacks which contain TTF and OTF fonts. Check out custom resourcepack by me to see for yourself how they are constructed.
In the config you need to input the Identifier of chosen Font, which is provided by the Resourcepack you installed. In the example, to load chosen font we need to input the "minecraft:" namespace, and then the name of JSON which contains metadata about font: "minecraft:test"
Bear in mind, you might need to play with Font Size values in the resourcepack and config, because it might be hard to find good resolution. For custom fonts i recommend putting big values in the recourcepack Font Size, and then just make the rendering smaller in game via config.