Skip to content

Drone Block

NorthWestTrees edited this page Sep 29, 2023 · 1 revision

Overview

Drone Block

Post 4.8.0

These blocks were removed in CCTV Craft 4.8.0 in favour of a Drone Entity.

Pre 4.8.0

Drone blocks are basically moveable cameras. They can be controlled by the player using keybinds to do specific things like actions movement and so on. Though they are limited to a grid-based control system they can allow the player to move a remote camera around the world.

Movement and rotation

Drones can be moved and rotated using key binds, rotation of the drone requires the drone to not be moving.

Modes

Drones also have modes you can use modes by pressing the "M" key to cycle through a couple of modes

  • None
  • Flashlight
  • Night Vision

Actions

Drones also have actions consisting of the following actions.

  • Bombs
  • Guns
  • Move Block
  • Break Block
  • Place Block

Jammers

Drones are affected by the jammer block and will turn off if they come near an active jammer. This will render the drone useless and require you to retrieve the drone.

Turning on/off

Drones can be turned on or off. When the drone is off drone does not consume energy. Also when the drone is off it can not be controlled with the Drone Controller Dones in the off-state are available to open the drone inventory through right shift-clicking the drone.

Permissions and naming

Drones also support custom names using the Name USB. Also, they support setting permissions through the permission card like other cameras.

Energy

Drones require energy provided by a Drone Charger block. The drone must be placed directly on top of the block to start charging. The overlay when controlling the drone will show a yellow bar, when this bar is full the drone is fully charged. Drones will turn off when they run out of energy, this will prevent the player from controlling the drone.

Inventory

Drones have two inventory sections, the left side has 18 slots that can be used for building and block breaking. The 6 slots on the right side are used for drone ammunition (bombs and rounds). The size slots on the right are used according to the top left to the bottom right slots. The slots for building can be cycled through to change your selected slot.

Supported Ammo

  • Regular Rounds
  • Blindness Rounds
  • Poison Rounds
  • Flame Rounds
  • Explosive Rounds
  • Normal Bombs
  • Piercing Bombs
  • Poison Bombs
  • Flame Bombs
  • Water Bombs
  • Lava Bombs

Drone Controls

See the Key Bind page for controls

Recipes

Crafting Recipe

Crafting Table Column 1 Column 2 Column 3
Row 1 A B A
Row 2 B C B
Row 3 A B A
ID Name Tag
A Drone Blade cctvcraft:recipe/drone_blade
B Metal Plate ctvcraft:recipe/metal_plate
C Dye cctvcraft:recipe/dye/<color>

Recipe Group

Information Value
Namespace cctvcraft
Recipe Group drone

Minecraft Tags

Type Tag
Block/item cctvcraft:drone
Block/item cctvcraft:drone/off
Block/item cctvcraft:drone/on
Block cctvcraft:drone/<color>
Block cctvcraft:drone/<color>/off
Block cctvcraft:drone/<color>/on

Forge NBT

Variable Type Type Name Use
String Block Name The name of the drone
String Block State The value of the block being on/off
String Block JammedState The state in which the drone was before it was jammed
Logic Block IsBlockJammed The value of the jammer is on/off
Number Block JammerPosX The position of the jammer
Number Block JammerPosY The position of the jammer
Number Block JammerPosZ The position of the jammer
Number Block Energy How much stored energy the drone has
Number Block ViewX The view position for the drone
Number Block ViewY The view position for the drone
Number Block ViewZ The view position for the drone
Number Block HomePosX The home location for the drone
Number Block HomePosY The home location for the drone
Number Block HomePosZ The home location for the drone

Changes

  • 4.8.0
    • Removed Drone Blocks to use Drone Entities.
  • 4.6.0
    • Added drone name to "Drone View Mode"
  • 4.3.0
    • Added drone blocks
    • Added support for Drone Chargers
    • Added Jammer support
    • Added crafting recipe
    • Added Minecraft tags
    • Added custom overlay
    • Added custom model
    • Added dye support
    • Added block textures.
    • Added movement controls

🏠 Home

😺 GitHub

πŸ“‘ Mod Pages

πŸ§ͺ Development

Clone this wiki locally