
scratch2mcpi
Interface pour connecter Scratch et Minecraft. Vous pouvez déplacer le lecteur, placer des blocs, envoyer des messages de chat, etc. dans Minecraft à partir de l'environnement de programmation visuelle, Scratch.
14
Github Watches
26
Github Forks
52
Github Stars
Scratch2MCPI(Scratch2MinecraftPi)
With Scratch2MCPI, you can control Minecraft Pi Edition from Scratch on Raspberry Pi.
On the latest 2.0, it supports Minecraft Graphics Turtle.
Demo Movie on YouTube
Tested Environments
- NOOBS 2.9.0 (2018-10-11)
- Raspberry Pi OS Bullseye (2021-12-8)
Installation
Install Minecraft Pi Edition if you don't have. You can either install from http://pi.minecraft.net/?p=68 or use the following installation script.(If you install Raspbian OS from the latest NOOBS, Minecraft Pi may be pre-installed. If the Minecraft Pi icon exists on the Desktop, skip this step.)
# curl http://scratch2mcpi.github.io/mcpi.sh | sh
Install Scratch2MCPI
# curl http://scratch2mcpi.github.io/install.sh | sh
Getting Started
- Start Minecraft, click "Start Game", then "Create New". Wait until the new world is generated.
- After the world is generated, double click Scratch2MCPI icon to start Scratch and Scratch2MCPI.
- On Scratch, click Green flag, and run the script. "hello minecraft" should be displayed on Minecraft chat window.
How to use
You can send the following commands by "broadcast" block of Scratch.
- hello_minecraft: Send "hello minecraft" message to chat section.
- setPos: Move the player to the position specified by Scratch variables: "mcpiX", "mcpiY", "mcpiZ".
- setBlock: Place the block at the position specified by Scratch variables: "mcpiX", "mcpiY", "mcpiZ". The block type and block data can be specified by Scratch variables: "blockTypeId" and "blockData".
- getPos: Get the current position of the player. The position values can be gotten by Scratch sensor values: "PlayerX", "PlayerY", "PlayerZ".
- getHeight: Get the y position of the highest block at the position specified by Scratch variables: "mcpiX" and "mcpiZ". The y postion can be gotten by Scratch sensor value "posY".
- pollBlockHits: Get the block event information of the last block hit by the player. The event info values can be gotten by Scratch sensor values: "blockEventX", "blockEventY", "blockEventZ", "blockEventFace", "blockEventEntityId".
- reset: [WARNING] Reset the world. This will delete clean up the world, so please be aware to use it.
Reference
Requirements
相关推荐
I find academic articles and books for research and literature reviews.
Confidential guide on numerology and astrology, based of GG33 Public information
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Advanced software engineer GPT that excels through nailing the basics.
Take an adjectivised noun, and create images making it progressively more adjective!
Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.
L'application tout-en-un desktop et Docker AI avec chiffon intégré, agents AI, constructeur d'agent sans code, compatibilité MCP, etc.
Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX
Plateforme d'automatisation de workflow à code équitable avec des capacités d'IA natives. Combinez le bâtiment visuel avec du code personnalisé, de l'auto-hôte ou du cloud, 400+ intégrations.
🧑🚀 全世界最好的 LLM 资料总结 (数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Résumé des meilleures ressources LLM du monde.
Une liste organisée des serveurs de protocole de contexte de modèle (MCP)
Un puissant plugin Neovim pour gérer les serveurs MCP (Protocole de contexte modèle)
Pont entre les serveurs Olllama et MCP, permettant aux LLM locaux d'utiliser des outils de protocole de contexte de modèle
Reviews

user_gxvoFogr
Scratch2mcpi is an amazing tool for connecting Scratch to Minecraft: Pi Edition. Its ease of use and clear instructions make it perfect for educational purposes and creative projects alike. I've found it incredibly useful for teaching coding concepts in a fun and interactive way. Highly recommend!