Camera Obscura – Serverside Rendering
Take Photos of your world or server as Map Item, no client-side mods required!
截图
介绍
Camera Obscura
![]()
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!

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:
renderDistance: Render distance in blocksshowSystemMessages: Flag wether system messages should be shown when a photo is being taken when run as command, default isfalserenderEntities: Flag for experimental entity rendering, default isfalserenderEntitiesAmount: Amount of entities to render when entity rendering is enabled, default is20fullbright: Flag wether light levels should be ignored, rendering everything with the highest light level. Default isfalsefov: Field of View, functions the same way the vanilla client FOV works, minimum value is 30, maximum 110 (Quake Pro). Default is70biomeBlend: Biome blend valuecameraItem: Vanilla Item to use as camera item model/texture, default isminecraft:spyglasscameraConsumesItem: Flag if an item should be consumed, default value istruecameraConsumeItem: Item to consume when the camera item is used. No items will be consumed when ran as command, default isminecraft:mapcommandPermissionLevel: Vanilla Permission level, default value is2
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 (3×3 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
- Entity rendering is slow and doesn’t support all entities
- Liquids are "blocky"
- Hard lighting
- End Gateway and end portal blocks are pure black (they use the black concrete texture temporarily)
- Models that are larger than a single block can get cut-off during rendering
- Rendering breaks with coordinates in the millions
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!
常见问题
Camera Obscura – Serverside Rendering 支持哪些 Minecraft 版本?
Camera Obscura – Serverside Rendering 支持 Minecraft Java 版 1.21–26.3,共 14 个版本,可用的加载器:Fabric / Quilt。下载时注意选择和你游戏版本一致的文件。
Camera Obscura – Serverside Rendering 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
tomalbrc 的其他作品
查看全部 →
filament
为基于 Fabric 的服务器添加由数据驱动的物品、方块、装饰和生物。 无需安装客户端模组!
filament
数据驱动的方块、物品和装饰,适用于基于 Fabric 的服务端。无需客户端模组!
Visual Jukebox
显示唱片机中的唱片,带有旋转动画,以及带插入/弹出动画的静态选项。适用于 Fabric 服务端。
Toms Server Additions: Decorations & Furniture
服务端装饰与家具,自带专属工作台方块!无需客户端模组!
评论
登录后评论和评分