XoxoCraft 1.31.0
Curse Maven Snippet
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!feedpetcommand (+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.!petreplies 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 (cleartwitch.access_tokenandtwitch.refresh_tokenin 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.
- ⚠️ Requires the new OAuth scope
Technical Changes
TwitchAPI: newcreatePrediction/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 inxoxocraft_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

