YAMC MCP 0.7.0 (Fabric 26.3)
Curse Maven Snippet
What's new
New tools let you leave and reopen worlds and use the mouse on any screen. Keys set to toggle work, and widget_click works on 26.3.
New tools (99 in total)
world_list,save_and_quitandopen_worldleave the world and open a saved one, and each waits until it's done. You can use them to check what a mod keeps after a world reloads.save_and_quitworks like the pause menu's button. In singleplayer it first closes any open screen, pauses the game and lets chunk loading settle, then saves. Quitting while chunks were still loading could leave the game stuck saving, which we saw on 1.21.1.open_worldwaits until you're in the world. If the game asks a question first, it says which screen is asking.world_listalso works on the title screen. It names the open world but doesn't list it until the world is closed, because checking an open world's lock can release it on Linux.
mouse_click,mouse_scrollandmouse_moveuse the mouse on the open screen, at the GUI coordinatesscreen_widgetsgives. They're for screens that draw their own content, such as item grids and lists, which have no widget forwidget_click.mouse_moveshows hover effects and tooltips, so take a screenshot after it.
Improvements
interacttakessneak: it sneaks for the click (for example, to place a block against a chest), then stops. It refusessneakwhile a screen is open. If a screen was already open, the result names it inscreen_open.interactwaits longer for late changes. If nothing has changed at first, it watches for up to 1.5 seconds more, for example for a block that a mod places only on the server.blocks_atcan read from the server withsource=server. Every block is read in the same tick, andinclude_storageadds what each block stores. You can use this to check that moving items between blocks lost nothing.screen_widgetsmarks the widget under the mouse withhovered.close_screenworks like Escape. A screen that returns to another one, such as a settings page, goes back to it.gametest_runwarns when tests left test players on the server. Mods that send packets to every player may fail for those players.resource_traceaccepts fullassets/…anddata/…paths.
Fixes
- Keys set to toggle, such as Sneak, were turned on and off every tick by
moveandkey_press. These tools now hold them, then put them back as they were. Also, a screen that opened during a hold turned them back on when it closed. That no longer happens. widget_clickdidn't click anything on 26.3, because the game changed the number for the left mouse button. It now also moves the mouse onto the widget first, as a player would.- A click that only moves widgets, such as opening the recipe book, now counts as a change (
confirmed). asset_auditno longer says a block has no drops just because it has no loot table: the mod's code may still add drops.- On Fabric outside a dev environment, class names are intermediary names such as
class_433. The README now says to match widgets by their labels instead.
Testing
- Every supported version and loader was tested in singleplayer. Every one from 1.21.4 was also tested on Mojang's own server, without mods on the server.
- Not tested:
save_and_quitin a world open to LAN, andclose_screengoing back to an earlier screen. Also untested, as before: servers with mods, Paper and similar servers, LAN worlds you join, and GregTech in a real modpack.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects