🪰 Drosophila — Minecraft 中的真实果蝇大脑

一项先进的神经生物学模拟,将真实的雄性中枢神经系统 v1.0 生物果蝇(Drosophila melanogaster)连接组直接整合进 Minecraft。该连接组由 Janelia Research Campus、剑桥大学、MRC LMB 和 Google Research 联盟通过电子显微镜逐神经元映射而成,包含 13,000+ 个神经元和 5,000,000+ 个突触。
该模拟运行漏积分发放(LIF)生物物理神经网络模型。它控制 Minecraft 中的一个实体身体(蜜蜂),使其能够通过由 1,536 个小眼组成的复眼视觉感知、嗅闻空气中的气味分子、通过约翰斯顿氏器听到声波冲击和风,并体验疼痛、味觉和饥饿感。
🌟 愿景与理念
在审视现有的连接组实验和其他替代项目时,会出现两种常见的做法:
- 极端剪枝与动态丢失: 一些项目将约 1 GB 的生物数据集剪枝至 20–22 MB。我们认为,一个被大幅截肢的网络永远无法展现出真实的果蝇神经动力学或有机决策能力。我们的目标是在不妥协结构的情况下保留完整的生物连接组权重。
- 人工任务强制(加密货币交易 / 飞行飞机): 许多人试图使用外部强化学习(RL)迫使连接组模型去飞飞机或交易加密货币。这不是生物智能——这是标准的机器学习。任何通用的人工神经网络都可以针对加密货币进行训练。通过人工奖励和多巴胺覆盖来强迫果蝇完成任务,会破坏其生物真实性。
🎯 核心原则
我们的目的不是让果蝇接受人工任务的训练。我们提供真实的生物感官输入(1,536 小眼复眼光线追踪、嗅觉梯度扩散、气流、约翰斯顿氏器声波冲击、伤害感受器和饥饿感),并观察一个真实的拥有 13,000 个神经元的连接组如何在没有人工干扰的情况下,在一个 Minecraft 生态系统中生存、导航并对环境做出有机反应。
🔧 服务器插件配置 (config.yml)
插件首次启动时会创建 plugins/FruitFly/config.yml:
# 语言选择 ("en" 代表英语,"tr" 代表土耳其语,或在 languages/ 目录下自定义)
language: "en"
# Python 大脑 WebSocket 服务器 (监听 0.0.0.0)
brain:
port: 8765 # WebSocket 监听端口
auth-token: "drosophila_secret_token_123" # 共享安全密码 / 令牌
smart-sleep:
enabled: true # 当附近没有玩家时跳过重型感官光线追踪 (0% CPU)
player-distance: 48.0 # 玩家接近阈值(以方块为单位)
# 实体设置
bee:
auto-spawn: true # 在服务器启动和死亡时自动生成
display-name: "" # 自定义显示名称(留空则使用语言默认值)
invulnerable: false # 无敌模式开关
speed-multiplier: 1.0 # 飞行速度倍率
odor-range: 16.0 # 嗅觉感知半径(以方块为单位)
# 视觉系统
vision:
max-ray-range: 16.0 # 1,536 射线复眼光线追踪范围(以方块为单位)
🎮 游戏内指令
所有指令都需要 OP 权限 (drosophila.admin)。
命令别名:/fruitfly 或 /fluitfly
| 指令 |
描述 |
/fruitfly help |
显示所有可用指令列表 |
/fruitfly tp |
将你直接传送至果蝇所在位置 |
/fruitfly come |
召唤果蝇到你所在的位置 |
/fruitfly feed |
在果蝇面前掉落一个苹果 |
/fruitfly feed full |
立即使果蝇饱食(饱食度 → 20) |
/fruitfly hungry |
立即使果蝇饥饿(触发 dNPF 饥饿激素) |
/fruitfly spawnpoint |
将你当前位置设置为果蝇的永久家园 |
/fruitfly home |
将果蝇送回其家园出生点 |
/fruitfly status |
显示实时遥测数据(生命值、饱食度、气味、多巴胺情绪、朝向) |
/fruitfly clear |
将蘑菇体记忆缓存重置为基线连接组状态 |
紫色液滴 / 眼泪 (FALLING_OBSIDIAN_TEAR):
生物来源:Drosophila 大脑中的 PPL1 多巴胺能神经元集群(惩罚、疼痛、危险、负向强化)。
含义是什么?:这表明果蝇感到不快乐、饥饿、被困或处于痛苦中。当果蝇挨饿(食物等级 < 5.0)、撞墙、接触水面临溺水风险或被留在黑暗中时,PPL1 神经元会被刺激(悲伤模式),悲伤的紫色液滴会从果蝇眼中落下。
红心 (HEART):
生物来源:Drosophila 大脑中的 PAM 多巴胺能神经元集群(糖分奖励、饱食、正向强化)。
含义是什么?:当果蝇在地面上吃苹果、尝到糖味或完全饱食时,PAM 神经元会放电(快乐进食模式),此时会出现红心。
黑墨 / 逃跑烟雾 (SQUID_INK):
生物来源:Drosophila 著名的巨型神经元(Giant Fiber / DNp01)。
含义是什么?:当僵尸、苦力怕或玩家突然快速接近果蝇(视觉逼近/ looming)或受到攻击时,果蝇会执行突然的逃跑跳跃(沙格跳跃),并留下黑色的逃跑烟雾(恐惧模式)。
绿色火花 (HAPPY_VILLAGER):
当果蝇从瓶中释放出来或轻轻停在树叶上休息的瞬间出现。
红线 / 伤害 (DAMAGE_INDICATOR):
表示果蝇正在受到物理伤害。
⚠️ 重要提示
由于它运行实际的 AI 模型,你需要安装 Python 3.10+ 并且必须单独下载模型:
它无需在与服务器相同的机器上运行;它通过 WebSocket 进行操作。
🪰 Drosophila — Real Fruit Fly Brain in Minecraft

An advanced neurobiological simulation that integrates the real MaleCNS v1.0 biological fruit fly (Drosophila melanogaster) connectome—electron-microscopy mapped neuron-by-neuron by the Janelia Research Campus, University of Cambridge, MRC LMB, and Google Research consortium, containing 13,000+ neurons and 5,000,000+ synapses—directly into Minecraft.
The simulation runs a Leaky Integrate-and-Fire (LIF) biophysical neural model. It commands a physical body (Bee) within Minecraft; seeing through 1,536-ommatidia compound eyes, smelling airborne odor molecules, hearing acoustic shocks and wind via Johnston's organ, and experiencing pain, taste, and hunger.
🌟 Vision and Philosophy
When examining existing connectome experiments and alternative projects, two common approaches emerge:
- Extreme Pruning and Dynamic Loss: Some projects prune the ~1 GB biological dataset down to 20–22 MB. We believe a drastically amputated network can never exhibit genuine fruit fly neurodynamics or organic decision-making. Our goal is to preserve the full biological connectome weights without structural compromise.
- Artificial Task Forcing (Crypto Trading / Flying Airplanes): Many try to force connectome models to fly airplanes or trade cryptocurrency using external reinforcement learning (RL). That is not biological intelligence—it is standard machine learning. Any generic artificial neural network can be trained on crypto. Forcing a fruit fly through artificial rewards and dopamine overrides destroys its biological authenticity.
🎯 Core Principle
Our purpose is not to train the fly on artificial tasks. We provide authentic biological sensory inputs (1,536 compound eye raytracing, olfactory gradient diffusion, air currents, Johnston's organ acoustic shocks, nociception, and hunger) and observe how an authentic 13,000-neuron connectome survives, navigates, and reacts organically in a Minecraft ecosystem without artificial interference.
🔧 Server Plugin Configuration (config.yml)
The plugin creates plugins/FruitFly/config.yml on first launch:
# Language selection ("en" for English, "tr" for Turkish, or custom in languages/)
language: "en"
# Python Brain WebSocket Server (listens on 0.0.0.0)
brain:
port: 8765 # WebSocket listening port
auth-token: "drosophila_secret_token_123" # Shared security password / token
smart-sleep:
enabled: true # Skips heavy sensory raytracing when no players are nearby (0% CPU)
player-distance: 48.0 # Player proximity threshold in blocks
# Entity Settings
bee:
auto-spawn: true # Spawns automatically on server start and on death
display-name: "" # Custom display name (leave empty for language default)
invulnerable: false # God mode toggle
speed-multiplier: 1.0 # Flight speed multiplier
odor-range: 16.0 # Olfactory perception radius in blocks
# Vision System
vision:
max-ray-range: 16.0 # 1,536-ray compound eye raytracing range in blocks
🎮 In-Game Commands
All commands require OP permission (drosophila.admin).
Command Alias: /fruitfly or /fluitfly
| Command |
Description |
/fruitfly help |
Displays list of all available commands |
/fruitfly tp |
Teleports you directly to the fruit fly |
/fruitfly come |
Summons the fruit fly to your position |
/fruitfly feed |
Drops an apple in front of the fruit fly |
/fruitfly feed full |
Instantly satiates the fly (Satiety level → 20) |
/fruitfly hungry |
Instantly starves the fly (Triggers dNPF hunger hormone) |
/fruitfly spawnpoint |
Sets your current location as the fly's permanent home |
/fruitfly home |
Sends the fly back to its home spawnpoint |
/fruitfly status |
Shows real-time telemetry (health, satiety, odor, dopamine mood, heading) |
/fruitfly clear |
Resets Mushroom Body memory cache back to baseline connectome |
Purple Droplets / Tears (FALLING_OBSIDIAN_TEAR):
Biological Source: The PPL1 dopaminergic neuron cluster in the Drosophila brain (punishment, pain, danger, negative reinforcement).
What Does It Mean?: It indicates that the fly is unhappy, hungry, trapped, or in pain. When the fly goes hungry (foodLevel < 5.0), crashes into a wall, comes into contact with water and risks drowning, or is left in the dark, PPL1 neurons are stimulated (sad mode), and purple droplets of sorrow fall from the fly's eyes.
Red Hearts (HEART):
Biological Source: The PAM dopaminergic neuron cluster in the Drosophila brain (sugar reward, satiety, positive reinforcement).
What Does It Mean?: When the fly eats an apple on the ground, tastes sugar, or becomes fully satiated, PAM neurons fire (happy and eating mode), and hearts appear.
Black Ink / Escape Smoke (SQUID_INK):
Biological Source: Drosophila's famous Giant Neuron (Giant Fiber / DNp01).
What Does It Mean?: When a zombie, creeper, or player suddenly approaches the fly rapidly (visual approach/looming) or when it takes a hit, the fly performs a sudden escape jump (saccade jump) and leaves behind black escape smoke (scared mode).
Green Sparks (HAPPY_VILLAGER):
Appears the moment the fly is released from the bottle or while it is resting gently on a tree leaf.
Red Line / Damage (DAMAGE_INDICATOR):
Indicates that the fly is taking physical damage.
⚠️ Important note
Since it runs an actual AI model, you need Python 3.10+ and must download the model separately:
It does not need to be run on the same machine as the server; it operates using WebSockets.
评论 0
登录后参与评分
还没有评论,来抢沙发吧