跳到正文

Create:WebCode

作者:IjalG

Create: Web Code adds a block-based network dataflow system to Minecraft, letting players assemble URLs, send HTTP GET requests, parse JSON responses, debug live data, and drive redstone with real web data.

收藏

介绍

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

Create: Web Code

Create: Web Code adds a block-based network dataflow system to Minecraft. It lets you build URL pipelines with in-game devices, send HTTP GET requests to web services you choose, parse
returned data, debug live packet contents, and use the result to drive redstone.

This mod is designed as a network peripheral system, not an in-game computer. Complex logic should live in your own external API or service, while Minecraft handles routing, filtering,
debugging, and redstone interaction.

Features

  • Build request URLs from in-game text variables
  • Send HTTP GET requests through an Upload Network Port
  • Receive responses through a paired Download Network Port
  • Extract JSON fields with Filters
  • Convert JSON values into redstone output with Evaluators
  • Inspect live pipeline data with Debug Screens
  • Cache, split, throttle, and gate data pipelines
  • Connect devices using a point-to-point Connector tool
  • Render connection lines only while holding the Connector

Important network disclosure

Create: Web Code can make HTTP or HTTPS GET requests from the Minecraft server to URLs assembled in-game by players.

The mod does not provide a built-in remote service and does not send data to the developer by default. Requests are made only to URLs that players build and send through the in-
game pipeline.

Server owners should only allow this mod on servers where they are comfortable with players creating outbound web requests.

Basic workflow

A typical pipeline looks like this:

Text Source -> Encoder -> Upload Network Port
Download Network Port -> Filter -> Evaluator -> Redstone

Example concept:

  1. A Text Source outputs a variable such as machine = main.
  2. An Encoder builds a URL like https://api.example.com/status?machine={machine}.
  3. The Upload Network Port sends the HTTP GET request.
  4. The paired Download Network Port outputs the response body.
  5. A Filter extracts a JSON field.
  6. An Evaluator compares the value and emits redstone.

Devices

  • Text Source: outputs fixed text when triggered by redstone
  • Encoder: assembles strings and URLs from named variables
  • Upload Network Port: sends HTTP GET requests
  • Download Network Port: outputs response bodies from its paired upload port
  • Filter: extracts one top-level JSON field
  • Evaluator: compares a single JSON value and emits redstone
  • Cache: stores the latest packet and outputs it on redstone trigger
  • Splitter: copies one packet to multiple outputs
  • Throttle: rejects inputs during cooldown
  • Redstone Valve: allows data through only while powered
  • Debug Screen: displays recent incoming packets
  • Connector: installs, removes, and pairs data connections

Requirements

  • Minecraft Forge
  • Installed on both client and server

Create is optional/recommended for thematic gameplay, but this version does not require Create to run.

Status

This is an alpha release. Device behavior, UI, textures, and compatibility rules may still change before a stable release.

License

All Rights Reserved.

This mod is not open source at this time. The distributed jar is provided for gameplay use only. Redistribution, modification, or reuse of code/assets is not permitted without permission.

常见问题

Create:WebCode 支持哪些 Minecraft 版本?

Create:WebCode 支持 Minecraft Java 版 1.20.1–1.20.6,共 6 个版本,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

Create:WebCode 怎么安装?

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

评论

登录后评论和评分