promotional bannermobile promotional banner

xoxocraftNeoForge

XoxoCraft is a NeoForge Minecraft mod that integrates Twitch chat with interactive in-game commands and viewer-driven events
Back to Files

XoxoCraft 1.31.0

File namexoxocraft-1.31.0.jar
Uploader
AhristogattiAhristogatti
Uploaded
Jun 9, 2026
Downloads
7
Size
894.7 KB
Mod Loaders
NeoForge
File ID
8223842
Type
R
Release
Supported game versions
  • 1.21.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:xoxocraftneoforge-1551925:8223842"

Learn more about Curse Maven

What's new

What's New

  • Chat Mascot — a persistent tamed wolf that represents your Twitch chat. It follows the streamer, can never die, and shows its level in its name (🐾 Chat di <channel> (Lv.N)). The chat feeds it with the new !feedpet command (+1 XP each, cooldown 30s): on level-up everyone gets healed and a celebration title, and every 5 levels the channel earns +1 skip charge. From Lv.3 the mascot emits a passive aura (Regeneration I within 8 blocks), upgraded with Speed I at Lv.7 and Luck at Lv.15. Level/XP persist across restarts. !pet replies in Twitch chat with the current level and XP.
  • Native Twitch Predictions on events — the mod automatically opens a real Twitch Prediction 60 seconds before each auto-event starts (at the reveal countdown): "Evento: <name>" — VITTORIA ⭐ / SCONFITTA 💀, with a 60s betting window so the chat bets before the event, not during it. When the event ends the prediction is resolved automatically: VITTORIA if anyone reached the top reward tiers (skip charge / KeepInventory earned, plus the parkour 100+ tiers which are flagged explicitly); mascot-pet skip charges never count. For the PvP events (TNT Run, Last One Standing, King of the Hill) — where someone almost always wins — the question becomes "will the streamer win?" and resolves VITTORIA only if the host is among the winners. If the event never starts, the prediction is cancelled and points are refunded. /xoxocraft event <name> now also schedules the event with the same 60s countdown + prediction, instead of starting it instantly.
    • ⚠️ Requires the new OAuth scope channel:manage:predictions: existing users must re-authorize (clear twitch.access_token and twitch.refresh_token in the config and restart). Predictions also require the channel to be Twitch Affiliate/Partner. If unauthorized, the feature silently logs a warning and everything else keeps working.

Technical Changes

  • TwitchAPI: new createPrediction / resolvePrediction / cancelPrediction (Helix /predictions, JSON parsed manually in API ordering). TwitchIRCClient.getApi() static accessor.
  • Pet + prediction watcher logic extracted into tickPetAndPredictions(server) (64KB per-method bytecode limit). Pet state persisted in xoxocraft_persist.properties (pet.level, pet.xp, pet.uuid); the wolf is invulnerable (flag + damage-event guard) and teleports back when >30 blocks away or left in another dimension.

This mod has no additional files