# WheatToBread
A Minecraft PaperMC plugin that allows you to smelt wheat into bread using furnaces and smokers.
## Author
mituba4154
## Features
- Convert wheat to bread by smelting in furnaces and smokers
- Configurable on/off toggle
- Configurable bread output per wheat
- Admin command to reload configuration
## Compatibility
- **API:** PaperMC/Spigot API 1.20.1
- **Server Versions:** PaperMC 1.20.1 - 1.21.1
## Installation
1. Download the latest `WheatToBread.jar` from releases
2. Place the JAR file in your server's `plugins` folder
3. Restart your server or use a plugin manager to load it
4. Configure the plugin by editing `plugins/WheatToBread/config.yml`
## Configuration
The configuration file is located at `plugins/WheatToBread/config.yml`:
```yaml
# Enable or disable the wheat to bread conversion
enabled: true
# Number of bread items produced from one wheat
bread-count: 1
# Cooking time in ticks (20 ticks = 1 second)
cooking-time: 200
# Experience points given when smelting wheat to bread
exp: 0.0
```
### Options
- `enabled`: Set to `true` to enable wheat to bread conversion, `false` to disable (default: `true`)
- `bread-count`: Number of bread items produced from one wheat (default: `1`, minimum: `1`)
- `cooking-time`: Time in ticks for smelting to complete (default: `200`, minimum: `1`). 20 ticks = 1 second
- `exp`: Experience points awarded when smelting completes (default: `0.0`)
## Commands
| Command |
Description |
Permission |
/wtbreload |
Reload the plugin configuration |
wheattobread.admin |
## Permissions
| Permission |
Description |
Default |
wheattobread.admin |
Allows reloading the plugin configuration |
OP only |
## Usage
1. Place wheat in a furnace or smoker
2. Add fuel to start smelting
3. Wait for the wheat to smelt into bread
4. Collect your bread!