Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/slice/cocoa-beans
native mac text editing shortcuts for minecraft
https://github.com/slice/cocoa-beans
fabric-mod mac macos minecraft-mod
Last synced: 1 day ago
JSON representation
native mac text editing shortcuts for minecraft
- Host: GitHub
- URL: https://github.com/slice/cocoa-beans
- Owner: slice
- License: mit
- Created: 2024-03-24T09:43:32.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-03-28T05:59:47.000Z (6 months ago)
- Last Synced: 2024-09-20T11:02:20.409Z (7 days ago)
- Topics: fabric-mod, mac, macos, minecraft-mod
- Language: Java
- Homepage:
- Size: 70.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cocoa Beans
Cocoa Beans is a small [Fabric] mod for Minecraft 1.20.4 that adds support for
native text editing shortcuts within in-game text fields. When installed on
Windows or Linux, the mod attempts to make itself inert by replicating Vanilla
behavior; however, it'd be best to not install the mod on non-macOS systems.[fabric]: https://fabricmc.net
> [!CAUTION]
> This mod only makes an effort to augment text field widgets (e.g. the one
> used when sending chat messages). It doesn't implement handling for signs and
> books.## Shortcuts
Only a subset is implemented at this time. See all shortcuts
[here](https://support.apple.com/en-us/HT201236#text).| Shortcut | Effect | Notes |
| -------- | -------------------------------------------- | ------------------------------------------------------------------ |
| ⌘← | Moves the cursor to the start | Vanilla only lets you do this through the Home key. |
| ⌘↑ | Ditto. | Ditto. |
| ⌃A | Ditto. | Ditto. |
| ⌘→ | Moves the cursor to the end | Vanilla only lets you do this through the End key. |
| ⌘↓ | Ditto. | Ditto. |
| ⌃E | Ditto. | Ditto. |
| ⌥→ | Moves the cursor right a word | Vanilla handles this, but it checks for Command instead of Option. |
| ⌥← | Moves the cursor left a word | Vanilla handles this, but it checks for Command instead of Option. |
| ⌥⌫ | Deletes a word to the left of the caret | — |
| ⌥⌦ | Deletes a word to the right of the caret | — |
| ⌘⌫ | Deletes everything to the left of the caret | Vanilla handles this shortcut by deleting a word instead. |
| ⌘⌦ | Deletes everything to the right of the caret | Vanilla handles this shortcut by deleting a word instead. |> [!TIP]
> What Mac calls ⌫, or "delete", is usually called "backspace" elsewhere. It
> deletes to the left of the caret.
> Similarly, ⌦, or "forward delete", is usually called "delete" elsewhere and it
> deletes to the right of the caret.As you might expect, adding ⇧ to any shortcut extends your selection through the
run of text that you would've traversed.## Building
Java 17 or later is required to build. Fabric 0.15.7 or later is targeted.
```
./gradlew build
```