跳到正文

SURVIVE A ROGUE AI

A mod for 26.2 Minecraft fabric where you survive an Artificial intelligence.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

SURVIVE THE ROGUE AI 🤖

This is survive the AI, it uses API calls to ask a AI how it would like to kill you today, and oh god does it really want to kill you.
In case you don’t believe me 😭

Magma, Lava, and Fire.

Anvils, Fire, and lava.

So as you can see from the images above, this AI is armed and dangerous.
How it works

Well first, it starts pretty simple. every 15seconds, it summons the api (it sounds quick but the api calls are cheap and semi-slow) we give the AI a list of blocks, and the API returns json, I used Gson from google to parse it, and split it up, then I proceeded to process the string to make it a real Block. I proceed to split a random area from the 3 blocks, and if its tnt KABOOM summon primed tnt, If its a falling block, it is placed 20 blocks above!
VERSION SPECIFICATIONS

Built for Fabric Loader 0.19.3, Fabric API 0.154.1+26.2, Java 25, Minecraft 26.2. The mod runs server-side logic, but it still works in singleplayer thanks to Minecraft’s integrated server.
How to use

HOW TO USE

There’s only one thing you need to make sure of: you MUST put your API key in a file called secrets.properties, located at instance root. Same place as mods/.

key=yourkeyhere

pick one: hackclub, openrouter, or groq

provider = openrouter

provider is optional. If you leave it out, it defaults to hackclub. You can ONLY choose one of these three:

hackclub
openrouter
groq

Each provider needs its own key. Get one here:

hackclub: https://ai.hackclub.com/dashboard (free, but only for people verified in hackclub’s ecosystem, https://identity.hackclub.com) Recommended!
openrouter: https://openrouter.ai/keys (billed per use)
groq: https://console.groq.com/keys (check their pricing)

hackclub and openrouter both run Qwen3 30B A3B. groq runs Qwen3.8 27B instead, which is a preview model, so Groq could remove it someday.

Tip: a line that starts with # is ignored, so you can comment out an old key when you switch providers.

常见问题

SURVIVE A ROGUE AI 支持哪些 Minecraft 版本?

SURVIVE A ROGUE AI 支持 Minecraft Java 版 26.2,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

SURVIVE A ROGUE AI 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分