Skip to content

Camera Block

NorthWestTrees edited this page May 19, 2024 · 12 revisions

Note

This page is currently updated to CCTVCraft 4.8.0 and above.
This is a sub-page of the wiki page for cameras.

GUI Texture

Camera Block

General

Remote Floppy Disk

When the block is ON you can right-click the camera with a Remote Floppy Disk to store the position of the camera. This can later be added to a Monitor which will allow you to view the camera from a distance.

Viewing And Controls

All camera blocks are viewed in the spectator mode at a fixed position. Players viewing the camera can zoom in and out cycle to different cameras on the monitor and even set the display mode to night vision or normal. Also, players can exit the camera view at any time. Read the keybinds page for more information on the Camera View controls.

Permissions

Cameras like many other devices use permissions. When the block is added permissions are already configured for the player that placed the block. They will be set to admin and member roles. You can use the Permission Card to edit the permissions for this block.

Rotation

You can use a Screwdriver to rotate the block without breaking the block and ping it down again, this will keep all its variables and settings.

Naming

You can name the block using a Name USB or while the block is linked to a monitor you can edit the name of the block via the Naming menu using a command.

Jammers

All camera blocks are affected by signal disruption from Jammer blocks. When the Jammer is on near the camera the camera will stop working. If the jammer is broken the default state before the jammer was placed will be set to the camera. When the jammer is turned off the camera will be turned on.

Remotes

You can use a Remote to toggle the camera on and off remotely.

Properties

  • Tool: Pickaxe
  • Harvest level: IRON or better
  • Drops: Itself
  • Hardness: 5
  • Resistance: 15
  • Map colour: White, (Quartz)
  • Piston: Block
  • Pathfinding: Blocked
  • Ticks: true, (1)
  • Tile entity: true

Recipes

Crafting Recipe

Crafting Table Column 1 Column 2 Column 3
Row 1 A A A
Row 2 A B A
Row 3 C D C
ID Name Tag
A Aluminum Plate forge:plates/aluminum
B Gold Ingot forge:ingots/gold
C Lens cctvcraft:resources/lens
D Copper Wire forge:wires/copper

Recipe Information

  • Recipe namespace: cctvcraft
  • Recipe registry name: camera_block_crafting
  • Recipe group name: cameras
  • Recipe book category: MISC
  • Is shapeless: false

Recipe Unlocks

The recipe will unlock when the player has done the following:

  1. Craft CCTVCraft Lens

Minecraft Tags

Type Tag Use
Block/item cctvcraft:cameras/camera_block Mechanics and recipes
Block/item cctvcraft:cameras/camera_block/off Mechanics and recipes
Block/item cctvcraft:cameras/camera_block/on Mechanics and recipes
Block/item cctvcraft:cameras Mechanics and recipes
Block/item cctvcraft:cameras/off Mechanics and recipes
Block/item cctvcraft:cameras/on Mechanics and recipes

Forge NBT

Variable Type Type Name Use
String Block State Sets the blocks on/off state
String Block name Sets the blocks display name
String Block JammedState Used to know the jammer block state
Logic Block IsBlockJammed Used to know the jammer block state
Number Block ViewX Sets the view position for the block
Number Block ViewY Sets the view position for the block
Number Block ViewZ Sets the view position for the block
Number Block JammerPosX Sets the position for the jammer block
Number Block JammerPosY Sets the position for the jammer block
Number Block JammerPosZ Sets the position for the jammer block

Scoreboard

As of 4.8.0, this item recipe is unlocked using scoreboards and objectives.
Before 4.8.0 recipes were unlocked using procedures.

Important

This still needs to be implemented.

Used Objectives

These objectives are used in the unlocking of the item's recipe. These objectives are used to unlock other item's recipes.

Name Type Score Source For
cctvcraftRecipe10 Crafting 1 or higher cctvcraft:lens cctvcraft:camera_block

Objectives

These objectives are used to unlock other item's recipes.

Name Type Score Source For

Related Pages

  1. Aluminum Plate
  2. Copper Wire
  3. Jammer
  4. Keybinds
  5. Lens
  6. Monitor
  7. Name USB
  8. Permission Card
  9. Remote
  10. Remote Floppy Disk
  11. Screwdriver

External Links

  1. Minecraft Wiki - Gold Ingot

Changes

  • 4.8.0
    • Added a new recipe unlock system.
    • Updated tags for some resources
    • Updated some of the crafting recipes to use new tags
  • 4.6.0
    • Added support for screwdrivers
    • Added support for remotes
    • Updated the crafting recipe
    • Updated the recipe group
    • Updated the camera's Name variable to use a lowercase N instead.
  • 4.5.0
    • Unknown

🏠 Home

😺 GitHub

πŸ“‘ Mod Pages

πŸ§ͺ Development

Clone this wiki locally