LibZoomer
A library that allows other mods to create zooms and custom spyglasses easily. Essentially Ok Zoomer but it's an API.
Install / Use
/learn @Up-Mods/LibZoomerREADME
LibZoomer
A library that allows other mods to create zooms and custom spyglasses easily. The current supported version is Minecraft 1.20.
Usage
WARNING: This API is still not finished and breaking changes may happen until a 1.0.0 release happens!
This library is available through Maven Central and Jitpack. If none of these options work, consider using local Maven on the source code of a released version.
LibZoomer provides zooming through zoom instances, which contains three sub-instances: transition modes, mouse modifiers and zoom overlays. A zoom instance can be created with different subinstances, which can be either provided by the library or implemented by the mod itself. In order to a zoom instance to be functional, it must be registered by the ZoomRegistry. In order to make the instance zoom in, the instance's zoom state must be set to true, which can be done using the setZoom method, the vice-versa can be done by setting it to false.
A better guide will be written later, feel free to take a look on this mod's testmod if you want an example!
Download
This mod is meant to be JiJ'd by mods, so you wouldn't need to download it at all in most cases. If you really need to download it, it's available in the following services:
License
This mod is licensed under the MIT license. You can freely Jar-in-Jar this mod on any mod with no permission. Usage of this mod's code on other projects or derivatives of this mod is allowed as long as attribution is given.
Related Skills
node-connect
348.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
348.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
348.5kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
