TwitchCraft is a Fabric mod that connects your Twitch chat directly to your Minecraft world.
### How it works
Viewers type commands in your Twitch chat to interact with your game in real time.
### Available commands
| Command | Effect |
|---|---|
| `!scava <number>` | Every block you break also breaks up to N nearby blocks of the same type |
| `!scava 0` / `!scava off` | Disables the chain-break effect |
| `!BOOM<number>` | Spawns N lit TNT around the player (max 50) |
| `!spawn<1-5>` | Spawns 1–5 random hostile mobs near the player |
| `!setimeday` / `!setimenight` | Sets the world time to day or night |
| `!gift` | Gives the player random ores (weighted by rarity) |
| `!setHP` | Sets player HP to a random value and blocks passive regen for 2 minutes |
| `!steal` | Steals a random item stack from the player's inventory |
| `!vision` | 50% Night Vision OR 50% Blindness + Slowness III for 2 minutes |
| `!helpmc` | Sends the viewer a Twitch whisper with the full command list |
### Requirements
- Minecraft 1.21.1
- Fabric Loader 0.15.11+
- Fabric API 0.116.11+
- A Twitch account + app credentials (see setup guide in the mod config file)
### Setup
On first launch the mod creates a config file at:
`<minecraft>/config/twitchminemod.properties`
Fill in your Twitch channel, username, Client ID and Client Secret (create a free app at https://dev.twitch.tv/console). The mod handles OAuth login and token refresh automatically.

