-
Changed Text cursor's hotspot y to 15 for the default resource
-
Registered tab buttons e.g. Create World Tabs (currently only works in 1.21.4+)
-
Added checks for the following GUIs:
- Book and Quill
- Cursor changes to text when hovering inside the edit screen
- Enchanting Table
- Cursor changes to pointer when hovering over available enchants
- Stonecutter
- Cursor changes to pointer when hovering over available recipes
- Loom
- Cursor changes to pointer when hovering over applicable patterns
- Crafter
- Cursor changes to pointer when hovering over toggleable slots
- Book and Quill
-
Note: Mods that shift the positions of the in-game GUIs may lead to unexpected state changes with the cursor.
Unfortunately, most elements from in-game GUIs are not actually elements and are drawn directly on the screen, with their sizes and positions obfuscated and/or hardcoded.
- Now checks for GUI elements from the Recipe Book Screen and Creative Inventory Screen
- Change Scale min from 1.0 to 0.5
- Change Scale step from 0.25 to 0.05
- The current cursor now changes to the selected cursor while configuring the scale
- Moved the config from minecraft-cursor/options.txt to config/minecraft-cursors.json
- Fix flickering of current cursor when being updated
- Fix "crash" when quitting the game
...there was also a lot of refactored code
- context-aware cursors
- renamed cursor.png to default.png
- pointer.png when hovering over buttons
- text.png when hovering over text fields
- limited to common gui elements
- In-game GUI not yet included
-
overhauled options screen
- can now also be accessed from Options > Controls > Mouse Settings... > Cursor Settings...
-
changed resource pack structure
- added custom config support
└── minecraft-cursor/
├── atlases/
│ └── cursors.json
└── textures/
└── cursors/
├── default.png
├── pointer.png
└── text.png
- cursors.json:
{
"settings" : {
"default" : {
"scale" : 1.0,
"xhot" : 7,
"yhot" : 3,
"enabled" : true
},
"pointer" : {
"scale" : 1.0,
"xhot" : 7,
"yhot" : 3,
"enabled" : true
},
"text" : {
"scale" : 1.0,
"xhot" : 12,
"yhot" : 3,
"enabled" : true
}
},
}
Minecraft Cursor Mod
A Fabric mod that replaces the boring old default system cursor with a Minecraft-themed cursor.
Features
- Minecraft-Themed Cursor
- Resource Pack Support: Customize the cursor via resource packs
assets/minecraft-cursor/textures/cursor.png
.- The image size is unrestricted; however, the recommended size is 32x32 pixels.
- Customization with Mod Menu (optional):
- Enable or disable the custom cursor in-game.
- Customize cursor scale.
- Minimum: 0.25
- Maximum: 3.00
- Adjust X and Y hotspot/click location.
- The maximum values for X and Y are equal to the image's width and height, respectively.
- Adjusts automatically with the scale option.
Requirements
- Fabric Minecraft 1.21.4
- Compatible with Mod Menu (optional for in-game customization).