Skip to content

Releases

v2.3.0

Choose a tag to compare

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

2.3.0

Inventory

  • The inventory stays in step with the server. Core now keeps a ledger of every change the client makes to the open
    menu, whoever makes it (a module, a screen click, a block placed, food eaten), and weighs every slot the server sends
    against it by value: the result of a change on its way is the server catching up, a whole-menu packet showing a slot as
    it was before a change is one sent before the server got there (kept off the screen), anything else is the server's
    own word. What changes are done is decided by the order the server takes clicks in, never by a timer: once it shows
    the result of one click, every click before it was taken too. The menu always shows the ledger's view, so a stale
    update no longer flickers back, or gets a placement or a click made from it; tested under 100 ms of lag with every
    click answered: no frame showing anything other than what the server would hold, across the inventory and box suites.
  • Clicks the server says nothing about are checked. A server answers a click that came out as predicted with
    nothing, and one an anti-cheat drops likewise. Once clicking stops with changes still unconfirmed, one click that
    changes nothing goes out vouching for what the client holds in those slots, and the server answers with just the slots
    it disagrees on: a few bytes, where asking for the whole menu costs a full refresh (15 to 20 KB on 2b2t with shulker
    boxes). Never while a build runs, mid-drag, or with clicks short in the budget.
  • What borrowed slots show is exact. While a borrow or a build has things out, every slot shows what it held
    before, followed through the swaps rather than guessed by kind, its count as it is now. The slot you hold shows what
    you'd use, unless it's on its way back to you.
  • Your hand first. Scrolling onto a hotbar slot a module or a build borrowed gives it back at once (and doesn't
    select your old slot again), and your own clicks in the inventory screen act on what it shows: clicking where your
    sword shows takes your sword, wherever the borrow put it.
  • Instant use from the inventory (Inventory.useFromInventory): an item in the inventory is swapped into the hotbar,
    used through a silent swap and swapped back, both swaps or neither; on servers that don't check packet order in a tick
    (2b2t) all before anything is drawn, so it never shows.
  • The inventory refresh no longer throws out what the server has on the cursor: it asks with a shift-click on no slot,
    which the server ignores whatever the cursor holds, instead of a click outside the window.
  • A build takes the smallest stack of a material from the inventory, so it uses one stack up before starting another.
  • Recipe book placements count against the inventory click budget, as 2b2t counts them.
  • A borrow's return no longer lets go of your keys when it can't click anyway (a container a module holds open): sneak
    flickered on and off while Remote Ender Chest held the ender chest.
  • A borrow isn't forgotten while one of its items is on your cursor.
  • Logging what the ledger finds: -Dmyriad.ledgerLog=true; -Dmyriad.ledger=shadow has it only watch.

API

  • Inventory.useFromInventory(owner, index, action).

Minecraft: ~26.3

v2.2.0

Choose a tag to compare

@github-actions github-actions released this 19 Nov 01:06

2.2.0

Building

  • The hotbar as a cache, out of sight. A block a build needs from the inventory is brought into a hotbar slot other
    than the one you hold with a number-key swap, and stays there while the build runs: each kind costs one click however
    often the build comes back to it (your own items are moved aside first, so up to 8 kinds sit ready). Once no build is
    running, everything goes back where it was, and the server is then asked for your inventory, so whatever the client
    got wrong along the way is put right. Meanwhile every slot a build touched, hotbar and inventory, shows what it held
    before, and the slot you hold is never used: your hand and hotbar look untouched the whole time. The Printer test with
    a full hotbar and every block in the inventory: nothing seen to move, everything back at the end.
  • No cap per tick. Builds place as fast as the server takes placements (core keeps within its limit, 9 in 300 ms
    on Paper); Actions Per Tick is gone (BuildingSettings.actionsPerTick is deprecated, hidden and ignored). Everything
    in reach of a standing Printer test (9 kinds, all from the inventory): 6 ticks, from 10.
  • A kind at a time. Every block of a kind that can be placed in reach goes before the next kind is brought in,
    those in the hotbar before those in the inventory, and what's about to drop out of reach behind you first. A block
    brought in is placed in the same tick as its swap.
  • Chests come out as the schematic has them. A chest beside another one stays single (the click is made sneaking,
    whatever face it's against: before, the sneak was only sent for a click on a block that opens), and half of a double
    chest is placed single until its other half is placed against it.
  • A turned click aims at a point the look still lands on with a slightly different angle, from where your eyes will be
    when it goes: one by an edge of a chest's side was taken by the server on its top, and a side seen almost edge on
    was missed once you'd run on, so a log or top slab placed against it never came out.
  • What MaterialSource.container and shulkerBoxes fetch goes into the main inventory, and into the hotbar only once
    the main inventory is full.
  • Blocks placed facing the way they should after a teleport. Paper and Spigot ignore the first movement packet
    after a teleport that turns you more than 10° (or moves you a sixteenth of a block) unless it starts exactly where they
    have you, written the same: after a teleport to -90, the camera's 270 doesn't. The look a placement turned to was
    lost, and a furnace or chest placed by it came out facing your own look. Core now follows that rule after every
    teleport: placements go by the look the server kept, the look is sent again the next tick, and the placement waits
    for it.
  • A block placed with the look the server has now no longer goes out while the tick's actions are held back after an
    aimed click: sent a tick late, after a movement packet with another look, it came out facing that one.
  • A block a build placed wrong is still its own while it breaks it to try again: a break that didn't go through left
    it as someone else's block, never redone.
  • A module's hanging sign doesn't open the sign editor either.
  • A borrowed bucket goes back after it's filled or emptied (Inventory.borrow).

Elytra

  • Altitude holds its height in new terrain. Where chunks come in just in time (2b2t, nearly always), each late one
    turned the dive into a slowing climb, and the dive never got fast enough to pull up again: the flight sank in
    half-made climbs all the way to the ground. Now it only waits for chunks while what they hide could be in the way
    (lower than 64 above the ground loaded around you). Tested over new terrain with the server's chunks held back:
    before, 199 down to -15 in a minute; now it holds.
  • No Durability's glide no longer drops when its swapping stops in mid-air (ground or late chunks ahead): the start
    it made then waited for the last swap's answer only on the regular path, so with jitter it went out on a moment
    already past (the elytra seemingly on, the chestplate still on at the server), was refused, and the glide dropped. 1
    to 5 drops a minute before over new terrain under lag, none since.
  • A rocket no longer lifts a glide the server has ended. Touching the ground mid-glide (taking off low, gliding
    down) ends the glide on the server at once, on the client only a round trip later; a rocket used just before boosted
    you off the ground meanwhile into a glide that then dropped in mid-air, 5 to 7 blocks up and rising (and a fall from
    there). Now the boost is left out once the glide has touched the ground, as the server leaves it out. Vanilla does the
    same under lag; tested taking off with rockets under 250 ms.

Inventory

  • A shift-click on a crafting result shows what it made. The game predicts one craft, the server makes as many
    as the grid holds; the prediction was kept on screen (grid still full, crafted items missing) until the menu was
    opened again. Answers kept off the screen while your clicks are on their way are never just dropped now: if the
    server disagrees, it's asked for the menu.
  • Breaks pick Silk Touch where it costs nothing: for a block that breaks at once, or that no tool mines faster
    than a hand (glass, panes), the breaking service mines with a Silk Touch tool if you have one, brought in from the
    inventory as a faster tool is. Where a tool is faster (ores, stone) the fastest still goes, so a Silk Touch pickaxe
    doesn't take a diamond ore's diamonds.
  • A module looked up by the id it had before a rename finds it (Module.formerNames), not only its saved settings.

API: BuildingSettings.actionsPerTick is deprecated; nothing else changed.

Minecraft: ~26.3

v2.1.1

Choose a tag to compare

@github-actions github-actions released this 15 Nov 17:46

2.1.1

Fixes

  • One fullscreen window per workspace. Making a window fullscreen takes the others on its workspace out of
    fullscreen, as does moving a fullscreen window onto a workspace that has one. Several could be fullscreen at once,
    stacked over each other, and closing the top one showed the next instead of the workspace. A saved layout with more
    than one keeps the focused one (else the topmost).

No API changes.

Minecraft: ~26.3

v2.1.0

Choose a tag to compare

@github-actions github-actions released this 14 Nov 19:55

2.1.0

Fixes

  • A block placed with a turned look shows the right way at once. The game guessed how a block comes out (a piston's
    facing, a stair's) from your own look, while the server places it by the rotation it was sent: a block a module placed
    facing elsewhere (Essentials' Placement Tweaks, Printer, Scaffold) showed your way first and turned when the answer came.

Keybinds

  • The Keybinds window lists each module's other binds under its own (Auto Armor's Swap Bind, a hold-for bind), named for
    the module, so they can be set from there too. A bind shows while the option it belongs to is on.

For addon developers

  • The addon plugin fills in ${version} in the in-game tests' fabric.mod.json (src/gametest/resources) as it does
    in the addon's: it stayed as written.

No API changes.

Minecraft: ~26.3

v2.0.1

Choose a tag to compare

@github-actions github-actions released this 14 Nov 16:16

2.0.1

Fixes

  • No crash beside another mod's entity outlines. 2.0.0 gave vanilla's entity outline pipelines a depth test for
    highlights, so a mod that draws with them in a pass of its own without a depth buffer crashed the game ("wants a depth
    texture but none was provided"). Vanilla's pipelines are left as they are; highlights use depth-tested copies in
    Myriad's own outline passes and look the same. Thanks to a user report, which came with the fix.
  • Options and Quit fit on Minecraft's title screen again (Themed Screens off) in a small window, such as the one a
    Mac opens: Myriad's button is an icon beside the friends, language and accessibility ones instead of a row of its
    own that pushed them off the bottom.
  • Joining or respawning no longer logs an error from the glide check, which asked the player for an id the server
    hadn't given it yet.

No API changes.

Minecraft: ~26.3

v2.0.0

Choose a tag to compare

@github-actions github-actions released this 14 Nov 06:53

2.0.0

For Minecraft 26.3, with the API put in order. 2.0 runs on Minecraft 26.3; 1.8.1 stays for 26.2 (the update check
only offers each the release for its Minecraft). Addons had to be rebuilt for 26.3 anyway, so every API change that
needed a major release is in this one: the grab-bag util package is split into packages named for what's in them, the
menu's entry point is Ui, and what 1.x deprecated is gone. Every public type and member is documented, and the 1.x
promise holds again for 2.x.

Minecraft 26.3

  • Keys and buttons. 26.3 reads input through SDL: binds saved by 1.x convert when they're loaded, and are saved in the
    new form (sdl-key:, sdl-mouse:). Typing in Myriad's text fields turns the game's text input on while they're focused.
  • Rendering on 26.3's graphics layer. Highlights, fills, meshes, previews, the HUD and the menu are ported; the entity
    outline pass gets the depth buffer it no longer has. Addons' fill shaders import with #include <namespace:path>
    (#moj_import no longer compiles).
  • A step back from a setback no longer flags. 26.3 doesn't note a teleport's position as the last one sent, so walking
    straight back the way you came after a setback sent no position at all and the next move was set back again (Grim's
    Simulation, a run of them while sprinting). Core notes it.
  • Using an item while facing elsewhere no longer flags. Since 1.21 the server turns you to an item use's rotation,
    but Grim only reads rotations from movement, so the next movement now carries it (on 2b2t this set Altitude back at
    pull-up swaps).
  • Swings go out as 26.3's hand-less punch, which ViaVersion turns into a main-hand swing for older servers.

Fixes

  • Crafting shows its result again while you hold a stack or right after taking one: the server's answer for a result
    slot (crafting, furnaces, villagers, the grindstone, the loom) is always taken, since the client can't work recipes out.
  • Highlights no longer linger for a moment after what they were on is gone (an item as you pick it up): a frame
    with nothing outlined left the last frame's silhouettes in place.
  • An addon's fill on your held item no longer crashes the game (as View Model's Item Fill).
  • No setback after eating straight after a teleport: the rotation the server set was forgotten a tick too early.
  • Putting the hotbar back finds an item you moved along it: one moved to another used hotbar slot was taken as gone
    (only the main inventory was searched), so the sword you'd shifted along wasn't put back where it belonged.
  • Turning a module off lets go of what it held: its inventory holds end and items it borrowed go back.
  • Builds go quicker: only actions really sent count toward a build's places per tick (Building.Options). Attacks
    and entity interactions no longer count toward the interaction limit (Paper doesn't limit them).
  • CharEvent.modifiers() reports the held modifiers (it was always 0); HBox.clear() forgets its sizes and a cleared
    Container drops focus inside it; the bundled fonts' licences no longer log "Invalid path" errors.

For addon developers

Rebuild against 2.0 and Minecraft 26.3. Most of the work is imports:

1.x 2.0
util.AnyThread, util.RenderThread annotation.AnyThread, annotation.RenderThread
util.MyriadId registry.MyriadId
util.Keybind, service.KeyAction input.Keybind, input.KeyAction
util.Packets, util.PacketChannel, util.Http network.Packets, network.PacketChannel, network.Http
util.ItemInfo, util.ItemMatch, util.Slots item.ItemInfo, item.ItemMatch, item.Slots
util.Interactions, util.Reach, util.Movement, util.Mining player.Interactions, player.Reach, player.Movement, player.Mining
util.BlockInfo, util.Entities, util.Positions, util.FakePlayers world.BlockInfo, world.Entities, world.Positions, world.FakePlayers
util.Baritone integration.Baritone
render.Canvas, FontFamily, ThemeFont, MyriadLogo, Animated, Bezier, Easing ui.draw.*
ui.Desktop (Myriad.ui()) ui.Ui (Myriad.ui())
ui.Direction ui.Side
  • Removed, deprecated since chat moved to Essentials: ThemeSettings' chat options (ChatBackground, ChatFont,
    ChatShown and their settings) and titleScreen.
  • Nullness is JSpecify's (org.jspecify.annotations.Nullable) and every API package is @NullMarked: what isn't
    marked nullable never is. A hook's output type is O extends @Nullable Object.
  • Registry and ModuleRegistry are interfaces: reading them is unchanged.
  • 26.3's own changes show through where the API names its types: Canvas.texture takes 26.3's GpuTextureView.
  • New: ServerStats.serverKey() and onHost(domain) (with static hostOf and isHost); Slots.ARMOR,
    isOpen, menuSlot, playerSlots and containerSlots; Baritone.override() for settings changed for a while and
    put back; Inventory.containerOpen(); Interactions.handBreakProgress(pos); NotificationEvent;
    Http.StatusException and Http.postJson(url, json, retries); Keybind.heldModifiers(); Setting.editsTakeEffect();
    and Myriad.devSteps() (experimental: dev runs' console steps, for tests).
  • The addon plugin adds a gametest source set for in-game tests, run in a runTestClient dev run, and fails the
    build when an addon uses API marked @ApiStatus.Internal or deprecated for removal. The example addon builds with
    the plugin.

Minecraft: ~26.3

v1.8.1

Choose a tag to compare

@github-actions github-actions released this 14 Nov 06:06

1.8.1

  • Updates only offer what runs on your Minecraft. The update check reads a repository's releases instead of only the
    newest, and offers the newest one made for the Minecraft you're playing (a release says which in a Minecraft: line of
    its notes, which the release workflow now adds; one without it counts as any). A newer release only for another
    Minecraft version isn't offered: it's mentioned once, and shown under the addon in Addons and .update.
  • Altitude holds its height in fresh terrain. With No Durability's chest swaps, chunks arriving just in time (2b2t's
    new terrain) kept cutting dives short and capping them below the speed a pull-up needs, so the flight sank lower and
    lower. It looks one second ahead instead of four, carries on with a climb it has started, keeps climbing for half a
    second after the last missing chunk, and no longer caps the dive while chunks come in late.

Minecraft: ~26.2

v1.8.0

Choose a tag to compare

@github-actions github-actions released this 11 Nov 04:10

1.8.0

  • Inventory work goes at the speed the server really allows. The click budget now follows what 2b2t was measured to
    do: it drops you on the 80th click within about 4 seconds, and 79 pass. Core allows 72 in any 5 seconds, so a sort, a
    refill or a move of up to 72 clicks goes in one tick, and a long run settles at about 14 a second. Urgent clicks may go
    past the 72 but never to the 80th.
  • Your own clicks stay on screen. A server that answers every click with the whole menu (2b2t) sent, with lag, menus
    older than your latest click, so a stack jumped back onto the cursor or seemed not to move. Answers now wait a round
    trip behind what you did, and if they still disagree after that the server is asked for the whole menu.
  • Fewer clicks, less waiting. The sort gathers with a double click where that's safe. Putting things back in the
    hotbar and returning borrowed items is done for every free slot in one tick, after a shorter wait. Builds of more kinds
    than the hotbar holds bring in several stacks a tick.
  • Boxes with Air Place: 33 spots. Four rings of eight around you and one over your head, each box facing outward so
    it still opens. Without Air Place nothing changes.
  • Boxes come back. Boxes go back lowest first, so what an upper one drops doesn't land on a lower one. A spot is only
    used if what it drops will stay within reach, so a box near the edge of a mushroom cap or a ledge isn't put where its
    drop goes over the side. A drop that lands a couple of blocks away is now walked to; the walk used to aim at it while it
    was still in the air and run out of time.
  • The hotbar stays put while a box goes down. What made room for a box keeps showing in its slot, and goes back only
    once the box is really out of that slot.
  • A second totem pop right after the first no longer waits for the off hand's last click to be answered.
  • Altitude's cruise no longer slows for chunks that can't arrive. It only asks for chunks within the server's view
    distance.
  • New API: Containers.finishAll puts several boxes back together, Inventory.gather fills a stack with a double click,
    and PacketLimits.count counts clicks you sent as packets yourself.

v1.7.2

Choose a tag to compare

@github-actions github-actions released this 10 Nov 07:52

1.7.2

  • Putting a box back no longer closes a held ender chest. With an ender chest held open (Essentials' Remote Ender
    Chest), right-clicking a box's tab on the shelf closed the ender chest and its screen, whether it was showing or behind
    your inventory. A held container now stays open while the box is broken, and a box from an ender chest goes straight
    back into the held one, from any distance, as you watch.

v1.7.1

Choose a tag to compare

@github-actions github-actions released this 10 Nov 07:32

1.7.1

  • Fixed a crash on the menus before you'd joined a world. Starting the game and opening a menu with the title screen's
    background (the server list, say) could crash as soon as you came into view holding something: the game can't make an
    item until a world has been joined. Until then you come empty-handed.