mirror of
				https://github.com/SikongJueluo/cc-utils.git
				synced 2025-11-04 19:27:50 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			265 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			265 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
declare interface BlockItemDetailData {
 | 
						|
  id: string;
 | 
						|
  tag: object;
 | 
						|
  Count: number;
 | 
						|
  Slot: number;
 | 
						|
}
 | 
						|
 | 
						|
declare interface BlockDetailData {
 | 
						|
  Items: Record<number, BlockItemDetailData>;
 | 
						|
}
 | 
						|
 | 
						|
declare class BlockReaderPeripheral {
 | 
						|
  getBlockData(): BlockDetailData;
 | 
						|
}
 |