Modding > ComputerCraftAPI

「Modding/ComputerCraftAPI」の編集履歴(バックアップ)一覧はこちら

Modding/ComputerCraftAPI」(2013/07/24 (水) 20:15:43) の最新版変更点

追加された行は緑色になります。

削除された行は赤色になります。

ComputerCraftAPIについて、API同梱のJavadoc(HTML形式)の翻訳を中心に解説する。 ※作業ページ 参考資料: -[[Minecraft Midding Wiki>http://minecraftjp.info/modding/index.php/Minecraft_Modding_Wiki]] --[[チュートリアル一覧: MinecraftForgeUniversal>http://minecraftjp.info/modding/index.php/%E3%83%81%E3%83%A5%E3%83%BC%E3%83%88%E3%83%AA%E3%82%A2%E3%83%AB%E4%B8%80%E8%A6%A7#MinecraftForgeUniversal]] -[[ComputerCraft Forums: Peripherals and Turtle Upgrades>http://www.computercraft.info/forums2/index.php?/forum/17-]] --[[Creating Peripherals and Turtle Upgrades>http://www.computercraft.info/forums2/index.php?/topic/606-]] -[[ComputerCraft Wiki: Turtle Upgrade IDs>http://www.computercraft.info/wiki/index.php?title=Turtle_Upgrade_IDs]] -[[Minecraft Forge: Tutorials>http://www.minecraftforge.net/wiki/Category:Tutorials]] 執筆時のバージョン: -ComputerCraft 1.55 for Minecraft 1.6.2 ---- *API構成 **Package dan200.computer.api |>|BGCOLOR(#DDD):&b(){ Interface}| |&b(){[[IComputerAccess>Modding/ComputerCraftAPI/IComputerAccess]]}|ComputerやTurtleより周辺機器へ渡されるインターフェイス。周辺機器から呼び出し可能なメソッドを提供する。| |&b(){[[IHostedPeripheral>Modding/ComputerCraftAPI/IHostedPeripheral]]}|Peripheralタイプのアップグレードによって造られる周辺機器のための、IPeripheralのサブインターフェイス。| |&b(){[[ILuaContext>Modding/ComputerCraftAPI/ILuaContext]]}|ComputerやTurtleより周辺機器やILuaObjectに渡されるインターフェイス。Luaのように、周辺機器がreturnの前にイベントを待つために呼び出すことができるメソッドを提供する。| |&b(){[[ILuaObject>Modding/ComputerCraftAPI/ILuaObject]]}|IPeripheral.callMethod()呼び出しによって返されるカスタムオブジェクトを表すためのインターフェイス。| |&b(){[[IMedia>Modding/ComputerCraftAPI/IMedia]]}|ディスクドライブに置いてコンピュータから利用できるアイテムを示すインターフェイス。| |&b(){[[IMount>Modding/ComputerCraftAPI/IMount]]}|IComputerAccess.mount()を使ってコンピュータにマウントできる仮想ファイルシステムの読み取り専用領域を示すインターフェイス。| |&b(){[[IPeripheral>Modding/ComputerCraftAPI/IPeripheral]]}|周辺機器を定義するインターフェイス。| |&b(){[[IPeripheralHandler>Modding/ComputerCraftAPI/IPeripheralHandler]]}|| |&b(){[[IWritableMount>Modding/ComputerCraftAPI/IWritableMount]]}|IComputerAccess.mountWritable()(書き込み可能にする)やIComputerAccess.mount()を使ってコンピュータにマウントできる仮想ファイルシステムの領域を示すインターフェイス。| |>|BGCOLOR(#DDD):&b(){ Class}| |&b(){[[ComputerCraftAPI>Modding/ComputerCraftAPI/ComputerCraftAPI]]}|ComputerCraftAPIへの静的エントリーポイント。| **Package dan200.turtle.api |>|BGCOLOR(#DDD):&b(){ Interface}| |&b(){[[ITurtleAccess>Modding/ComputerCraftAPI/ITurtleAccess]]}|Turtleよりアップグレードへ渡されるインターフェイス。アップグレードから呼び出し可能なメソッドを提供する。| |&b(){[[ITurtleCommandHandler>Modding/ComputerCraftAPI/ITurtleCommandHandler]]}|カスタムタートルコマンドを実行するためのインターフェイス。ITurtleAccess.issueCommandメソッドと共に用いる。| |&b(){[[ITurtleUpgrade>Modding/ComputerCraftAPI/ITurtleUpgrade]]}|Turtleのためのアップグレードを定義するため基礎インターフェイス。| |>|BGCOLOR(#DDD):&b(){ Class}| |&b(){[[TurtleAPI>Modding/ComputerCraftAPI/TurtleAPI]]}|ComputerCraftTurtleアップグレードAPIへの静的エントリーポイント。| |>|BGCOLOR(#DDD):&b(){ Enum}| |&b(){[[TurtleSide>Modding/ComputerCraftAPI/TurtleSide]]}|Turtleアップグレードが存在する、Turtleの方向を表す列挙。| |&b(){[[TurtleUpgradeType>Modding/ComputerCraftAPI/TurtleUpgradeType]]}|ITurtleUpgradeの実装でタートルに追加できるアップグレードのタイプを表す列挙。| |&b(){[[TurtleVerb>Modding/ComputerCraftAPI/TurtleVerb]]}|TurtleがToolタイプのアップグレードに、実行するように要求する可能性のあるアクションの列挙|
ComputerCraftAPIについて、API同梱のJavadoc(HTML形式)の翻訳を中心に解説する。 ※作業ページ 参考資料: -[[Minecraft Midding Wiki>http://minecraftjp.info/modding/index.php/Minecraft_Modding_Wiki]] --[[チュートリアル一覧: MinecraftForgeUniversal>http://minecraftjp.info/modding/index.php/%E3%83%81%E3%83%A5%E3%83%BC%E3%83%88%E3%83%AA%E3%82%A2%E3%83%AB%E4%B8%80%E8%A6%A7#MinecraftForgeUniversal]] -[[ComputerCraft Forums: Peripherals and Turtle Upgrades>http://www.computercraft.info/forums2/index.php?/forum/17-]] --[[Creating Peripherals and Turtle Upgrades>http://www.computercraft.info/forums2/index.php?/topic/606-]] -[[ComputerCraft Wiki: Turtle Upgrade IDs>http://www.computercraft.info/wiki/index.php?title=Turtle_Upgrade_IDs]] -[[Minecraft Forge: Tutorials>http://www.minecraftforge.net/wiki/Category:Tutorials]] 執筆時のバージョン: -ComputerCraft 1.55 for Minecraft 1.6.2 ---- ※以下の各ページは古いバージョンの情報を含みます。 *API構成 **Package dan200.computer.api |>|BGCOLOR(#DDD):&b(){ Interface}| |&b(){[[IComputerAccess>Modding/ComputerCraftAPI/IComputerAccess]]}|ComputerやTurtleより周辺機器へ渡されるインターフェイス。周辺機器から呼び出し可能なメソッドを提供する。| |&b(){[[IHostedPeripheral>Modding/ComputerCraftAPI/IHostedPeripheral]]}|Peripheralタイプのアップグレードによって造られる周辺機器のための、IPeripheralのサブインターフェイス。| |&b(){[[ILuaContext>Modding/ComputerCraftAPI/ILuaContext]]}|ComputerやTurtleより周辺機器やILuaObjectに渡されるインターフェイス。Luaのように、周辺機器がreturnの前にイベントを待つために呼び出すことができるメソッドを提供する。| |&b(){[[ILuaObject>Modding/ComputerCraftAPI/ILuaObject]]}|IPeripheral.callMethod()呼び出しによって返されるカスタムオブジェクトを表すためのインターフェイス。| |&b(){[[IMedia>Modding/ComputerCraftAPI/IMedia]]}|ディスクドライブに置いてコンピュータから利用できるアイテムを示すインターフェイス。| |&b(){[[IMount>Modding/ComputerCraftAPI/IMount]]}|IComputerAccess.mount()を使ってコンピュータにマウントできる仮想ファイルシステムの読み取り専用領域を示すインターフェイス。| |&b(){[[IPeripheral>Modding/ComputerCraftAPI/IPeripheral]]}|周辺機器を定義するインターフェイス。| |&b(){[[IPeripheralHandler>Modding/ComputerCraftAPI/IPeripheralHandler]]}|| |&b(){[[IWritableMount>Modding/ComputerCraftAPI/IWritableMount]]}|IComputerAccess.mountWritable()(書き込み可能にする)やIComputerAccess.mount()を使ってコンピュータにマウントできる仮想ファイルシステムの領域を示すインターフェイス。| |>|BGCOLOR(#DDD):&b(){ Class}| |&b(){[[ComputerCraftAPI>Modding/ComputerCraftAPI/ComputerCraftAPI]]}|ComputerCraftAPIへの静的エントリーポイント。| **Package dan200.turtle.api |>|BGCOLOR(#DDD):&b(){ Interface}| |&b(){[[ITurtleAccess>Modding/ComputerCraftAPI/ITurtleAccess]]}|Turtleよりアップグレードへ渡されるインターフェイス。アップグレードから呼び出し可能なメソッドを提供する。| |&b(){[[ITurtleCommandHandler>Modding/ComputerCraftAPI/ITurtleCommandHandler]]}|カスタムタートルコマンドを実行するためのインターフェイス。ITurtleAccess.issueCommandメソッドと共に用いる。| |&b(){[[ITurtleUpgrade>Modding/ComputerCraftAPI/ITurtleUpgrade]]}|Turtleのためのアップグレードを定義するため基礎インターフェイス。| |>|BGCOLOR(#DDD):&b(){ Class}| |&b(){[[TurtleAPI>Modding/ComputerCraftAPI/TurtleAPI]]}|ComputerCraftTurtleアップグレードAPIへの静的エントリーポイント。| |>|BGCOLOR(#DDD):&b(){ Enum}| |&b(){[[TurtleSide>Modding/ComputerCraftAPI/TurtleSide]]}|Turtleアップグレードが存在する、Turtleの方向を表す列挙。| |&b(){[[TurtleUpgradeType>Modding/ComputerCraftAPI/TurtleUpgradeType]]}|ITurtleUpgradeの実装でタートルに追加できるアップグレードのタイプを表す列挙。| |&b(){[[TurtleVerb>Modding/ComputerCraftAPI/TurtleVerb]]}|TurtleがToolタイプのアップグレードに、実行するように要求する可能性のあるアクションの列挙|

表示オプション

横に並べて表示:
変化行の前後のみ表示: