## Added
- Support for Quilt mod loader.
- Soul torches and lanterns can extinguish when exposed to water.
- Items within the item tags `#torch_igniters`, `#lantern_igniters`, and `#campfire_igniters` that are _damageable_ will automatically be damaged by 1.
- Recipe to extinguish torches and lanterns with water bucket.
- Setting to enable/disable items extinguishing in players' inventories.
- Quiet flame sound when igniting torches, lanterns, etc.
- `#lantern_igniters` block tag. Lanterns can be ignited by right-clicking torches.
- Flint and steel as an ingredient for crafting lit torches. Damages flint and steel by 1 when used in crafting grid.
- Implemented `TotallyLitEntrypoint` for developers to register their own custom lit and unlit light sources (i.e., torches, lanterns, and jack o'lanterns) that then Totally Lit can automatically handle igniting, extinguishing, etc, for.
- Unlit jack o'lantern.
- Light sources no longer extinguish near villagers.
## Changed
- Adjust default burn duration for all light sources to 16,000 ticks to slightly increase the difficulty.
- Rewrite most of the code base to adopt the new system that supports third-party blocks, items, provided by other developers instead of hard-coded values.
- Simplified a lot of code.
- Migrate to datagen for loot tables and tags.
- Update README.
## Removed
- Hard-coded loot tables and tags.
- Most `Block` classes in the `block` package as they were no longer needed.
----
Developers can now add support for Totally Lit. First, implement `TotallyLitEntrypoint`:
```java
package your.example.mod;
import io.github.realguyman.totally_lit.api.TotallyLitEntrypoint;
public class ExampleModTotallyLitImpl implements TotallyLitEntrypoint {
@Override
public void buildMap() {
addTorch(ExampleModBlocks.TORCH, ExampleModBlocks.UNLIT_TORCH);
}
}
```
Then, register the `ExampleModTotallyLitImpl` entrypoint under `totally_lit` in your `fabric.mod.json`:
```json
{
// ...
"entrypoints": {
// ...
"totally_lit": [
"your.example.mod.ExampleModTotallyLitImpl"
]
}
// ...
}
```
Optional dependencies
Mod Menu
Any compatible version
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }