Home›Java›Mods›Camera Obscura - Serverside Rendering
Camera Obscura - Serverside Rendering
ModsJava

Camera Obscura - Serverside Rendering

Java mod listed for Minecraft 1.21. Download on the author's site.

by tomalbrc · on CurseForge

⬇ Download on CurseForge
Camera Obscura - Serverside Rendering — screenshot 1Camera Obscura - Serverside Rendering — screenshot 2Camera Obscura - Serverside Rendering — screenshot 3Camera Obscura - Serverside Rendering — screenshot 4Camera Obscura - Serverside Rendering — screenshot 5Camera Obscura - Serverside Rendering — screenshot 6Camera Obscura - Serverside Rendering — screenshot 7Camera Obscura - Serverside Rendering — screenshot 8

Camera Obscura

Camera Obscura Icon

Take photos of your world / server!
When used on a server: no client side mods required!
Everything is rendered on the server using raycasting.

Requires the Polymer library!

Comparison

Item:

The mod adds a Camera Item, for clients it looks and functions like a normal spyglass but has a custom name and consumes a map item or other, as specified in the configs.

There is no recipe for the item (yet)

Configs

The config file will be created on first launch and is located in
configs/camera-obscura.json

Example config with default values:

{
  "renderDistance": 128,
  "showSystemMessages": false,
  "renderEntities": false,
  "renderEntitiesAmount": 20,
  "fullbright": false,
  "fov": 70,
  "biomeBlend": 1,
  "cameraItem": "minecraft:spyglass",
  "cameraConsumesItem": true,
  "cameraConsumeItem": "minecraft:map",
  "commandPermissionLevel": 2
}

Explanation:

Commands:

/camera-obscura

Takes a picture of the player running the command and gives the resulting map item to that player


/camera-obscura <[Entity|Player]> <scale>

Takes a picture as the source entity and gives the player the resulting maps, a scale of up to 3 (3x3 maps) can be specified optionally.


/camera-obscura save

Takes a picture of the player running the command and saves it as png in
renders/<imagename>.png,
where imagename is the current date in the format
yyyy-MM-dd HH:mm:ss.SSS


/camera-obscura save <Entity> <scale>

Takes a picture as the source entity and gives the player the resulting maps, a scale of up to 10 (1280px * 1280px) can be specified optionally.

Default image size is 128px * 128px


/camera-obscura clear-cache

Clears the cache (textures, resourcepack models and blockstate definitions, cached render models)

Permissions:

Default Vanilla permission level is 4, this can be configured with commandPermissionLevel For luckperms, etc. - those should be self-explanatory:


camera-obscura.command
camera-obscura.command.scale


camera-obscura.command.entity
camera-obscura.command.entity.scale


camera-obscura.command.save
camera-obscura.command.save.scale


camera-obscura.command.save.entity
camera-obscura.command.save.entity.scale


camera-obscura.clear-cache


Known Issues:

All of those will be fixed sooner or later

How it works:

The game assets are downloaded from mojangs servers and read to render the world using raytracing.
When the render is done, a Map item with the image is created or a png is saved to the renders folder.


Test Sever

Join the test server with a 1.20.5-1.21.1+ client on

mc.tomalbrc.de:25565

to test this mod and my other mods + upcoming, unreleased mods and features!

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Camera Obscura - Serverside Rendering is a free Minecraft Java mod. Compatible with Minecraft 1.21.11, 1.21.7, 1.21.6, 1.21.8 and newer. Downloaded 2,681 times (via CurseForge). Download it and open it directly in the game.

Explore more