Tags
Creators
Details
Licensed Apache-2.0
Published 5 months ago
Updated 11 hours ago
All versions
v3.1.0
Release
3.1.015 hours ago 1,667
Uploaded by
Compatibility
Minecraft: Java Edition
26.3
Platform
Fabric
Supported environments
Client-side
Required content
Any compatible version
Any compatible version
Changes
- Fixed Compose HUDs on 1.8.9 not showing up in-game when Argentum's Direct Rendering is on. This needs Argentum 1.1.0 or newer
- The d-pad and left stick move focus to the closest element in that direction, keep to the current row or column, and scroll lists to reach elements that are off screen. From a focused pane they move into its links and buttons. Focus stays inside an open popup or panel, and controller actions on the screen behind an open dialog don't fire
- When the d-pad or left stick can't move focus any further, the focused element gets an arrow key instead, so menus that move their own highlight work with a controller
- Added
Modifier.focusEntry, which makes focus land on the selected item when it moves into a row of choices such as tabs - Focus comes back to where you were after a menu, dialog or panel closes, or when the focused element disappears, instead of starting over from the top
- Added
ComposeOptions.focusRingfor styling the focus ring,Modifier.hidesFocusRingfor widgets with their own focus look,Modifier.focusWhenShownfor panels that should take focus when a controller opens them,Modifier.controllerFocusScopefor keeping focus inside a panel, andComposeScreen.controllerGuidefor moving or hiding the button guide - Added
Modifier.controllerArrowsfor widgets such as sliders that want the d-pad's arrow keys before focus moves - A sends Enter to the focused element before the screen's own key handling, so screens that react to Enter no longer take presses away from the focused button
- X opens the focused element's context menu when it supports the Menu key
- Added
Modifier.controllerPan, which hands the right stick to a focused element instead of scrolling, for things like 3D previews and zoomed images - Added
Modifier.controllerActionfor running code when X, Y, a bumper, a trigger, a stick click, Back or Start is pressed on a focused element. Its label shows in Controlify's button guide. Back has no default button, because View toggles Controlify's cursor - Added
Controllerstopolycompose-core, so mods that only depend on the core can register controller actions, checkControllers.isActive, read the sticks and stop the right stick from turning the camera while an overlay is open Controllers.registertakes aControllerContext, so an action can work in game, in screens or both. Actions default to in game only- Added
Controllers.captureGameplay()for overlays such as radial wheels. While it's held, Controlify stops moving the player and sending gameplay buttons, but your own actions and the sticks keep working - In Controlify's mixed input mode,
Controllers.isActivefollows whichever device the player used last - Added
InputKindandComposeOptions.onInputKind(owner, kind), which now reports controller navigation too, andKeyEvent.isFromController org.polyfrost.compose.minecraft.compat.controlify.ControllerActions,ControllerActionandControllerButtonare deprecated in favour of the new classes inorg.polyfrost.compose.host.controller- Fixed screens not redrawing when their content changed in the background, so they stayed blank or out of date until you moved the mouse
- Fixed a frosted panel sometimes staying over the game after switching menus
- Fixed radial wheels and other things drawn straight onto the HUD flickering on 1.8.9 when the HUD is cached
- Fixed the game drawing the wrong texture on 1.21.1-1.21.10 when a skin finished loading while PolyCompose was drawing
- Fixed CJK characters, symbols and Force Unicode Font text on 1.21.1-1.21.5 not using the game's unicode font
- Added
PolyModifier.widthInandPolyModifier.heightInfor minimum and maximum sizes, andPolyModifier.fitContent, which shrinks a node's content to fit when it overflows
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:eHe8QhtD:ehPcIkIA"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:eHe8QhtD:ehPcIkIA"
}

