CC: Spatial Projector

Programmable ComputerCraft holograms for drawing lines, boxes, markers, and overlays in the world.

Редакция NLZONE · 2 мин чтения · 0 просмотров
CC: Spatial Projector
Скачать CC: Spatial Projector1.21.1 · с официальной страницы: modrinth.com
Перейти к загрузке

Что это

Programmable ComputerCraft holograms for drawing lines, boxes, markers, and overlays in the world.

  • Тип: мод
  • Загрузчик: neoforge
  • Версии Minecraft: 1.21.1
  • Скачиваний на Modrinth: 1 983

Подробно

Programmable world-space overlays for CC:Tweaked computers and turtles.

CC: Spatial Projector lets ComputerCraft programs draw lines, paths, boxes, and markers directly in the Minecraft world.

Place a Spatial Projector, connect it to a ComputerCraft computer, turtle, or wired modem, and wear bound Spatial Goggles to see its output. Use it for technical build planning, navigation, turtle debugging, automation displays, and custom spatial interfaces.

Visuals are overlays only. They do not place blocks, spawn entities, or affect collisions.

- ComputerCraft peripheral named spatialprojector - Spatial Goggles for viewing projector output - Lua API for lines, polylines, boxes, and markers - Named visual objects that can be updated, removed, listed, or cleared - Persistent visuals by default - Optional TTL for temporary visuals - Configurable limits and default values - Built-in demo and utility commands - Optional Curios support for wearing goggles in a supported Curios slot

1. Place a Spatial Projector. 2. Put a ComputerCraft computer or turtle next to it, or connect it using a wired modem. 3. Right-click the projector with Spatial Goggles to bind them. 4. Wear the bound goggles. 5. Run the built-in demo:

text spatialprojector -- run the demo spatialprojector demo 30 -- run the demo with a 30-second TTL spatialprojector clear -- clear all visuals spatialprojector stats -- show projector statistics spatialprojector list -- list object IDs in the buffer

lua local projector = peripheral.find("spatialprojector") if not projector then error("spatialprojector not found") end

projector.line("axis.x", 0, 64, 0, 16, 64, 0, { color = 0xff3333, width = 0.07, })

projector.marker("target", 16, 64, 0, { color = 0xff33cc, size = 1.0, })

Each visual is stored under a string ID inside the projector buffer. Drawing another object with the same ID replaces the previous visual.

lua projector.line(id, x1, y1, z1, x2, y2, z2, options) projector.polyline(id, points, options) projector.box(id, x1, y1, z1, x2, y2, z2, options) projector.marker(id, x, y, z, options)

options is optional. If it is omitted, the projector uses its configured defaults.

lua { color = 0x33ff88, -- RGB color width = 0.0625, -- line, polyline, and box width ttl = 0, -- seconds before auto-removal; 0 means persistent size = 0.35, -- marker size }

Как установить

Скачайте файл на официальной странице ниже и положите его в папку mods (для модов) или plugins (для плагинов) вашего сервера или клиента. Для модов нужен совместимый загрузчик. Версия должна совпадать с версией Minecraft.

Текст подготовлен автоматически из описания на Modrinth и ждёт проверки редакцией.

Редакция NLZONE

Пишем о серверах, модах и играх, в которые играем сами. Нашли ошибку — напишите нам, исправим.

Комментарии 0

Комментарии к этому материалу отключены.

Читайте также