mirror of
				https://github.com/SquidDev-CC/CC-Tweaked
				synced 2025-10-30 21:23:00 +00:00 
			
		
		
		
	Merge branch 'master' into mc-1.14.x
This commit is contained in:
		
							
								
								
									
										6
									
								
								.github/workflows/main-ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/main-ci.yml
									
									
									
									
										vendored
									
									
								
							| @@ -18,6 +18,12 @@ jobs: | |||||||
|     - name: Build with Gradle |     - name: Build with Gradle | ||||||
|       run: ./gradlew build --no-daemon |       run: ./gradlew build --no-daemon | ||||||
|  |  | ||||||
|  |     - name: Upload Jar | ||||||
|  |       uses: actions/upload-artifact@v1 | ||||||
|  |       with: | ||||||
|  |         name: CC-Tweaked | ||||||
|  |         path: build/libs | ||||||
|  |  | ||||||
|   lint-lua: |   lint-lua: | ||||||
|     name: Lint Lua |     name: Lint Lua | ||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|   | |||||||
| @@ -1,5 +1,5 @@ | |||||||
| # Mod properties | # Mod properties | ||||||
| mod_version=1.86.0 | mod_version=1.86.1 | ||||||
|  |  | ||||||
| # Minecraft properties (update mods.toml when changing) | # Minecraft properties (update mods.toml when changing) | ||||||
| mc_version=1.14.4 | mc_version=1.14.4 | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of ComputerCraft - http://www.computercraft.info |  * This file is part of ComputerCraft - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. Do not distribute without permission. |  * Copyright Daniel Ratcliffe, 2011-2020. Do not distribute without permission. | ||||||
|  * Send enquiries to dratcliffe@gmail.com |  * Send enquiries to dratcliffe@gmail.com | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft; | package dan200.computercraft; | ||||||
|  |  | ||||||
| import dan200.computercraft.api.turtle.event.TurtleAction; | import dan200.computercraft.api.turtle.event.TurtleAction; | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
| package dan200.computercraft.api; | package dan200.computercraft.api; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.api; | package dan200.computercraft.api; | ||||||
|  |  | ||||||
| import dan200.computercraft.api.filesystem.IMount; | import dan200.computercraft.api.filesystem.IMount; | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
| package dan200.computercraft.api.filesystem; | package dan200.computercraft.api.filesystem; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.api.filesystem; | package dan200.computercraft.api.filesystem; | ||||||
|  |  | ||||||
| import java.io.IOException; | import java.io.IOException; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.api.filesystem; | package dan200.computercraft.api.filesystem; | ||||||
|  |  | ||||||
| import dan200.computercraft.api.ComputerCraftAPI; | import dan200.computercraft.api.ComputerCraftAPI; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.api.filesystem; | package dan200.computercraft.api.filesystem; | ||||||
|  |  | ||||||
| import dan200.computercraft.api.ComputerCraftAPI; | import dan200.computercraft.api.ComputerCraftAPI; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.api.lua; | package dan200.computercraft.api.lua; | ||||||
|  |  | ||||||
| import dan200.computercraft.api.peripheral.IComputerAccess; | import dan200.computercraft.api.peripheral.IComputerAccess; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.api.lua; | package dan200.computercraft.api.lua; | ||||||
|  |  | ||||||
| import dan200.computercraft.api.filesystem.IFileSystem; | import dan200.computercraft.api.filesystem.IFileSystem; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.api.lua; | package dan200.computercraft.api.lua; | ||||||
|  |  | ||||||
| import dan200.computercraft.api.ComputerCraftAPI; | import dan200.computercraft.api.ComputerCraftAPI; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.api.lua; | package dan200.computercraft.api.lua; | ||||||
|  |  | ||||||
| import dan200.computercraft.api.ComputerCraftAPI; | import dan200.computercraft.api.ComputerCraftAPI; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.api.lua; | package dan200.computercraft.api.lua; | ||||||
|  |  | ||||||
| import javax.annotation.Nonnull; | import javax.annotation.Nonnull; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.api.lua; | package dan200.computercraft.api.lua; | ||||||
|  |  | ||||||
| import dan200.computercraft.api.peripheral.IComputerAccess; | import dan200.computercraft.api.peripheral.IComputerAccess; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.api.lua; | package dan200.computercraft.api.lua; | ||||||
|  |  | ||||||
| import javax.annotation.Nullable; | import javax.annotation.Nullable; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.api.lua; | package dan200.computercraft.api.lua; | ||||||
|  |  | ||||||
| import javax.annotation.Nullable; | import javax.annotation.Nullable; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.api.media; | package dan200.computercraft.api.media; | ||||||
|  |  | ||||||
| import dan200.computercraft.api.filesystem.IMount; | import dan200.computercraft.api.filesystem.IMount; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.api.media; | package dan200.computercraft.api.media; | ||||||
|  |  | ||||||
| import net.minecraft.item.ItemStack; | import net.minecraft.item.ItemStack; | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
| package dan200.computercraft.api.network; | package dan200.computercraft.api.network; | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
| package dan200.computercraft.api.network; | package dan200.computercraft.api.network; | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
| package dan200.computercraft.api.network; | package dan200.computercraft.api.network; | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
| package dan200.computercraft.api.network; | package dan200.computercraft.api.network; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.api.network.wired; | package dan200.computercraft.api.network.wired; | ||||||
|  |  | ||||||
| import dan200.computercraft.api.ComputerCraftAPI; | import dan200.computercraft.api.ComputerCraftAPI; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.api.network.wired; | package dan200.computercraft.api.network.wired; | ||||||
|  |  | ||||||
| import dan200.computercraft.api.peripheral.IPeripheral; | import dan200.computercraft.api.peripheral.IPeripheral; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.api.network.wired; | package dan200.computercraft.api.network.wired; | ||||||
|  |  | ||||||
| import dan200.computercraft.api.peripheral.IPeripheral; | import dan200.computercraft.api.peripheral.IPeripheral; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.api.network.wired; | package dan200.computercraft.api.network.wired; | ||||||
|  |  | ||||||
| import dan200.computercraft.api.network.IPacketNetwork; | import dan200.computercraft.api.network.IPacketNetwork; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.api.network.wired; | package dan200.computercraft.api.network.wired; | ||||||
|  |  | ||||||
| import dan200.computercraft.api.network.IPacketSender; | import dan200.computercraft.api.network.IPacketSender; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.api.peripheral; | package dan200.computercraft.api.peripheral; | ||||||
|  |  | ||||||
| import dan200.computercraft.api.ComputerCraftAPI; | import dan200.computercraft.api.ComputerCraftAPI; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.api.peripheral; | package dan200.computercraft.api.peripheral; | ||||||
|  |  | ||||||
| import dan200.computercraft.api.lua.ArgumentHelper; | import dan200.computercraft.api.lua.ArgumentHelper; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.api.peripheral; | package dan200.computercraft.api.peripheral; | ||||||
|  |  | ||||||
| import net.minecraft.tileentity.TileEntity; | import net.minecraft.tileentity.TileEntity; | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
| package dan200.computercraft.api.peripheral; | package dan200.computercraft.api.peripheral; | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
| package dan200.computercraft.api.peripheral; | package dan200.computercraft.api.peripheral; | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
| package dan200.computercraft.api.pocket; | package dan200.computercraft.api.pocket; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.api.pocket; | package dan200.computercraft.api.pocket; | ||||||
|  |  | ||||||
| import dan200.computercraft.api.peripheral.IPeripheral; | import dan200.computercraft.api.peripheral.IPeripheral; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.api.pocket; | package dan200.computercraft.api.pocket; | ||||||
|  |  | ||||||
| import dan200.computercraft.api.ComputerCraftAPI; | import dan200.computercraft.api.ComputerCraftAPI; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.api.redstone; | package dan200.computercraft.api.redstone; | ||||||
|  |  | ||||||
| import net.minecraft.util.Direction; | import net.minecraft.util.Direction; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.api.turtle; | package dan200.computercraft.api.turtle; | ||||||
|  |  | ||||||
| import com.mojang.authlib.GameProfile; | import com.mojang.authlib.GameProfile; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.api.turtle; | package dan200.computercraft.api.turtle; | ||||||
|  |  | ||||||
| import dan200.computercraft.api.lua.ILuaContext; | import dan200.computercraft.api.lua.ILuaContext; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.api.turtle; | package dan200.computercraft.api.turtle; | ||||||
|  |  | ||||||
| import dan200.computercraft.api.ComputerCraftAPI; | import dan200.computercraft.api.ComputerCraftAPI; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.api.turtle; | package dan200.computercraft.api.turtle; | ||||||
|  |  | ||||||
| /** | /** | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.api.turtle; | package dan200.computercraft.api.turtle; | ||||||
|  |  | ||||||
| import net.minecraft.util.Direction; | import net.minecraft.util.Direction; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.api.turtle; | package dan200.computercraft.api.turtle; | ||||||
|  |  | ||||||
| /** | /** | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.api.turtle; | package dan200.computercraft.api.turtle; | ||||||
|  |  | ||||||
| /** | /** | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.api.turtle; | package dan200.computercraft.api.turtle; | ||||||
|  |  | ||||||
| import net.minecraft.util.Direction; | import net.minecraft.util.Direction; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.api.turtle.event; | package dan200.computercraft.api.turtle.event; | ||||||
|  |  | ||||||
| /** | /** | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.api.turtle.event; | package dan200.computercraft.api.turtle.event; | ||||||
|  |  | ||||||
| import dan200.computercraft.api.turtle.ITurtleAccess; | import dan200.computercraft.api.turtle.ITurtleAccess; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.api.turtle.event; | package dan200.computercraft.api.turtle.event; | ||||||
|  |  | ||||||
| import dan200.computercraft.api.turtle.ITurtleAccess; | import dan200.computercraft.api.turtle.ITurtleAccess; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.api.turtle.event; | package dan200.computercraft.api.turtle.event; | ||||||
|  |  | ||||||
| import dan200.computercraft.api.lua.ILuaContext; | import dan200.computercraft.api.lua.ILuaContext; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.api.turtle.event; | package dan200.computercraft.api.turtle.event; | ||||||
|  |  | ||||||
| import dan200.computercraft.api.turtle.ITurtleAccess; | import dan200.computercraft.api.turtle.ITurtleAccess; | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
| package dan200.computercraft.api.turtle.event; | package dan200.computercraft.api.turtle.event; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.api.turtle.event; | package dan200.computercraft.api.turtle.event; | ||||||
|  |  | ||||||
| import dan200.computercraft.api.turtle.ITurtleAccess; | import dan200.computercraft.api.turtle.ITurtleAccess; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.api.turtle.event; | package dan200.computercraft.api.turtle.event; | ||||||
|  |  | ||||||
| import dan200.computercraft.api.turtle.ITurtleAccess; | import dan200.computercraft.api.turtle.ITurtleAccess; | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of the public ComputerCraft API - http://www.computercraft.info |  * This file is part of the public ComputerCraft API - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. This API may be redistributed unmodified and in full only. |  * Copyright Daniel Ratcliffe, 2011-2020. This API may be redistributed unmodified and in full only. | ||||||
|  * For help using the API, and posting your mods, visit the forums at computercraft.info. |  * For help using the API, and posting your mods, visit the forums at computercraft.info. | ||||||
|  */ |  */ | ||||||
| package dan200.computercraft.api.turtle.event; | package dan200.computercraft.api.turtle.event; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of ComputerCraft - http://www.computercraft.info |  * This file is part of ComputerCraft - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. Do not distribute without permission. |  * Copyright Daniel Ratcliffe, 2011-2020. Do not distribute without permission. | ||||||
|  * Send enquiries to dratcliffe@gmail.com |  * Send enquiries to dratcliffe@gmail.com | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.client; | package dan200.computercraft.client; | ||||||
|  |  | ||||||
| import dan200.computercraft.ComputerCraft; | import dan200.computercraft.ComputerCraft; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of ComputerCraft - http://www.computercraft.info |  * This file is part of ComputerCraft - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. Do not distribute without permission. |  * Copyright Daniel Ratcliffe, 2011-2020. Do not distribute without permission. | ||||||
|  * Send enquiries to dratcliffe@gmail.com |  * Send enquiries to dratcliffe@gmail.com | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.client; | package dan200.computercraft.client; | ||||||
|  |  | ||||||
| import dan200.computercraft.shared.command.text.ChatHelpers; | import dan200.computercraft.shared.command.text.ChatHelpers; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of ComputerCraft - http://www.computercraft.info |  * This file is part of ComputerCraft - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. Do not distribute without permission. |  * Copyright Daniel Ratcliffe, 2011-2020. Do not distribute without permission. | ||||||
|  * Send enquiries to dratcliffe@gmail.com |  * Send enquiries to dratcliffe@gmail.com | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.client; | package dan200.computercraft.client; | ||||||
|  |  | ||||||
| import dan200.computercraft.ComputerCraft; | import dan200.computercraft.ComputerCraft; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of ComputerCraft - http://www.computercraft.info |  * This file is part of ComputerCraft - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. Do not distribute without permission. |  * Copyright Daniel Ratcliffe, 2011-2020. Do not distribute without permission. | ||||||
|  * Send enquiries to dratcliffe@gmail.com |  * Send enquiries to dratcliffe@gmail.com | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.client.gui; | package dan200.computercraft.client.gui; | ||||||
|  |  | ||||||
| import com.mojang.blaze3d.platform.GlStateManager; | import com.mojang.blaze3d.platform.GlStateManager; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of ComputerCraft - http://www.computercraft.info |  * This file is part of ComputerCraft - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. Do not distribute without permission. |  * Copyright Daniel Ratcliffe, 2011-2020. Do not distribute without permission. | ||||||
|  * Send enquiries to dratcliffe@gmail.com |  * Send enquiries to dratcliffe@gmail.com | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.client.gui; | package dan200.computercraft.client.gui; | ||||||
|  |  | ||||||
| import com.mojang.blaze3d.platform.GlStateManager; | import com.mojang.blaze3d.platform.GlStateManager; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of ComputerCraft - http://www.computercraft.info |  * This file is part of ComputerCraft - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. Do not distribute without permission. |  * Copyright Daniel Ratcliffe, 2011-2020. Do not distribute without permission. | ||||||
|  * Send enquiries to dratcliffe@gmail.com |  * Send enquiries to dratcliffe@gmail.com | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.client.gui; | package dan200.computercraft.client.gui; | ||||||
|  |  | ||||||
| import com.mojang.blaze3d.platform.GlStateManager; | import com.mojang.blaze3d.platform.GlStateManager; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of ComputerCraft - http://www.computercraft.info |  * This file is part of ComputerCraft - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. Do not distribute without permission. |  * Copyright Daniel Ratcliffe, 2011-2020. Do not distribute without permission. | ||||||
|  * Send enquiries to dratcliffe@gmail.com |  * Send enquiries to dratcliffe@gmail.com | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.client.gui; | package dan200.computercraft.client.gui; | ||||||
|  |  | ||||||
| import com.mojang.blaze3d.platform.GlStateManager; | import com.mojang.blaze3d.platform.GlStateManager; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of ComputerCraft - http://www.computercraft.info |  * This file is part of ComputerCraft - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. Do not distribute without permission. |  * Copyright Daniel Ratcliffe, 2011-2020. Do not distribute without permission. | ||||||
|  * Send enquiries to dratcliffe@gmail.com |  * Send enquiries to dratcliffe@gmail.com | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.client.gui; | package dan200.computercraft.client.gui; | ||||||
|  |  | ||||||
| import com.mojang.blaze3d.platform.GlStateManager; | import com.mojang.blaze3d.platform.GlStateManager; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of ComputerCraft - http://www.computercraft.info |  * This file is part of ComputerCraft - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. Do not distribute without permission. |  * Copyright Daniel Ratcliffe, 2011-2020. Do not distribute without permission. | ||||||
|  * Send enquiries to dratcliffe@gmail.com |  * Send enquiries to dratcliffe@gmail.com | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.client.gui; | package dan200.computercraft.client.gui; | ||||||
|  |  | ||||||
| import com.mojang.blaze3d.platform.GlStateManager; | import com.mojang.blaze3d.platform.GlStateManager; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of ComputerCraft - http://www.computercraft.info |  * This file is part of ComputerCraft - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. Do not distribute without permission. |  * Copyright Daniel Ratcliffe, 2011-2020. Do not distribute without permission. | ||||||
|  * Send enquiries to dratcliffe@gmail.com |  * Send enquiries to dratcliffe@gmail.com | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.client.gui.widgets; | package dan200.computercraft.client.gui.widgets; | ||||||
|  |  | ||||||
| import com.mojang.blaze3d.platform.GlStateManager; | import com.mojang.blaze3d.platform.GlStateManager; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of ComputerCraft - http://www.computercraft.info |  * This file is part of ComputerCraft - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. Do not distribute without permission. |  * Copyright Daniel Ratcliffe, 2011-2020. Do not distribute without permission. | ||||||
|  * Send enquiries to dratcliffe@gmail.com |  * Send enquiries to dratcliffe@gmail.com | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.client.proxy; | package dan200.computercraft.client.proxy; | ||||||
|  |  | ||||||
| import dan200.computercraft.ComputerCraft; | import dan200.computercraft.ComputerCraft; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of ComputerCraft - http://www.computercraft.info |  * This file is part of ComputerCraft - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. Do not distribute without permission. |  * Copyright Daniel Ratcliffe, 2011-2020. Do not distribute without permission. | ||||||
|  * Send enquiries to dratcliffe@gmail.com |  * Send enquiries to dratcliffe@gmail.com | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.client.render; | package dan200.computercraft.client.render; | ||||||
|  |  | ||||||
| import com.mojang.blaze3d.platform.GlStateManager; | import com.mojang.blaze3d.platform.GlStateManager; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of ComputerCraft - http://www.computercraft.info |  * This file is part of ComputerCraft - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. Do not distribute without permission. |  * Copyright Daniel Ratcliffe, 2011-2020. Do not distribute without permission. | ||||||
|  * Send enquiries to dratcliffe@gmail.com |  * Send enquiries to dratcliffe@gmail.com | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.client.render; | package dan200.computercraft.client.render; | ||||||
|  |  | ||||||
| import com.mojang.blaze3d.platform.GlStateManager; | import com.mojang.blaze3d.platform.GlStateManager; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of ComputerCraft - http://www.computercraft.info |  * This file is part of ComputerCraft - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. Do not distribute without permission. |  * Copyright Daniel Ratcliffe, 2011-2020. Do not distribute without permission. | ||||||
|  * Send enquiries to dratcliffe@gmail.com |  * Send enquiries to dratcliffe@gmail.com | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.client.render; | package dan200.computercraft.client.render; | ||||||
|  |  | ||||||
| import com.mojang.blaze3d.platform.GlStateManager; | import com.mojang.blaze3d.platform.GlStateManager; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of ComputerCraft - http://www.computercraft.info |  * This file is part of ComputerCraft - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. Do not distribute without permission. |  * Copyright Daniel Ratcliffe, 2011-2020. Do not distribute without permission. | ||||||
|  * Send enquiries to dratcliffe@gmail.com |  * Send enquiries to dratcliffe@gmail.com | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.client.render; | package dan200.computercraft.client.render; | ||||||
|  |  | ||||||
| import com.mojang.blaze3d.platform.GlStateManager; | import com.mojang.blaze3d.platform.GlStateManager; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of ComputerCraft - http://www.computercraft.info |  * This file is part of ComputerCraft - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. Do not distribute without permission. |  * Copyright Daniel Ratcliffe, 2011-2020. Do not distribute without permission. | ||||||
|  * Send enquiries to dratcliffe@gmail.com |  * Send enquiries to dratcliffe@gmail.com | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.client.render; | package dan200.computercraft.client.render; | ||||||
|  |  | ||||||
| import net.minecraft.client.renderer.model.BakedQuad; | import net.minecraft.client.renderer.model.BakedQuad; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of ComputerCraft - http://www.computercraft.info |  * This file is part of ComputerCraft - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. Do not distribute without permission. |  * Copyright Daniel Ratcliffe, 2011-2020. Do not distribute without permission. | ||||||
|  * Send enquiries to dratcliffe@gmail.com |  * Send enquiries to dratcliffe@gmail.com | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.client.render; | package dan200.computercraft.client.render; | ||||||
|  |  | ||||||
| import com.mojang.blaze3d.platform.GlStateManager; | import com.mojang.blaze3d.platform.GlStateManager; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of ComputerCraft - http://www.computercraft.info |  * This file is part of ComputerCraft - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. Do not distribute without permission. |  * Copyright Daniel Ratcliffe, 2011-2020. Do not distribute without permission. | ||||||
|  * Send enquiries to dratcliffe@gmail.com |  * Send enquiries to dratcliffe@gmail.com | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.client.render; | package dan200.computercraft.client.render; | ||||||
|  |  | ||||||
| import com.mojang.blaze3d.platform.GlStateManager; | import com.mojang.blaze3d.platform.GlStateManager; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of ComputerCraft - http://www.computercraft.info |  * This file is part of ComputerCraft - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. Do not distribute without permission. |  * Copyright Daniel Ratcliffe, 2011-2020. Do not distribute without permission. | ||||||
|  * Send enquiries to dratcliffe@gmail.com |  * Send enquiries to dratcliffe@gmail.com | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.client.render; | package dan200.computercraft.client.render; | ||||||
|  |  | ||||||
| import com.mojang.blaze3d.platform.GlStateManager; | import com.mojang.blaze3d.platform.GlStateManager; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of ComputerCraft - http://www.computercraft.info |  * This file is part of ComputerCraft - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. Do not distribute without permission. |  * Copyright Daniel Ratcliffe, 2011-2020. Do not distribute without permission. | ||||||
|  * Send enquiries to dratcliffe@gmail.com |  * Send enquiries to dratcliffe@gmail.com | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.client.render; | package dan200.computercraft.client.render; | ||||||
|  |  | ||||||
| import com.mojang.blaze3d.platform.GLX; | import com.mojang.blaze3d.platform.GLX; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of ComputerCraft - http://www.computercraft.info |  * This file is part of ComputerCraft - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. Do not distribute without permission. |  * Copyright Daniel Ratcliffe, 2011-2020. Do not distribute without permission. | ||||||
|  * Send enquiries to dratcliffe@gmail.com |  * Send enquiries to dratcliffe@gmail.com | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.client.render; | package dan200.computercraft.client.render; | ||||||
|  |  | ||||||
| import com.mojang.blaze3d.platform.GlStateManager; | import com.mojang.blaze3d.platform.GlStateManager; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of ComputerCraft - http://www.computercraft.info |  * This file is part of ComputerCraft - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. Do not distribute without permission. |  * Copyright Daniel Ratcliffe, 2011-2020. Do not distribute without permission. | ||||||
|  * Send enquiries to dratcliffe@gmail.com |  * Send enquiries to dratcliffe@gmail.com | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.client.render; | package dan200.computercraft.client.render; | ||||||
|  |  | ||||||
| import dan200.computercraft.ComputerCraft; | import dan200.computercraft.ComputerCraft; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of ComputerCraft - http://www.computercraft.info |  * This file is part of ComputerCraft - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. Do not distribute without permission. |  * Copyright Daniel Ratcliffe, 2011-2020. Do not distribute without permission. | ||||||
|  * Send enquiries to dratcliffe@gmail.com |  * Send enquiries to dratcliffe@gmail.com | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.client.render; | package dan200.computercraft.client.render; | ||||||
|  |  | ||||||
| import net.minecraft.block.BlockState; | import net.minecraft.block.BlockState; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of ComputerCraft - http://www.computercraft.info |  * This file is part of ComputerCraft - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. Do not distribute without permission. |  * Copyright Daniel Ratcliffe, 2011-2020. Do not distribute without permission. | ||||||
|  * Send enquiries to dratcliffe@gmail.com |  * Send enquiries to dratcliffe@gmail.com | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.client.render; | package dan200.computercraft.client.render; | ||||||
|  |  | ||||||
| import com.google.common.base.Objects; | import com.google.common.base.Objects; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of ComputerCraft - http://www.computercraft.info |  * This file is part of ComputerCraft - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. Do not distribute without permission. |  * Copyright Daniel Ratcliffe, 2011-2020. Do not distribute without permission. | ||||||
|  * Send enquiries to dratcliffe@gmail.com |  * Send enquiries to dratcliffe@gmail.com | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.core.apis; | package dan200.computercraft.core.apis; | ||||||
|  |  | ||||||
| import com.google.common.net.InetAddresses; | import com.google.common.net.InetAddresses; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of ComputerCraft - http://www.computercraft.info |  * This file is part of ComputerCraft - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. Do not distribute without permission. |  * Copyright Daniel Ratcliffe, 2011-2020. Do not distribute without permission. | ||||||
|  * Send enquiries to dratcliffe@gmail.com |  * Send enquiries to dratcliffe@gmail.com | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.core.apis; | package dan200.computercraft.core.apis; | ||||||
|  |  | ||||||
| import dan200.computercraft.api.lua.ILuaAPIFactory; | import dan200.computercraft.api.lua.ILuaAPIFactory; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of ComputerCraft - http://www.computercraft.info |  * This file is part of ComputerCraft - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. Do not distribute without permission. |  * Copyright Daniel Ratcliffe, 2011-2020. Do not distribute without permission. | ||||||
|  * Send enquiries to dratcliffe@gmail.com |  * Send enquiries to dratcliffe@gmail.com | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.core.apis; | package dan200.computercraft.core.apis; | ||||||
|  |  | ||||||
| import dan200.computercraft.api.lua.LuaException; | import dan200.computercraft.api.lua.LuaException; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of ComputerCraft - http://www.computercraft.info |  * This file is part of ComputerCraft - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. Do not distribute without permission. |  * Copyright Daniel Ratcliffe, 2011-2020. Do not distribute without permission. | ||||||
|  * Send enquiries to dratcliffe@gmail.com |  * Send enquiries to dratcliffe@gmail.com | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.core.apis; | package dan200.computercraft.core.apis; | ||||||
|  |  | ||||||
| import dan200.computercraft.api.filesystem.IMount; | import dan200.computercraft.api.filesystem.IMount; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of ComputerCraft - http://www.computercraft.info |  * This file is part of ComputerCraft - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. Do not distribute without permission. |  * Copyright Daniel Ratcliffe, 2011-2020. Do not distribute without permission. | ||||||
|  * Send enquiries to dratcliffe@gmail.com |  * Send enquiries to dratcliffe@gmail.com | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.core.apis; | package dan200.computercraft.core.apis; | ||||||
|  |  | ||||||
| import dan200.computercraft.api.lua.ILuaAPI; | import dan200.computercraft.api.lua.ILuaAPI; | ||||||
| @@ -23,8 +22,6 @@ import java.io.BufferedReader; | |||||||
| import java.io.BufferedWriter; | import java.io.BufferedWriter; | ||||||
| import java.nio.channels.ReadableByteChannel; | import java.nio.channels.ReadableByteChannel; | ||||||
| import java.nio.channels.WritableByteChannel; | import java.nio.channels.WritableByteChannel; | ||||||
| import java.util.HashMap; |  | ||||||
| import java.util.Map; |  | ||||||
| import java.util.function.Function; | import java.util.function.Function; | ||||||
|  |  | ||||||
| import static dan200.computercraft.api.lua.ArgumentHelper.getString; | import static dan200.computercraft.api.lua.ArgumentHelper.getString; | ||||||
| @@ -94,13 +91,7 @@ public class FSAPI implements ILuaAPI | |||||||
|                 m_env.addTrackingChange( TrackingField.FS_OPS ); |                 m_env.addTrackingChange( TrackingField.FS_OPS ); | ||||||
|                 try |                 try | ||||||
|                 { |                 { | ||||||
|                     String[] results = m_fileSystem.list( path ); |                     return new Object[] { m_fileSystem.list( path ) }; | ||||||
|                     Map<Object, Object> table = new HashMap<>(); |  | ||||||
|                     for( int i = 0; i < results.length; i++ ) |  | ||||||
|                     { |  | ||||||
|                         table.put( i + 1, results[i] ); |  | ||||||
|                     } |  | ||||||
|                     return new Object[] { table }; |  | ||||||
|                 } |                 } | ||||||
|                 catch( FileSystemException e ) |                 catch( FileSystemException e ) | ||||||
|                 { |                 { | ||||||
| @@ -331,13 +322,7 @@ public class FSAPI implements ILuaAPI | |||||||
|                 try |                 try | ||||||
|                 { |                 { | ||||||
|                     m_env.addTrackingChange( TrackingField.FS_OPS ); |                     m_env.addTrackingChange( TrackingField.FS_OPS ); | ||||||
|                     String[] results = m_fileSystem.find( path ); |                     return new Object[] { m_fileSystem.find( path ) }; | ||||||
|                     Map<Object, Object> table = new HashMap<>(); |  | ||||||
|                     for( int i = 0; i < results.length; i++ ) |  | ||||||
|                     { |  | ||||||
|                         table.put( i + 1, results[i] ); |  | ||||||
|                     } |  | ||||||
|                     return new Object[] { table }; |  | ||||||
|                 } |                 } | ||||||
|                 catch( FileSystemException e ) |                 catch( FileSystemException e ) | ||||||
|                 { |                 { | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of ComputerCraft - http://www.computercraft.info |  * This file is part of ComputerCraft - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. Do not distribute without permission. |  * Copyright Daniel Ratcliffe, 2011-2020. Do not distribute without permission. | ||||||
|  * Send enquiries to dratcliffe@gmail.com |  * Send enquiries to dratcliffe@gmail.com | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.core.apis; | package dan200.computercraft.core.apis; | ||||||
|  |  | ||||||
| import dan200.computercraft.ComputerCraft; | import dan200.computercraft.ComputerCraft; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of ComputerCraft - http://www.computercraft.info |  * This file is part of ComputerCraft - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. Do not distribute without permission. |  * Copyright Daniel Ratcliffe, 2011-2020. Do not distribute without permission. | ||||||
|  * Send enquiries to dratcliffe@gmail.com |  * Send enquiries to dratcliffe@gmail.com | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.core.apis; | package dan200.computercraft.core.apis; | ||||||
|  |  | ||||||
| import dan200.computercraft.api.peripheral.IPeripheral; | import dan200.computercraft.api.peripheral.IPeripheral; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of ComputerCraft - http://www.computercraft.info |  * This file is part of ComputerCraft - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. Do not distribute without permission. |  * Copyright Daniel Ratcliffe, 2011-2020. Do not distribute without permission. | ||||||
|  * Send enquiries to dratcliffe@gmail.com |  * Send enquiries to dratcliffe@gmail.com | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.core.apis; | package dan200.computercraft.core.apis; | ||||||
|  |  | ||||||
| /** | /** | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of ComputerCraft - http://www.computercraft.info |  * This file is part of ComputerCraft - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. Do not distribute without permission. |  * Copyright Daniel Ratcliffe, 2011-2020. Do not distribute without permission. | ||||||
|  * Send enquiries to dratcliffe@gmail.com |  * Send enquiries to dratcliffe@gmail.com | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.core.apis; | package dan200.computercraft.core.apis; | ||||||
|  |  | ||||||
| import dan200.computercraft.api.lua.LuaException; | import dan200.computercraft.api.lua.LuaException; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of ComputerCraft - http://www.computercraft.info |  * This file is part of ComputerCraft - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. Do not distribute without permission. |  * Copyright Daniel Ratcliffe, 2011-2020. Do not distribute without permission. | ||||||
|  * Send enquiries to dratcliffe@gmail.com |  * Send enquiries to dratcliffe@gmail.com | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.core.apis; | package dan200.computercraft.core.apis; | ||||||
|  |  | ||||||
| import dan200.computercraft.api.lua.ILuaAPI; | import dan200.computercraft.api.lua.ILuaAPI; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of ComputerCraft - http://www.computercraft.info |  * This file is part of ComputerCraft - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. Do not distribute without permission. |  * Copyright Daniel Ratcliffe, 2011-2020. Do not distribute without permission. | ||||||
|  * Send enquiries to dratcliffe@gmail.com |  * Send enquiries to dratcliffe@gmail.com | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.core.apis; | package dan200.computercraft.core.apis; | ||||||
|  |  | ||||||
| import dan200.computercraft.api.filesystem.IMount; | import dan200.computercraft.api.filesystem.IMount; | ||||||
| @@ -378,16 +377,7 @@ public class PeripheralAPI implements ILuaAPI, IAPIEnvironment.IPeripheralChange | |||||||
|                         } |                         } | ||||||
|                     } |                     } | ||||||
|                 } |                 } | ||||||
|                 if( methods != null ) |                 return methods != null ? new Object[] { new HashMap<>() } : null; | ||||||
|                 { |  | ||||||
|                     Map<Object, Object> table = new HashMap<>(); |  | ||||||
|                     for( int i = 0; i < methods.length; i++ ) |  | ||||||
|                     { |  | ||||||
|                         table.put( i + 1, methods[i] ); |  | ||||||
|                     } |  | ||||||
|                     return new Object[] { table }; |  | ||||||
|                 } |  | ||||||
|                 return null; |  | ||||||
|             } |             } | ||||||
|             case 3: |             case 3: | ||||||
|             { |             { | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of ComputerCraft - http://www.computercraft.info |  * This file is part of ComputerCraft - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. Do not distribute without permission. |  * Copyright Daniel Ratcliffe, 2011-2020. Do not distribute without permission. | ||||||
|  * Send enquiries to dratcliffe@gmail.com |  * Send enquiries to dratcliffe@gmail.com | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.core.apis; | package dan200.computercraft.core.apis; | ||||||
|  |  | ||||||
| import dan200.computercraft.api.lua.ILuaAPI; | import dan200.computercraft.api.lua.ILuaAPI; | ||||||
| @@ -12,8 +11,6 @@ import dan200.computercraft.api.lua.LuaException; | |||||||
| import dan200.computercraft.core.computer.ComputerSide; | import dan200.computercraft.core.computer.ComputerSide; | ||||||
|  |  | ||||||
| import javax.annotation.Nonnull; | import javax.annotation.Nonnull; | ||||||
| import java.util.HashMap; |  | ||||||
| import java.util.Map; |  | ||||||
|  |  | ||||||
| import static dan200.computercraft.api.lua.ArgumentHelper.*; | import static dan200.computercraft.api.lua.ArgumentHelper.*; | ||||||
|  |  | ||||||
| @@ -59,16 +56,8 @@ public class RedstoneAPI implements ILuaAPI | |||||||
|     { |     { | ||||||
|         switch( method ) |         switch( method ) | ||||||
|         { |         { | ||||||
|             case 0: |             case 0: // getSides | ||||||
|             { |                 return new Object[] { ComputerSide.NAMES }; | ||||||
|                 // getSides |  | ||||||
|                 Map<Object, Object> table = new HashMap<>(); |  | ||||||
|                 for( int i = 0; i < ComputerSide.NAMES.length; i++ ) |  | ||||||
|                 { |  | ||||||
|                     table.put( i + 1, ComputerSide.NAMES[i] ); |  | ||||||
|                 } |  | ||||||
|                 return new Object[] { table }; |  | ||||||
|             } |  | ||||||
|             case 1: |             case 1: | ||||||
|             { |             { | ||||||
|                 // setOutput |                 // setOutput | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of ComputerCraft - http://www.computercraft.info |  * This file is part of ComputerCraft - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. Do not distribute without permission. |  * Copyright Daniel Ratcliffe, 2011-2020. Do not distribute without permission. | ||||||
|  * Send enquiries to dratcliffe@gmail.com |  * Send enquiries to dratcliffe@gmail.com | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.core.apis; | package dan200.computercraft.core.apis; | ||||||
|  |  | ||||||
| import dan200.computercraft.api.lua.ArgumentHelper; | import dan200.computercraft.api.lua.ArgumentHelper; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of ComputerCraft - http://www.computercraft.info |  * This file is part of ComputerCraft - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. Do not distribute without permission. |  * Copyright Daniel Ratcliffe, 2011-2020. Do not distribute without permission. | ||||||
|  * Send enquiries to dratcliffe@gmail.com |  * Send enquiries to dratcliffe@gmail.com | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.core.apis; | package dan200.computercraft.core.apis; | ||||||
|  |  | ||||||
| import dan200.computercraft.api.lua.ILuaAPI; | import dan200.computercraft.api.lua.ILuaAPI; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of ComputerCraft - http://www.computercraft.info |  * This file is part of ComputerCraft - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. Do not distribute without permission. |  * Copyright Daniel Ratcliffe, 2011-2020. Do not distribute without permission. | ||||||
|  * Send enquiries to dratcliffe@gmail.com |  * Send enquiries to dratcliffe@gmail.com | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.core.apis.handles; | package dan200.computercraft.core.apis.handles; | ||||||
|  |  | ||||||
| import java.nio.ByteBuffer; | import java.nio.ByteBuffer; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of ComputerCraft - http://www.computercraft.info |  * This file is part of ComputerCraft - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. Do not distribute without permission. |  * Copyright Daniel Ratcliffe, 2011-2020. Do not distribute without permission. | ||||||
|  * Send enquiries to dratcliffe@gmail.com |  * Send enquiries to dratcliffe@gmail.com | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.core.apis.handles; | package dan200.computercraft.core.apis.handles; | ||||||
|  |  | ||||||
| import com.google.common.collect.ObjectArrays; | import com.google.common.collect.ObjectArrays; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of ComputerCraft - http://www.computercraft.info |  * This file is part of ComputerCraft - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. Do not distribute without permission. |  * Copyright Daniel Ratcliffe, 2011-2020. Do not distribute without permission. | ||||||
|  * Send enquiries to dratcliffe@gmail.com |  * Send enquiries to dratcliffe@gmail.com | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.core.apis.handles; | package dan200.computercraft.core.apis.handles; | ||||||
|  |  | ||||||
| import com.google.common.collect.ObjectArrays; | import com.google.common.collect.ObjectArrays; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of ComputerCraft - http://www.computercraft.info |  * This file is part of ComputerCraft - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. Do not distribute without permission. |  * Copyright Daniel Ratcliffe, 2011-2020. Do not distribute without permission. | ||||||
|  * Send enquiries to dratcliffe@gmail.com |  * Send enquiries to dratcliffe@gmail.com | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.core.apis.handles; | package dan200.computercraft.core.apis.handles; | ||||||
|  |  | ||||||
| import dan200.computercraft.api.lua.ILuaContext; | import dan200.computercraft.api.lua.ILuaContext; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of ComputerCraft - http://www.computercraft.info |  * This file is part of ComputerCraft - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. Do not distribute without permission. |  * Copyright Daniel Ratcliffe, 2011-2020. Do not distribute without permission. | ||||||
|  * Send enquiries to dratcliffe@gmail.com |  * Send enquiries to dratcliffe@gmail.com | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.core.apis.handles; | package dan200.computercraft.core.apis.handles; | ||||||
|  |  | ||||||
| import dan200.computercraft.api.lua.ILuaContext; | import dan200.computercraft.api.lua.ILuaContext; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of ComputerCraft - http://www.computercraft.info |  * This file is part of ComputerCraft - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. Do not distribute without permission. |  * Copyright Daniel Ratcliffe, 2011-2020. Do not distribute without permission. | ||||||
|  * Send enquiries to dratcliffe@gmail.com |  * Send enquiries to dratcliffe@gmail.com | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.core.apis.handles; | package dan200.computercraft.core.apis.handles; | ||||||
|  |  | ||||||
| import dan200.computercraft.api.lua.ILuaObject; | import dan200.computercraft.api.lua.ILuaObject; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of ComputerCraft - http://www.computercraft.info |  * This file is part of ComputerCraft - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. Do not distribute without permission. |  * Copyright Daniel Ratcliffe, 2011-2020. Do not distribute without permission. | ||||||
|  * Send enquiries to dratcliffe@gmail.com |  * Send enquiries to dratcliffe@gmail.com | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.core.apis.http; | package dan200.computercraft.core.apis.http; | ||||||
|  |  | ||||||
| import dan200.computercraft.core.apis.IAPIEnvironment; | import dan200.computercraft.core.apis.IAPIEnvironment; | ||||||
|   | |||||||
| @@ -1,9 +1,8 @@ | |||||||
| /* | /* | ||||||
|  * This file is part of ComputerCraft - http://www.computercraft.info |  * This file is part of ComputerCraft - http://www.computercraft.info | ||||||
|  * Copyright Daniel Ratcliffe, 2011-2019. Do not distribute without permission. |  * Copyright Daniel Ratcliffe, 2011-2020. Do not distribute without permission. | ||||||
|  * Send enquiries to dratcliffe@gmail.com |  * Send enquiries to dratcliffe@gmail.com | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| package dan200.computercraft.core.apis.http; | package dan200.computercraft.core.apis.http; | ||||||
|  |  | ||||||
| public class HTTPRequestException extends Exception | public class HTTPRequestException extends Exception | ||||||
|   | |||||||
Some files were not shown because too many files have changed in this diff Show More
		Reference in New Issue
	
	Block a user
	 SquidDev
					SquidDev