Skip to content

Releases

Blockpilot 1.4.2

Choose a tag to compare

@github-actions github-actions released this 22 Nov 20:27
  • Fixes: a world creation cut short no longer blocks the name. create world marks the folder as a test world
    before the game starts making the world, so delete world removes what a game killed meanwhile left, and create world replaces such a folder, one without level.dat, rather than failing with err exists.
  • Fixes: quit answers while another session's action holds the game, such as a create world under way: it
    cancels the actions other sessions queued before it, as stop does, and goes next. Actions its own session queued
    before it still run first.
  • Fixes: messages and ! chat events carry every line the chat window shows: replies to client-side commands and
    lines mods add on the client were missing. Like other mod messages, those reach agents with their text
    (safety.md). On Forge and NeoForge, action-bar text is no longer also logged as chat.
  • Fixes: capture, recording and snapshot names may hold +, and a rejected name is named in the error.

Blockpilot 1.4.1

Choose a tag to compare

@github-actions github-actions released this 20 Nov 07:07
  • Fixes: wait <N>t waits N client ticks also when the integrated server steps the script at the moment the
    client does, where now and then it waited one more; a sample or other action on the client keeps one tick per client
    tick then too, as those on the server already did.
  • Fixes: the Forge 1.20.1 jar loads in a player's game again. Since 1.2.0 its mixin config didn't name the refmap
    the jar carries, so Mixin looked the mixins' targets up by development names, which Forge's game doesn't have, and
    the game crashed as it started.

Blockpilot 1.4.0

Choose a tag to compare

@github-actions github-actions released this 17 Nov 22:14
  • Sub-levels round a camera away: with Sable, a camera placed with away shows the sub-levels within Sable's
    tracking range of the camera, also one the server had unloaded while nobody was near, so a ship can be filmed from
    anywhere while the player stands elsewhere (sable.md).
  • A camera on a sub-level's origin: with Sable, sub:<uuid|name|here> names a sub-level for the camera.
    camera follow sub:ship at ~0,8,-20 keeps that offset in the world's axes as it flies and turns, camera orbit sub:ship circles it, look sub:ship aims at it, and camera move … around sub:ship takes its ~ points from the
    sub-level's origin in each frame, so a path keeps its shape round a flying ship (sable.md). A
    sub: reference is looked up as the command arrives, as @<name> is, and a camera stays where it was drawn once its
    sub-level is gone. The extension API is 2.2.0 for the new slot type ArgType.SUB_LEVEL, which Blockpilot resolves
    before the handler runs, and Args.subLevel(), which reads its UUID (extending.md).
  • A shot list on the camera's clock: camera play <shot> | <shot> | … plays the shots one after another while the
    script goes on, each a camera at, move, follow or orbit without camera, with its own ease=, fov= and
    roll=, or hold <duration>. Every shot is checked as its command would be before the first starts, so a bad one
    changes nothing; camera wait answers at the end, or with the error of a shot that couldn't start, and record script with camera wait at its end films it whole (commands.md,
    recording.md).
  • Flicker: flicker <duration> <parts>… reads the brightness of parts of every frame drawn over the duration, as
    pixels takes the parts, and gives each part's strongest rhythm, flicker=<hz> with its period and amplitude, or
    flicker=none when nothing repeats, so a strobing lamp or a pulsing fireball is measured, not judged by eye
    (commands.md).
  • Clean frames: option hud clean, and hud=clean on screenshot and record, hide the whole HUD pass, with the
    layers and overlays other mods draw in it, the player's night vision, blindness, darkness and nausea, and the field of
    view effects, so captures compare from run to run; only the picture changes, not the game or the options.
    docs/recording.md has a recipe for testing visual effects.
  • Particles by type: particles match=flame or match=mymod:* keeps the matching types, as sounds match= does.
  • Fixes: screenshot burst captures each frame the game draws once, where after a stall it gave the same frame
    several times; each frame carries drawn=, when it was drawn, and late= when it came after its time. On Windows,
    Git Bash runs a plain blockpilot launcher written beside blockpilot.cmd, which cmd.exe couldn't run from Git Bash
    in a folder with a space. help server says @s is the server unless as=player.

Blockpilot 1.3.1

Choose a tag to compare

@github-actions github-actions released this 14 Nov 14:09
  • Fixes: the game starts beside Sodium on 1.20.1 and 1.21.1, and beside Embeddium on 1.20.1 Forge, where it stopped
    at load as both replace a method of the game's world renderer that Blockpilot hooks. Beside them, perf counts their
    section rebuilds, and a camera placed away draws the world around it as without them. A server step right after
    close on the game menu, in the same script or a request sent at once, runs as soon as the server takes the unpause
    at its next tick, where it failed with err paused.

Blockpilot 1.3.0

Choose a tag to compare

@github-actions github-actions released this 14 Nov 07:59
  • Minecraft 1.21.11, on Fabric and NeoForge: two new jars, for Fabric 1.21.11 with Fabric API 0.141 and Fabric
    Loader 0.17.3 or newer, and for NeoForge 21.11, on Java 21. Every command answers as on 1.21.1 and 26.1.
  • Fixes: help pixels says that JSON nests each region's values under its name, as {"sky":{"r":…}}, which
    tests read as sky.r; it read as if the reply held flat keys such as sky.r.

Blockpilot 1.2.0

Choose a tag to compare

@github-actions github-actions released this 13 Nov 22:25
  • Minecraft 1.20.1, on Fabric and Forge: two new jars, for Fabric 1.20.1 with Fabric API 0.92 and Fabric Loader
    0.15 or newer, and for Forge 47.1 or newer, which NeoForge 47.1 loads too; both run on Java 17. Every command answers
    as on 1.21.1. tick freeze, step and rate run on Blockpilot's own port of the tick rate manager, which 1.20.1
    lacks, and a function without return answers with the number of commands it ran, as 1.20.1's game counts it
    (commands.md). The extension API jar now targets Java 17 too.
  • Fixes: place takes the first neighbour of the cell whose face it can see, in the same order as before (below,
    above, north, south, west, east), so it fills a hole two blocks ahead from the hole's far side and places above the
    eyes beside a block, where it failed with err out_of_reach because the first neighbour's face was hidden. Wherever
    it worked before, it places against the same neighbour as before.
  • Dangerous, dangerouslyAllowAll: true in config/blockpilot/config.json turns every agent safety check off:
    everyone's chat reaches agents with its text, every mod's commands and events are used whatever allowedExtensions
    says, and agentCommands is ignored. For testing a mod alone or in single-player only. It is set in the file only and
    counts as false in a file that can't be read; while it is on, the log warns, trust reports dangerously_allow_all
    and the agent indicator says "safety off" (safety.md).
  • Play-only agents, playSlashCommands: with agentCommands play, a slash command goes out, by cmd, typed or
    clicked, when its root is in playSlashCommands in config/blockpilot/config.json, empty by default, such as
    ["fill"] for building sessions; any other is refused as err not_allowed cmd <root>, naming the root. Never list
    execute or function, which run any other command (safety.md).
  • Other mods' commands: 1.1.0's allowedExtensions now applies only under agentCommands play; under all, the
    default, every mod's commands are used again. Events from every mod always reach agents; an extension that turns
    players' words into events filters them through BlockpilotApi.isTrusted (extending.md).
  • License: Blockpilot is now dual-licensed under Apache-2.0 or MIT, at your option, where it was Apache-2.0 alone.
    Each jar carries both licenses and no longer a NOTICE file, and the mod metadata names Apache-2.0 OR MIT.

Blockpilot 1.1.0

Choose a tag to compare

@github-actions github-actions released this 07 Nov 20:11

For filming: a camera that glides, follows, circles, zooms and tilts, one that films far from the player, entities taken
by name, sounds where the camera hears them, and marks for the edit. With Baritone installed, goto and mine walk
through it. blockpilot-api becomes 2.1.0, an addition, so integrations built against 2.0.0 keep working.

  • BREAKING, chat from other players: player chat reaches agents with its text only from trustedPlayers in
    config/blockpilot/config.json, empty by default; everyone else's arrives as withheld from=<name>, in ! chat
    events, messages, the chat window, its log line and, when the agent hosts, the server's log line. On a server that
    doesn't check accounts nobody is trusted. The list is set in the file only and applies within a second; trust
    shows it, and BlockpilotApi.isTrusted tells extensions. Single-player play and tests are unaffected
    (safety.md).
  • BREAKING, other mods' commands: commands and events that other mods register reach agents only once their
    namespace is in allowedExtensions in config/blockpilot/config.json, empty by default; until then a call answers
    err not_allowed <namespace>:<name>, events are dropped and help names the setting. Blockpilot's own sable:
    commands need no entry. Integrations should tell their users to add their namespace.
  • Play-only agents: agentCommands: "play" refuses cmd, server, world files, recordings, captures, mod
    configs, switching worlds, quitting and server-side extension commands with err not_allowed, holds back slash
    commands an agent types or clicks in chat, keeps its input to gameplay screens and refuses clicks on links.
  • Camera moves: camera move <pos> [via <pos>]… [look <pos|e<id>|ahead>] over <duration> [ease=] glides the camera
    to a point, placed anew in every frame, through up to 32 via points on one smooth curve at a constant speed. It keeps
    its target, turns to a new one or looks ahead, and ease=in|out|inout shapes its speed. With background it glides
    while the script goes on, so characters can move and sounds play during the shot, and camera wait waits for its end.
    stop leaves it where the last frame drew it. status names a placed camera's position, and an entity look target is
    followed where each frame draws it.
  • Following and orbiting: camera follow <entity> [at <~dx,dy,dz>] [turning] keeps the camera's framing on a
    moving entity, turning with it over its shoulder if asked, and camera orbit <pos|entity> [by <degrees>] over <duration> circles a point or a moving entity, timed like a move, with ease= and background.
  • Camera lens: fov= and roll= give a placed camera its own field of view, from 1 to 170 degrees, and tilt;
    camera at and follow set them, move and orbit glide to them, so a zoom can tighten along a move.
  • A camera away from the player: camera at … away has the integrated server load, send and play the world
    around the camera, so a set a thousand blocks off can be filmed while the player stands still, and look and find
    search around it.
  • Sounds: sound <id> [at <pos>] plays a sound on this client alone, heard from the camera, in singleplayer and on
    servers alike.
  • Entities by name: every command that takes e<id> also takes @<name>, the entity with that tag or custom name,
    the nearest of several, so a script can summon a tagged actor and point the camera at it without reading its id.
  • Slow motion: docs/recording.md shows how to film it with tick rate, and what slows with the game.
  • A take that ends with its script: record script [name] records until its script ends, however it ends, and
    the reply carries the take's summary as ! record …, so a failing step no longer leaves a recording running.
  • Recording marks: record mark <label> notes the video time and frame a script reached; record stop lists the
    marks, and <name>.marks.json keeps them beside the video.
  • Baritone: with Baritone installed, goto and mine by type walk
    through it on their own, digging into closed rooms and to blocks behind walls, and their replies add by=baritone.
    Its settings decide whether it breaks or places blocks: with allowBreak and allowPlace off, a walk alters
    nothing. Without Baritone they walk as before, and mine by type now walks closer to a block it can't see before
    passing over it. Pathfinders sit behind one port, so another pathfinding mod is one adapter more.
  • GameTests: gametest run <selector> runs the game's own GameTests, the ones a mod or a data pack registers, on
    the integrated server, and answers with a row per test, passed or failed with its message, on every target. NeoForge
    runs them only in a development environment with -Dneoforge.enableGameTest=true.
  • Worlds with experimental settings: when the game asks whether to back a world up first as it uses experimental
    settings, as a data pack's GameTests make it, join world, and snapshot save and restore, which join the world
    again, load a test world without a backup, with experimental=true, and fail at once with err join_failed for any
    other world, the question left on screen, where they waited until they timed out.
  • Fewer fields in a sample: sample … fields=a,b keeps only those fields in each row, so a wide readout stays
    readable.
  • Server steps: consecutive server steps run back to back on the server's ticks, so settle=1t spaces commands
    exactly one server tick apart and settle=0t runs them in one.
  • Fixes: server function of a function without return answers ok, not err command_failed. wait <N>t
    waits N ticks, where it waited one fewer, so scripts that allowed for that run a tick longer per wait. On 26.x,
    screenshot now names a placed camera's position. A command line the launcher can't read prints one line saying
    what is wrong, not its whole usage text first. Entering a world starts the sound, message and particle logs anew, so
    since= no longer lists an earlier world's entries, whose ticks could lie in the new world's future.
  • Extension API: Form.repeated(limit, group) declares a part that may come several times, read back with
    Args.values and Args.positions. An ArgType.ENTITY slot takes @<name> too, looked up before the handler
    runs, so the handler still reads an id; Lexicon.isEntityName tells a name. CommandContext.atEnd(action) runs an
    action when the script ends, however it ends, before its reply.

Blockpilot 1.0.0

Choose a tag to compare

@github-actions github-actions released this 05 Nov 22:26

The first stable release, and it adds Minecraft 26.2 and 26.3. Blockpilot now comes for NeoForge and Fabric on
Minecraft 1.21.1, 26.1.2, 26.2 and 26.3, and as a Java agent for plain Minecraft 26.1.2, 26.2 and 26.3, one jar per
version. blockpilot-api stays at 2.0.0.

  • Mining: mine counts a block as mined only if the player dug it. A target that changed by itself, such as dirt
    that grass spread onto, or an empty cell, used to count as mined. Now mine at a position digs what is there or
    gives err no_block, and mine by type goes on to the next block.
  • Capture on 26.1.2: screenshots, pixel probes and the last frames of a recording wait for the GPU's copy, where
    some graphics drivers used to hand them an older frame, and recordings no longer show uneven motion.
  • Keys: key names are the running game's, so 26.3 has no f25 and adds names such as ac_home.

Blockpilot 1.0.0-alpha.0

Pre-release

Choose a tag to compare

@github-actions github-actions released this 01 Nov 22:03

The first release. Blockpilot lets AI agents and scripts observe and control Minecraft through a fast, token-efficient
local interface, to play the game or play-test a mod. It comes for NeoForge and Fabric on Minecraft 1.21.1 and 26.1.2,
and as a Java agent for plain Minecraft 26.1.2 without a mod loader, with blockpilot-api 2.0.0 for mods that add their
own commands.

  • Interfaces: MCP over stdio through the launcher the game writes to <game dir>/blockpilot/blockpilot, which
    outlives restarts of the game; MCP over Streamable HTTP; a line protocol; and a command-line client. All of them
    listen on loopback only and need a token.
  • Command language: scripts of commands, waits and assertions on any query, sampling while an action runs, events,
    and JSON output. Its grammar is in docs/grammar.ebnf, with railroad diagrams.
  • Perception: player status, the blocks and entities around, finding blocks by id, tag, pattern or block state,
    block and region reads (also server-side), light, inventories, screens and NBT.
  • Movement and interaction: path finding, moving and turning, mining, placing, using, attacking, crafting,
    containers, raw keys, mouse and key chords, and flight. Real input interrupts agent actions, and F8 turns agent
    control off.
  • Observation: screenshots, bursts and contact sheets, pixel probes, placed cameras, client options including sound
    volumes, waiting for chunks to settle, and logs of sounds, messages, particles and the game log.
  • Video recording: record saves an MP4 with the game's sound from its framebuffer, with the window in the
    background if need be. It needs ffmpeg.
  • Play-testing: test worlds, snapshots, the integrated server's commands with their output, tick freezing and
    stepping, performance captures with stack sampling, and simulated server, client and network load.
  • Mods: sub-levels with Sable, and NeoForge mod configs.

Blockpilot is licensed under Apache-2.0.