Blocks Admin
Functions
Link copied to clipboard
abstract fun batchPlaceInGrid( gridId: String, color: Vec3F? = null, blockPlacementConfigs: List<BlockLocation>): List<BlockId>
Content copied to clipboard
Link copied to clipboard
abstract fun createOrUpdateGroup( name: String, gridId: String, blockIds: List<BlockId>)
Content copied to clipboard
Link copied to clipboard
abstract fun mapButtonToBlock( buttonBlockId: BlockId, buttonIndex: Int, action: String, targetId: BlockId)
Content copied to clipboard
Link copied to clipboard
abstract fun mapButtonToGroup( buttonBlockId: BlockId, buttonIndex: Int, action: String, groupName: String)
Content copied to clipboard
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
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun setDestructibleBlocks(gridId: String, destructibleBlocks: Boolean)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun setPhysicalItemInInventory( blockId: BlockId, definitionId: DefinitionId, amount: Float)
Content copied to clipboard