BlocksAdmin

interface BlocksAdmin

Functions

Link copied to clipboard
abstract fun batchPlaceInGrid(    gridId: String,     color: Vec3F? = null,     blockPlacementConfigs: List<BlockLocation>): List<BlockId>
Link copied to clipboard
abstract fun createOrUpdateGroup(    name: String,     gridId: String,     blockIds: List<BlockId>)
Link copied to clipboard
abstract fun mapButtonToBlock(    buttonBlockId: BlockId,     buttonIndex: Int,     action: String,     targetId: BlockId)
Link copied to clipboard
abstract fun mapButtonToGroup(    buttonBlockId: BlockId,     buttonIndex: Int,     action: String,     groupName: String)
Link copied to clipboard
abstract fun placeAt(    blockDefinitionId: DefinitionId,     position: Vec3F,     orientationForward: Vec3F = Vec3F.FORWARD,     orientationUp: Vec3F = Vec3F.UP,     color: Vec3F? = null): CubeGrid
Link copied to clipboard
abstract fun placeInGrid(    blockDefinitionId: DefinitionId,     gridId: String,     minPosition: Vec3I,     orientationForward: Vec3I = Vec3I.FORWARD,     orientationUp: Vec3I = Vec3I.UP,     color: Vec3F? = null): String
Link copied to clipboard
abstract fun remove(blockId: BlockId)
Link copied to clipboard
abstract fun requestConversionToShip(gridId: String)
Link copied to clipboard
abstract fun requestConversionToStation(gridId: String)
Link copied to clipboard
abstract fun setCustomName(blockId: BlockId, customName: String)
Link copied to clipboard
abstract fun setDestructibleBlocks(gridId: String, destructibleBlocks: Boolean)
Link copied to clipboard
abstract fun setIntegrity(blockId: BlockId, integrity: Float)
Link copied to clipboard
abstract fun setPhysicalItemInInventory(    blockId: BlockId,     definitionId: DefinitionId,     amount: Float)

Properties

Link copied to clipboard
abstract val beacon: BeaconAdmin
Link copied to clipboard
abstract val buttonPanel: ButtonPanelAdmin
Link copied to clipboard
abstract val door: DoorBaseAdmin
Link copied to clipboard
abstract val functionalBlock: FunctionalBlockAdmin
Link copied to clipboard
abstract val medicalRoom: MedicalRoomAdmin
Link copied to clipboard
abstract val pistonBase: PistonBaseAdmin
Link copied to clipboard
abstract val sensorBlock: SensorBlockAdmin
Link copied to clipboard
abstract val soundBlock: SoundBlockAdmin
Link copied to clipboard
abstract val survivalKit: SurvivalKitAdmin
Link copied to clipboard
abstract val terminalBlock: TerminalBlockAdmin
Link copied to clipboard
abstract val textPanel: TextPanelAdmin
Link copied to clipboard
abstract val thrust: ThrustAdmin
Link copied to clipboard
abstract val timerBlock: TimerBlockAdmin
Link copied to clipboard
abstract val warhead: WarheadAdmin