Skip to main content
RustDocs

Command Block

command.block

A block that runs commands

Attributes

Id
-1,247,485,104
ShortName
command.block
MaxStackSize
64
Hidden
No
Flags
0
Category
16
CategoryName
Electrical
Rarity
0
RarityName
None
DespawnRarityName
None
DespawnTimeSeconds
300
QuickDespawn
No
Volume
0
BaseRadioactivity
0
Era
None
IsVehicleItem
No
OccupySlots
0
ApprovedSkinCount
0
MaxDraggable
0
Capacity
0
Weight
1
StorageSlots
0

ItemModsData

ItemModDeployable

entityPrefab_Path
assets/prefabs/deployable/playerioents/commandblock/command.block.deployed.prefab
showCrosshair
No

ItemModEntity

entityPrefab_Path
assets/prefabs/tools/planner/building_planner.entity.prefab
playerOnlyEntity
Yes
destroyEntityWhenBroken
No
parentItemDefinition_ShortName
command.block

Electrical

PowerConsumption
0
Inputs
1
Outputs
1

ItemMods

ItemModDeployableItemModEntity

World Entity Properties

Attributes

Type
CommandBlock
Path
assets/prefabs/deployable/playerioents/commandblock/command.block.deployed.prefab
ID
3,942,188,602

Components

CommandBlock
Raw JSON
{
  "Id": -1247485104,
  "ShortName": "command.block",
  "MaxStackSize": 64,
  "Hidden": false,
  "Flags": 0,
  "FlagNames": [],
  "Category": 16,
  "CategoryName": "Electrical",
  "Rarity": 0,
  "RarityName": "None",
  "SteamDlcItem": null,
  "ItemMods": [
    "ItemModDeployable",
    "ItemModEntity"
  ],
  "DespawnRarityName": "None",
  "DespawnTimeSeconds": 300,
  "QuickDespawn": false,
  "Volume": 0,
  "BaseRadioactivity": 0,
  "Era": "None",
  "IsVehicleItem": false,
  "VehicleCategory": null,
  "OccupySlots": "0",
  "ParentItem": null,
  "RedirectOf": null,
  "ApprovedSkinCount": 0,
  "ItemModsData": {
    "ItemModDeployable": {
      "entityPrefab_Path": "assets/prefabs/deployable/playerioents/commandblock/command.block.deployed.prefab",
      "showCrosshair": false,
      "UnlockAchievement": ""
    },
    "ItemModEntity": {
      "entityPrefab_Path": "assets/prefabs/tools/planner/building_planner.entity.prefab",
      "defaultBone": "",
      "playerOnlyEntity": true,
      "destroyEntityWhenBroken": false,
      "parentItemDefinition_ShortName": "command.block"
    }
  },
  "MaxDraggable": 0,
  "Capacity": 0,
  "Weight": 1,
  "Blueprint": null,
  "Condition": null,
  "Combat": null,
  "Harvest": null,
  "Consumable": null,
  "Electrical": {
    "PowerConsumption": 0,
    "Inputs": 1,
    "Outputs": 1
  },
  "TechTreePaths": null,
  "Armor": null,
  "Recipe": null,
  "WeaponMod": null,
  "StorageSlots": 0,
  "RepairIngredients": []
}