CurseForge · Minecraft mod
i113w's Camera Lib
A Lib that provides the RTS Style Camera System which is used by Better Mine Team.
Quick answer
Which i113w's Camera Lib release should I use?
i113w's Camera Lib i113w_camera_lib-1.20.1-0.0.4.jar targets 1.20.1 with Forge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.
Where it goes
Is i113w's Camera Lib required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does i113w's Camera Lib i113w_camera_lib-1.20.1-0.0.4.jar need?
i113w_camera_lib-1.20.1-0.0.4.jar. Change the file and its required mods may change too.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add i113w's Camera Lib without breaking your instance.
Built for i113w's Camera Lib i113w_camera_lib-1.20.1-0.0.4.jar. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use i113w_camera_lib-1.20.1-0.0.4.jar. It targets 1.20.1 with Forge; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside i113w_camera_lib-1.20.1-0.0.4.jar. It opens that exact file at the source.
About this project
What does i113w's Camera Lib add?
i113w's Camera Lib
A NeoForge 1.21.1 client-side library that provides a complete RTS-style camera system — including camera movement, entity box-selection, right-click command zones, ray casting, and highlight rendering.
Designed to be consumed by other mods (e.g., Better Mine Team) via a thin API layer.
Requirements
| Item | Version |
|---|---|
| Minecraft | 1.21.1 |
| NeoForge | 21.1.209+ |
| Java | 21 |
| Side | Client-only |
Importing the Library
Local JAR (place the JAR in your mod's libs/ directory):
dependencies {
implementation files('libs/i113w_camera_lib-0.0.1.jar')
}
Declare the dependency in META-INF/neoforge.mods.toml:
[[dependencies."your_mod_id"]]
modId = "i113w_camera_lib"
type = "required"
versionRange = "[0.0.1,)"
ordering = "BEFORE"
side = "CLIENT"
Key Interfaces & Classes
CameraLibAPI — singleton entry point
CameraLibAPI api = CameraLibAPI.get();
// Register your delegate
api.setInteractionDelegate(new MyDelegate());
// Sync selected entity IDs to the library (drives outline rendering)
api.setSelectedEntities(Set<Integer> ids);
// Query hovered entity (-1 if none)
int id = api.getHoveredEntityId();
// Clear selection and hover state
api.clearSelection();
IRTSInteractionDelegate — inject business logic
public interface IRTSInteractionDelegate {
boolean isSelectable(Entity entity);
ResourceLocation getCursorIcon(@Nullable Entity hoveredEntity, boolean isAttackDragging);
}
Register via CameraLibAPI.get().setInteractionDelegate(impl).
Events (fired on NeoForge.EVENT_BUS)
RTSBoxSelectEvent — left-click or drag-box completed
@SubscribeEvent
public static void onSelect(RTSBoxSelectEvent event) {
List<Entity> candidates = event.getCandidates(); // pre-filtered by isSelectable()
}
RTSRightClickEvent — right-click or right-drag completed
@SubscribeEvent
public static void onRightClick(RTSRightClickEvent event) {
if (event.isDrag()) {
List<Entity> targets = event.getDragTargets();
} else {
HitResult hit = event.getSingleHitResult(); // BlockHitResult or EntityHitResult
}
}
RTSCameraController — camera state
RTSCameraController cam = RTSCameraController.get();
cam.toggleRTSMode(); // activate / deactivate
cam.toggleCameraStyle(); // switch RTS <-> FREE (while active)
cam.isActive(); // boolean
cam.reset(); // force-exit, use on logout / level unload
Camera Modes
| Mode | FOV | Zoom | Yaw Rotation |
|---|---|---|---|
| RTS | 25° (fixed) | Scroll wheel | Hold Left Ctrl + drag (snaps by rtsSnapAngle) |
| FREE | Standard | Scroll wheel (moves forward) | Hold Left Ctrl + drag (continuous) |
Highlight Rendering
The library automatically draws entity outlines when the camera is active. No rendering code is needed in the consumer mod — just keep CameraLibAPI.setSelectedEntities(...) in sync.
| Color | Condition |
|---|---|
| White | Entity ID is in the selected set |
| Yellow | Hovered entity (not in selected set) |
Configuration
Player-adjustable values in .minecraft/config/i113w_camera_lib-client.toml:
| Key | Default | Description |
|---|---|---|
rtsPitchMin / Max |
35 / 45 | Pitch clamp range in RTS mode |
freePitchMin / Max |
10 / 90 | Pitch clamp range in FREE mode |
rtsZoomMin / Max |
10 / 80 | Zoom distance clamp in RTS mode |
rtsZoomSpeedMultiplier |
3.5 | Scroll wheel zoom sensitivity |
rtsSnapAngle |
90 | Degrees per yaw snap step |
freeRotationSpeed |
5.0 | Mouse yaw sensitivity in FREE mode |
thresholdPx |
20 | Edge-pan trigger distance (pixels from screen edge) |
baseSpeed |
1.0 | WASD movement speed |
sprintMultiplier |
2.0 | Speed multiplier when sprint key is held |
License
MIT — see LICENSE
Author: i113w
Project description from CurseForge.
Pick your setup
i113w's Camera Lib by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.21.1
1 loader build1.20.1
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
i113w's Camera Lib versions and loaders
i113w_camera_lib-1.20.1-0.0.4.jar
5 Sept 2026
i113w_camera_lib-2612-0.0.1-alpha1.jar
13 Jun 2026
i113w_camera_lib-1.20.1-0.0.3-alpha2.jar
9 Jun 2026
i113w_camera_lib-0.0.3-alpha3.jar
9 Jun 2026
i113w_camera_lib-1.20.1-0.0.3-alpha1.jar
8 Jun 2026
i113w_camera_lib-0.0.3-alpha2.jar
8 Jun 2026
i113w_camera_lib-0.0.3-alpha1.jar
8 Jun 2026
i113w_camera_lib-0.0.2.jar
8 Jun 2026
i113w_camera_lib-1.20.1-0.0.2-alpha1.jar
8 Jun 2026
i113w_camera_lib-0.0.1.jar
15 Mar 2026
Looking for an older file? The official CurseForge project page is in Resources.